You are not logged in.
xwayland apps only use nvidia dgpu, and when i power the dgpu down, they just don't startup. Also
glxinfo | grep "OpenGL renderer"
outputs
OpenGL renderer string: NVIDIA GeForce GTX 1050 with Max-Q Design/PCIe/SSE2
I tried everything I could find but nothing worked
Last edited by AndreyDeimos (2024-09-05 12:42:04)
Offline
I probably won't be able to help here (I'm allergic to NVIDIA) but you should probably tell us which desktop you're using and also share some logs for the startup failures. Thanks.
Welcome to the forums!
"Austerity is the idea that the global financial crash of 2008 was caused by there being too many libraries in Wolverhampton."
— Alexei Sayle
Offline
Did you ever generate a xorg config with nvidia-xconfig or so? you might want to get rid of that.
Could also be GL loading order, what does your
printenv
give you? Make sure you're not setting __GLX_VENDOR_LIBRARY_NAME=nvidia or similar.
Offline
Did you ever generate a xorg config with nvidia-xconfig or so? you might want to get rid of that.
Could also be GL loading order, what does your
printenv
give you? Make sure you're not setting __GLX_VENDOR_LIBRARY_NAME=nvidia or similar.
In fact I am setting __GLX_VENDOR_LIBRARY_NAME=nvidia
deimos@pekarnya:~$ printenv | grep __GLX
__GLX_VENDOR_LIBRARY_NAME=nvidia
However I don't know where I am setting it
Setting __GLX_VENDOR_LIBRARY_NAME=intel as environment variable for apps actually runs them on igpu. Do i just set this as an enviroment variable at startup or I need to find where i set __GLX_VENDOR_LIBRARY_NAME=nvidia?
Offline
You should find out where you set it and not set it and only set it when you mean to, which happens on-demand via the prime-run command from nvidia-prime.
grep -R GLX /etc/environment /etc/profile /etc/profile.d ~/.bash* ~/.config
... for example, if you're already setting that you might also set VK_DRIVERS or similar, you'll want to rid yourself of these as well.
Last edited by V1del (2024-09-05 12:09:49)
Offline
You should find out where you set it and not set it and only set it when you mean to, which happens on-demand via the prime-run command from nvidia-prime.
grep -R GLX /etc/environment /etc/profile /etc/profile.d ~/.bash* ~/.config
... for example, if you're already setting that you might also set VK_DRIVERS or similar, you'll want to rid yourself of these as well.
Thanks, it was in /etc/profile for some reason
Offline