You are not logged in.

#1 2015-09-23 11:44:21

Dowefu
Member
Registered: 2014-03-25
Posts: 68

Optimus. GDM Black Screen

I have a new laptop with two GPUs.

I successfully installed a base Arch Linux on it. After that I installed GNOME, the proprietary NVIDIA driver, made an Xorg configuration following instructions in this guide.

I've managed to run GNOME using the startx utility. The DE starts and works without any issues. However, when trying to run GDM with systemctl start gdm the laptop's screen turns off and stays in that state until I reboot the laptop or go to another virtual terminal.

What measures should I take in order to run the display manager?

Here's some information:

lspci | grep -e VGA -e 3D

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphic Controller (rev 0b)
08:00.0 3D controller: NVIDIA Corporation GK208M [GeForce 920M] (rev a1)
# /etc/X11/xorg.conf.d/20-optimus.conf

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:8:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
    Option "AllowEmptyInitialConfiguration" "Yes"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0:2:0"
    Option "AccelMethod"  "none"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection
# ~/.xinitrc

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
# /etc/gdm/custom.conf

<...>

[daemon]
WaylandEnable=false
# I've also tried to comment it without success.

<...>
# /etc/gdm/Init/Default

<...>
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
# Adding or removing these lines doesn't affect anything.
<...>

The Xorg log file at /var/log/Xorg.0.log doesn't contain any errors.

Offline

Board footer

Powered by FluxBB