You are not logged in.
I followed the Arch wiki documentation on Nvidia Optimus
Here is the config I am using
xorg.conf
http://hastebin.com/idukusucav.sql
Upon starting x manually I get the following error
No screens found.
I tried the alternate option and that left with a system that would hang on boot.
When trying to do this with a display manager (gdm and lightdm) after login it goes to a black screen.
Offline
What is the output of "lspci | grep 3D " ?
Have you tried starting the X server without a xorg.conf?
Are you saying that when using gdm or sddm that X starts and you get a login screen?
Offline
What is the output of "lspci | grep 3D " ?
Have you tried starting the X server without a xorg.conf?Are you saying that when using gdm or sddm that X starts and you get a login screen?
I blacklisted the Intel gpu as a suggestion someone made. I can undo this if needed.
Output of lspci | grep 3D
02:00.0 3D controller: NVIDIA
Yes I have tried staring xserver without a config file.
Yes that is correct. But after the login screen it goes to a black screen. Tested with both lightdm and gdm.
Last edited by Burning Smile (2016-12-12 03:37:13)
Offline
OK,
perhaps something is not working with the xrandr command:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
try redirecting the output and reading the file to see if there is any useful info,
xrandr --setprovideroutputsource modesetting NVIDIA-0 > ~/log1.txt 2>&1
xrandr --auto > ~/log2.txt 2>&1
are there any errors in /var/log/xorg.0.log ?
Offline
OK,
perhaps something is not working with the xrandr command:
xrandr --setprovideroutputsource modesetting NVIDIA-0 xrandr --auto
try redirecting the output and reading the file to see if there is any useful info,
xrandr --setprovideroutputsource modesetting NVIDIA-0 > ~/log1.txt 2>&1 xrandr --auto > ~/log2.txt 2>&1
are there any errors in /var/log/xorg.0.log ?
output of xrandr --setprovideroutputsource modesetting NVIDIA-0
Can't open display
screenshots of the log from nano
Offline
Sorry, just to clarify, are those the commands in ~/.xinitrc as per https://wiki.archlinux.org/index.php/NVIDIA_Optimus ?
Please try logging on under sddm or gdm then see the results in the logs.
Other than that I would suggest un-blacklisting the intel card and using bumblebee (https://wiki.archlinux.org/index.php/Bumblebee) or nvidia-xrun (https://aur.archlinux.org/packages/nvidia-xrun/)
Offline
Sorry, just to clarify, are those the commands in ~/.xinitrc as per https://wiki.archlinux.org/index.php/NVIDIA_Optimus ?
Please try logging on under sddm or gdm then see the results in the logs.
Other than that I would suggest un-blacklisting the intel card and using bumblebee (https://wiki.archlinux.org/index.php/Bumblebee) or nvidia-xrun (https://aur.archlinux.org/packages/nvidia-xrun/)
We removed the blacklisting from the blacklist.conf file and restarted, but now it doesn't show up when we run lspci | grep -E "VGA|3D"
Yes thous commands are in the .xintric file as per the wiki.
When we tried to re enable gdm the system would not boot and stalls after setting hostname. Starting it manually results in a - in the top left that never changes.
Last edited by Burning Smile (2016-12-12 04:42:07)
Offline
Try using sddm and adding the xrandr command to the Xsetup script as per:
https://bbs.archlinux.org/viewtopic.php … 1#p1650601
Other than that I'm out of ideas. Hybrid graphics are a nightmare.
Offline
Try using sddm and adding the xrandr command to the Xsetup script as per:
https://bbs.archlinux.org/viewtopic.php … 1#p1650601
Other than that I'm out of ideas. Hybrid graphics are a nightmare.
Just tried that, system now hangs after setting hostname. and yup hybrid graphics are horrible to work with.
Offline