You are not logged in.

#1 2016-12-12 02:02:52

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

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

#2 2016-12-12 03:29:27

md1flynn
Member
Registered: 2016-12-05
Posts: 15

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

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

#3 2016-12-12 03:34:14

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

md1flynn wrote:

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

#4 2016-12-12 04:08:55

md1flynn
Member
Registered: 2016-12-05
Posts: 15

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

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

#5 2016-12-12 04:23:01

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

md1flynn wrote:

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

http://imgur.com/a/GKpHU

Offline

#6 2016-12-12 04:35:12

md1flynn
Member
Registered: 2016-12-05
Posts: 15

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

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

#7 2016-12-12 04:40:51

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

md1flynn wrote:

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

#8 2016-12-12 05:18:57

md1flynn
Member
Registered: 2016-12-05
Posts: 15

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

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

#9 2016-12-12 05:36:14

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: Dell insiron 15 gaming. Setting up nvidia optimux. x error no screens

md1flynn wrote:

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

Board footer

Powered by FluxBB