You are not logged in.
Hi, i have a problem when trying to run Xorg with nvidia driver.
I am using laptop which has integrated intel graphic with nvidia gt 520m discrete card. I dont have option to disable optimus in bios. I was successful to use nvidia card with bumblebee in other linux installation, but now i want to use only nvidia card, dont care about power managment, i just want to use nvidia without intel graphic card.
I am starting Xorg manually by "startx" command with /home/matus/.xinitrc file. The result of "startx" is frozen tty. When i switch to another tty and back to tty where i started Xorg, video is frozen on the last screen.
When i try to kill Xorg from another tty, i get message about succesfully terminated Xorg server. I dont see any EE(Error) in /var/log/Xorg.0.conf.
I think i am doing something wrong, so if anyone could help me how to properly start Xorg with using only nvidia card.
i am using default "xorg.conf" file + custom created "20-nvidia.conf" file
providing some logs and conf files:
/var/log/Xorg.0.conf
http://pastebin.com/yFTvCBUe
/etc/X11/xorg.conf.d/20-nvidia.conf
http://pastebin.com/QqMY1B4p
/home/matus/.xinitrc
http://pastebin.com/iVcCDeMB
when i look which processes are running i can see there all xterm and twm specified in /home/matus/.xinitrc, so i think it is running, but not displaying video output.
Thanks for help.
Last edited by matus123 (2016-09-24 15:03:46)
Offline
Hello matus123 welcome to the arch forums
NVIDIA_Optimus#Using_nvidia includes the following in its xorg.conf example
Section "Module"
Load "modesetting"
EndSectionWhich is missing from your 20-nvidia.conf
Offline
Hello, I tried adding those lines to configuration file, but without any success. Screen is black.
New errors appeared in Xorg.0.log.
[ 963.459] (II) glamor: OpenGL accelerated X.org driver based.
[ 963.477] (EE) modeset(G0): eglInitialize() failed
[ 963.477] (EE) modeset(G0): glamor initialization failedfull Xorg.0.log
http://pastebin.com/zEBLBP8h
Offline
Missed in your .xinitrc you have
xrandr --setprovideroutputsource NVIDIA-0instead of as suggested in the wiki
xrandr --setprovideroutputsource modesetting NVIDIA-0Offline
Oh my god... now it is working. I should read wiki pages more carefully. ?
Thank you a lot.
Offline