GPU driver conflict
I have two GPUs installed in my system:
- AMD RX 480
- NVIDIA GeForce 8400
The proprietary nvidia driver overwrites some libraries in /usr/lib64 and /usr/lib64/xorg but I managed to work around it by specifying a different lib directory (/usr/lib64/nvidia) to the nvidia installer. If I run the X Server by:
sudo LD_LIBRARY_PATH=/usr/lib64/nvidia startx
everything works fine. But if I run it without root privileges like:
LD_LIBRARY_PATH=/usr/lib64/nvidia startx
the libraries in /usr/lib64/nvidia are not found and the X Server fails to start. It seems like LDLIBRARYPATH does not work without root?
what are the permissions for
/usr/lib64/nvidia
?drwxr-xr-x. 5 root root 4096 22. Feb 13:00 nvidia
Permissions are ok. why are you saying nvidia libraries aren't found? Did you see any error message? Can you startx as regular user with AMD card? Do you have another X session running? Post content of
~/.xsession-errors
. Can you just start Xorg, not startx? Does setting DISPLAY=:2 work?I can see it in
/var/log/Xorg.0.log
:AMD works fine as regular user:
Starting with
xinit
leads to the same results.~/.xsession-errors
does not exist on my system.Have you noticed this error?
The driver and other modules have been loaded, so the issue seems to be with libnvidia-tls.so.340.106.