IDA-RE-things Posted June 11, 2024 Posted June 11, 2024 (edited) if you are using a browser with D3D9 mode enabled (--use-angle=D3D9), then it can't be reproduced with original progwrp.dll, Because the latest available official progwrp dont have soupport for this. So you are using browser in 2 different rendering modes. And it will be appeared (may be) also when official progwrp.dll will support this. (If it will not be fixed in other parts of browser code -- video decoding and so on). I think it not depends on progwrp and my alternative for it. Because I just provide the possibility to use it on XP. For other code of browser. Try to reporduce it without D3D9 HW acceleration enabled. (without that switches) Edited June 11, 2024 by IDA-RE-things
Dixel Posted June 11, 2024 Posted June 11, 2024 I can be mistaken, but I think MPC-HC is open source, why not use its resources? MPC-HC accelerates videos on my system without troubles. 2
IDA-RE-things Posted June 11, 2024 Posted June 11, 2024 (edited) We have no any Video decode acceleration handling in progwrp.dll. It just provides D3DCompiler for shaders, allowing D3D Rendering accelaration to work on XP. The DXVA was removed from browser code. (MPC-HC uses DXVA). And will be restored later (I hope). And not by me. :). But by main browser developer. Chrome was had implemented only DXVA 2.0, avilable for Vista+. XP Has only DXVA 1.0 And MPC-HC uses it. Its not so simple to attach it. But possible of course. Requeres time, more work/rework/refactoring, knowledge and experience in that area. Edited June 11, 2024 by IDA-RE-things
66cats Posted June 11, 2024 Posted June 11, 2024 (edited) 32 minutes ago, Dixel said: rename AV1 to .mp4 AV1 is a codec, mp4 is a container (you can stick anything in an mp4). When i download AV1 video, it's saved in mp4 container by default (as videoname.mp4). Dragging it into the browser does the expected -- the video freezes after a few seconds. Edited June 11, 2024 by 66cats 1
66cats Posted June 11, 2024 Posted June 11, 2024 10 minutes ago, IDA-RE-things said: We have no any Video decode acceleration handling in progwrp.dll Not sure if i understand you correctly, are you saying it's difficult/impossible to make progwrp.dll disable HW acceleration in special cases, e.g. "if AV1, decode in software"? (not a coder, sorry if the question makes no sense)
Dixel Posted June 11, 2024 Posted June 11, 2024 3 hours ago, 66cats said: Not sure if i understand you correctly, are you saying it's difficult/impossible to make progwrp.dll disable HW acceleration in special cases, e.g. "if AV1, decode in software"? (not a coder, sorry if the question makes no sense) This is a fully legit question, I already wrote before, when it's impossible to make a hardware decode, it need s to fallback to software-only automatically. It doesn't happen with AV1, so it's a pure bug. 3
66cats Posted June 11, 2024 Posted June 11, 2024 7 minutes ago, Dixel said: It doesn't happen with AV1, so it's a pure bug. I meant progwrp.dll might be like a Hardware-accelerated video decode flag -- all or nothing, without granular access, making it impossible to disable HW acceleration in special cases. Again, above my pay grade.
66cats Posted June 11, 2024 Posted June 11, 2024 (edited) 1 hour ago, IDA-RE-things said: Try to reporduce it without D3D9 HW acceleration enabled. (without that switches) Same thing happens with your progwrp.dll, without the switches (in software mode. Original win32 (version 1.1.somethingorother) works. Will rename/verify & update this post in a couple of minutes. Edit: original version (1.1.0.5012) works. P.S. sorry if this makes no sense (without the switches, GTX770 should be out of the equation), but that's what I'm getting. Double-checked several times. P.P.S: Passes MotionMark, about 50% faster with HW acceleration enabled. Is D3DCompiler_XP.dll used when running without the switches? Does it play a part in SW decoding? Edited June 11, 2024 by 66cats
IDA-RE-things Posted June 11, 2024 Posted June 11, 2024 @66котов, can you give me a youtube link where the problem occurs ? as example. And another question -- does it happens also with Supermium with my DLL on your machine with XP ?
IDA-RE-things Posted June 11, 2024 Posted June 11, 2024 41 minutes ago, 66cats said: P.P.S: Passes MotionMark, about 50% faster with HW acceleration enabled. Is D3DCompiler_XP.dll used when running without the switches? Does it play a part in SW decoding? No, D3DCompiler not used, when --use-angle=d3d9 not used. (Except out have anabled it contantly in chrome://flags)
66cats Posted June 11, 2024 Posted June 11, 2024 3 minutes ago, IDA-RE-things said: does it happens also with Supermium with my DLL Also happens with Supermium on this box (980x/gtx770), just checked.
IDA-RE-things Posted June 11, 2024 Posted June 11, 2024 (edited) @66cats I have used GTX 670 to test on my side. Have installed latest Thorium_SSE2_122.0.6261.171_WINXP_x32.zip Also installed "enhanced-h264ify" extention. to enable/disable several formats. Runned browser without any switches. And with my progwrp.dll replacement build 5061 installed. With AV1 only enabled with this extention, browser dont allow video from youtube at all. :) So you should specify how to reproduce it. Take me a link to the broblematic video. UPD: ok, have found AV1-enabled video, which is played. No problems. No 100% CPU spikes... Used only software decoding/rendering. UPD2: also have checked this video in HW Accelerated Rendering enabled (D3D9) the codecs used (from "stats for nerds"): av01 (397) / opus (251) Also have no any problems and no CPU load. Edited June 11, 2024 by IDA-RE-things
66cats Posted June 11, 2024 Posted June 11, 2024 (edited) 1 hour ago, IDA-RE-things said: I have used GTX 670 to test on my side. I've mentioned before that this only happens on this box (980x/gtx770), no AV1 issues on 4770k/gtx980ti (different box). 1 hour ago, IDA-RE-things said: So you should specify how to reproduce it. Get an x58 mobo with a 980x and gtx770. Kidding, but what else can i say? The issue is specific to this HW combination, and is consistently replicable on this machine, 1 hour ago, IDA-RE-things said: No 100% CPU spikes A different issue (nothing to do with AV1 decoding). Hasn't happened since i posted that screenshot, couldn't reproduce it myself. Feel free to disregard. Edit [long & OT] re. why you had trouble finding AV1 on YT: Wanted to post a screen recording of me opening an AV1 video in YT & it freezing. Recorded, wanted a better take, started recording again & ...it doesn't freeze! Refreshed the page, plays normal. Click on "stats for nerds" & sure enough, been transcoded to VP9. Tried searching YT for "av1 sample video," plenty of hits, each one played without a hitch because ...yeah, all have been transcoded to VP9. Everything on YT becomes VP9, eventually. Elsewhere in the intertubes, found https://test-videos.co.uk/vids/sintel/mp4/av1/1080/Sintel_1080_10s_1MB.mp4. And, of course, it freezes. Edited June 11, 2024 by 66cats
Dixel Posted June 11, 2024 Posted June 11, 2024 3 hours ago, 66cats said: Edit [long & OT] re. why you had trouble finding AV1 on YT Because he wrote you, he has an extension "enhanced-h264ify" that prevents AV1 from loading and replaces it with H264. https://msfn.org/board/topic/186133-thorium/?do=findComment&comment=1267642 3
66cats Posted June 11, 2024 Posted June 11, 2024 1 hour ago, IDA-RE-things said: With AV1 only enabled with this extention, browser dont allow video from youtube at all. :) 3 minutes ago, Dixel said: prevents AV1 from loading I think he meant the opposite, he only enabled AV1 (and the browser showed nothing, there being nothing to show). That's how i read it.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now