Closed solopasha closed 10 months ago
That looks like an EGL issue, it's using the Mesa EGL library, not the NVIDIA one.
Same problem here. Is this something we should be trying to fix or is it just in the driver and that's how it is?
Interesting, I've just upgraded to 545.29.02 and it's effecting my machine aswell. I'll take a look into it when I get a moment.
Thanks mate. I did notice that the nvidia compute libs I built against were libnvidia-egl-wayland 1.1.12 and they dropped 1.1.13 a couple weeks ago, so rebuilding against that lib now to see if it makes any difference.
Edit: No change there :(
Hmm, this might not be good. I found an obvious difference between the versions that was tripping us up, but after fixing that it just errors with a different message:
eglCreateImageKHR: EGL_BAD_MATCH error: In eglCreateImageKHR: could not bind to DMA buffer
I don't see any other changes that should effect us. I'll take a closer look when I get more time.
No rush, we appreciate your work.
Just wanted to report that I am also facing the same issue (X11 with the Direct Rendering Backend). I am very much willing to provide logs and additional information/testing to help out.
As mentioned by @pallaswept above, absolutely no rush! we appreciate everything that you do @elFarto and we just want to do our best to support.
Ok, it should be fixed in master now. Haven't had a chance to try it on an older driver version yet, but it should still be good.
I've already rolled back to the old drivers and built this from master, so I'll test it out with the old drivers first and then upgrade and confirm the fix, and get back to you shortly with confirmation.
Edi: Confirmed working with old drivers (note the C+G in the bottom line):
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03 Driver Version: 535.129.03 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3090 Off | 00000000:07:00.0 On | N/A |
| 34% 43C P2 114W / 350W | 1625MiB / 24576MiB | 3% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 6094 G /usr/bin/Xorg.bin 32MiB |
| 0 N/A N/A 6223 G /usr/bin/kwin_wayland 286MiB |
| 0 N/A N/A 6287 G /usr/bin/Xwayland 6MiB |
| 0 N/A N/A 6331 G /usr/bin/ksmserver 4MiB |
| 0 N/A N/A 6334 G /usr/bin/kded5 4MiB |
| 0 N/A N/A 6349 G /usr/bin/plasmashell 150MiB |
| 0 N/A N/A 6464 G ...c/polkit-kde-authentication-agent-1 4MiB |
| 0 N/A N/A 6466 G /usr/libexec/xdg-desktop-portal-kde 4MiB |
| 0 N/A N/A 6692 G /usr/bin/copyq 4MiB |
| 0 N/A N/A 6700 G /usr/bin/yakuake 4MiB |
| 0 N/A N/A 6705 G /usr/bin/keepassxc 4MiB |
| 0 N/A N/A 6714 G /usr/bin/kaccess 4MiB |
| 0 N/A N/A 6802 G /usr/bin/copyq 4MiB |
| 0 N/A N/A 6881 G /usr/libexec/kdeconnectd 4MiB |
| 0 N/A N/A 6952 G /usr/libexec/kf5/kioslave5 4MiB |
| 0 N/A N/A 7033 G /usr/lib64/firefox/firefox 574MiB |
| 0 N/A N/A 7189 G /usr/lib/mozilla/kmozillahelper 4MiB |
| 0 N/A N/A 8984 G ...bin/plasma-browser-integration-host 4MiB |
| 0 N/A N/A 10042 C+G /usr/lib64/firefox/firefox 459MiB |
+---------------------------------------------------------------------------------------+
Edit: Confirmed working with new drivers:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.02 Driver Version: 545.29.02 CUDA Version: 12.3 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3090 Off | 00000000:07:00.0 On | N/A |
| 34% 48C P2 118W / 350W | 1629MiB / 24576MiB | 3% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 5992 G /usr/bin/Xorg.bin 32MiB |
| 0 N/A N/A 6121 G /usr/bin/kwin_wayland 298MiB |
| 0 N/A N/A 6180 G /usr/bin/Xwayland 6MiB |
| 0 N/A N/A 6189 G /usr/bin/ksmserver 4MiB |
| 0 N/A N/A 6191 G /usr/bin/kded5 4MiB |
| 0 N/A N/A 6207 G /usr/bin/plasmashell 150MiB |
| 0 N/A N/A 6265 G ...c/polkit-kde-authentication-agent-1 4MiB |
| 0 N/A N/A 6267 G /usr/libexec/xdg-desktop-portal-kde 4MiB |
| 0 N/A N/A 6445 G /usr/bin/copyq 4MiB |
| 0 N/A N/A 6454 G /usr/bin/yakuake 4MiB |
| 0 N/A N/A 6455 G /usr/bin/keepassxc 4MiB |
| 0 N/A N/A 6466 G /usr/bin/kaccess 4MiB |
| 0 N/A N/A 6576 G /usr/bin/copyq 4MiB |
| 0 N/A N/A 6664 G /usr/libexec/kdeconnectd 4MiB |
| 0 N/A N/A 6714 G /usr/libexec/kf5/kioslave5 4MiB |
| 0 N/A N/A 6814 G /usr/lib64/firefox/firefox 566MiB |
| 0 N/A N/A 6981 G /usr/lib/mozilla/kmozillahelper 4MiB |
| 0 N/A N/A 9076 G ...bin/plasma-browser-integration-host 4MiB |
| 0 N/A N/A 9738 C+G /usr/lib64/firefox/firefox 459MiB |
+---------------------------------------------------------------------------------------+
Thanks @elFarto love your work mate.
Can also confirm it works w latest git.
Confirming that it's working for me on the latest driver with the following related env
variables:
# LIBVA_DRIVER_NAME=vdpau
LIBVA_DRIVER_NAME=nvidia
# VDPAU_DRIVER=nvidia
MOZ_DISABLE_RDD_SANDBOX=1
MOZ_X11_EGL=1
NVD_BACKEND=direct
ADW_DISABLE_PORTAL=1
(X11 with Direct Rendering Backend)
Thanks for all your work @elFarto . We sincerely appreciate what you do.
Ok, it should be fixed in master now. Haven't had a chance to try it on an older driver version yet, but it should still be good.
Works fine with RTX 3060Ti / Driver 545.29.02 Thank you!
Thanks! Perhaps it's a high time for release, so that AUR picks it up. Thank you once again
v0.0.11 has been released with this fix included. Thanks for all your testing!
vainfo:
firefox logs: