Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

widget.dmabuf.force-enabled = true no longer required. #305

Open
TsunamiMommy opened this issue Jun 12, 2024 · 6 comments
Open

widget.dmabuf.force-enabled = true no longer required. #305

TsunamiMommy opened this issue Jun 12, 2024 · 6 comments

Comments

@TsunamiMommy
Copy link

Hi there. I would like to report that in recent firefox versions and with the nvidia 550 and up drivers widget.dmabuf.force-enabled = true is no longer required for hardware video decoding and enabling it will cause lots of graphical corruption and glitching on 3D web applications. This is with all other required parameters enabled. I just thought that I would let you know. You can test this to comfirm that this is the case for your hardware. I currently have an RTX 4080 running Cinnamon on X11.

@Tiagoquix
Copy link

Hi, do you have any source from this apart from your experience? I haven't noticed any graphical corruption so far.

@TsunamiMommy
Copy link
Author

TsunamiMommy commented Jun 23, 2024

It is an issue exclusive to Nvidia and EGL with widget.dmabuff enabled. I couldn't track down an official reason as to why it happens but the corruption and glitching is mostly related to bad buffer updates with certain web apps and the firefox built in PDF reader. Essentially to trigger the bug I had Desmos, several PDF pages open, and youtube at the same time. It would take a bit of alt-tabbing but what would eventually happen was that the PDF pages were displayed in an incorrect order and even the pages themselves wouldn't be from the same PDF. Desmos would stop updating the graphical contents of the app (so moving graphs around was impossible as it wouldn't update the image to represent any transformations or movements on the graphs). I did extensive testing and it was widget.dmabuff.force=true that was causing the issue. It turns out that it wasn't required to enable hardware video decoding with vaapi on my system. So the obvious recommendation was to simply disable it. I'm not sure about wayland because my curreent setup can't use hardware acceleration due to firefox being incompatible with explicit sync atm. My current setup is Cinnamon (X11) on Mint 21.3, Nvidia 555.42.02, and 6.6.30-rt30-x64v3-xanmod1. Hopefully that answers your question.

@Tiagoquix
Copy link

Many thanks for the information. I agree; with your explanation it seems weird that this option is causing problems.

Let's wait for an answer from the repository mantainer. I would like to hear what he has to say about this too.

@elFarto
Copy link
Owner

elFarto commented Jun 23, 2024

Looks like it's still needed on my setup (550 driver), but there does seem to be some activity on the issue indicating that they might be reverting the block.

@ManuLinares
Copy link

ManuLinares commented Jul 3, 2024

I've disabled widget.dmabuff.force, seems to work fine. I've had some issues with pdfs on Firefox, didn't know could be related.

Archlinux
linux 6.9.7.arch1-1
libva-nvidia-driver-git 0.0.12.r11.gf3205bd-1
nvidia-dkms 555.58-2 (GeForce RTX 3070)

@elFarto
Copy link
Owner

elFarto commented Sep 9, 2024

It does seem that this flag is no longer required now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants