Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#72626 - [nvidia] OpenGL based rendering is prefering CPU/Applications not utilizing hardware.
Attached to Project:
Arch Linux
Opened by Chad (LogoiLab) - Wednesday, 03 November 2021, 21:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 November 2021, 06:22 GMT
Opened by Chad (LogoiLab) - Wednesday, 03 November 2021, 21:32 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 November 2021, 06:22 GMT
|
DetailsDescription:
OpenGL based applications/games refuse to use hardware acceleration, instead prefer CPU rendering. Bug is not present on Vulkan based applications/games. Additional info: * package version: nvidia-495.44-3 * No log entries are generated Steps to reproduce: 1. Install GTX 960 2. Install package and requirements. 3. Reboot 4. Launch any OpenGL based application. 5. Note poor performance and CPU usage. 6. Not lack of GPU utilization. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 16 November 2021, 06:22 GMT
Reason for closing: Upstream
Additional comments about closing: I think this might be an upstream driver problem as there's nothing here to indicate a packaging problem and it Vulkan works just fine for me so I can neither reproduce nor look at any external resources to hint at the packaging problem. I suggest contacting NVIDIA about this.
Tuesday, 16 November 2021, 06:22 GMT
Reason for closing: Upstream
Additional comments about closing: I think this might be an upstream driver problem as there's nothing here to indicate a packaging problem and it Vulkan works just fine for me so I can neither reproduce nor look at any external resources to hint at the packaging problem. I suggest contacting NVIDIA about this.
GLFW error 65543: GLX: Failed to create context: GLXBadFBConfig.
In my case even DXVK (Vulkan) seems to be affected.
NVIDIA RTX 2060 card.
Give that a try for now I assume someone just did a dumb and it will be good in a day or two.
I attach a log from journalctl -p err showing the kwin crash at startup, in case is useful.
I have now downgraded to these packages:
nvidia-470.74-7-x86_64.pkg.tar.zst
nvidia-dkms-470.74-1-x86_64.pkg.tar.zst
lib32-nvidia-utils-470.74-1-x86_64.pkg.tar.zst
libxnvctrl-470.74-1-x86_64.pkg.tar.zst
nvidia-settings-470.74-1-x86_64.pkg.tar.zst
nvidia-utils-470.74-1-x86_64.pkg.tar.zst
These are all and only packages that I have downgraded. After a reboot game runs smoothly with no further action needed. So I can now confirm it is really some kind of problem with the nvidia packages. Maybe not a packaging issue, but an upstream bug?
I have prime laptop configuration, if that's relevant.
It's not as you can clearly see from the commit messages: https://github.com/archlinux/svntogit-packages/commits/packages/nvidia/trunk
Those were all kernel module rebuilds for each respective kernel. 495.44-4 is for kernel 5.15, both being in testing. It's definitely worth a shot, though.
Edit: did the usual delete and reboot. .drirc seems to not have any affect. What did work was nuking my configs and putting the old ones back though.
Wine applications using prime-run (from package nvidia-prime) also not working.
Downgrading to nvidia 470.74 solves problem.
I also installed optimus-manager-qt from AUR and set it to "Hybrid mode". To my understanding that should have been the default even before installing optimus-manager, so I don't know if this was relevant.
After doing this, the game now runs fine! I don't know if it is because of optimus-manager or because of all the updates.