346.35 / Valid display device(s) none / 860M

HP Omen 15t
Intel i7-4710HQ Haswell
16 GB of 1600 DDR3
Nvidia 860M 4GB GDDR5
512GB PCIe SSD

nvidia-bug-report.log.gz

I think the issue I am having is that there aren’t any detected display devices, but according to the nvidia readme notes the Option “UseDisplayDevice” “none” should help; however, I still get a blank screen (backlight does work)

xorg.conf

Section "ServerLayout"
    Identifier     "layout"
    Screen          0 "nvidia"
    Inactive        "intel"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Device"
    Identifier     "intel"
    Driver         "intel"
    BusID          "PCI:00:02:0"
EndSection

Section "Screen"
    Identifier     "intel"
    Device         "intel"
EndSection

Section "Device"
    Option         "UseDisplayDevice" "none"
    Identifier     "nvidia"
    Driver         "nvidia"
    BusID          "PCI:01:00:0"
EndSection

Section "Screen"
    Identifier     "nvidia"
    Device         "nvidia"
    Option         "AllowEmptyInitialConfiguration"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Looking through my logs, I see the following:

[    7.290763] nvidia 0000:01:00.0: irq 38 for MSI/MSI-X
[    7.293776] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293811] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293829] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293856] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293873] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293889] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293922] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    7.293939] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    8.087476] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140926/nsarguments-95)
[    8.556924] vgaarb: this pci device is not a vga device

Could this be causing some issue?

Since this is an Optimus configuration, it’s up to the other driver to handle lighting up the displays. Does the “modesetting” driver work by itself if you don’t run it in a “PRIME” configuration with the NVIDIA driver? The Intel kernel driver seems to have trouble with the backlight on some laptops. You could try using the “intel” X driver rather than the “modesetting” driver, though you may run into a bug that prevents that from working with PRIME.

Finally, are you running a desktop environment that’s configured to make the appropriate RandR calls to turn on the screen? The X server doesn’t do it automatically for PRIME displays.

@aplattner, thanks for responding!

  • The laptop BIOS does not allow me to turn off either device

  • If I switch to the intel driver I get the following:

Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (EE) intel(G0): [drm] failed to set drm interface version: Permission denied [13].
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) intel(G0): [drm] Contents of '/sys/kernel/debug/dri/0/clients':
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) intel(G0): [drm]              command   pid dev master a   uid      magic
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) intel(G0): [drm]            plymouthd   350   0   n    y     0          0
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) intel(G0): [drm]             Xorg.bin  1323   0   y    y     0          0
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) intel(G0): [drm]             Xorg.bin  1323   0   n    y     0          0
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (EE) intel(G0): Failed to claim DRM device.
Jan 30 16:16:15 hpomen gdm-Xorg-:0[1323]: (II) UnloadModule: "intel"
  • The backlight works…

  • Yes, I am making the calls in /etc/gdm/Init/:0

#!/bin/sh
# Get the xrandr providers
output="$(xrandr --listproviders)"

src=$(echo -e "$output" | grep " Source" | head -n1 | awk '{print $NF}' | cut -d: -f 2)
sink=$(echo -e "$output" | grep " Sink" | head -n1 | awk '{print $NF}' | cut -d: -f 2)

# Pass provider sink and source
xrandr --setprovideroutputsource "$sink" "$src"

edp=$(xrandr | grep -i "edp" | head -n1 | cut -d " " -f 1)

xrandr --output "$edp" --off
xrandr --output "$edp" --auto
#xrandr --auto

DISPLAY=:0.0 sudo xrandr --listproviders

Provider 0: id: 0x1f6 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-0
Provider 1: id: 0x47 cap: 0x2, Sink Output crtcs: 3 outputs: 5 associated providers: 0 name:modesetting

DISPLAY=:0.0 sudo xrandr

Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
eDP-1-0 connected (normal left inverted right x axis y axis)
   1920x1080 60.00 + 40.00
   1400x1050 59.98
   1280x1024 60.02
   1280x960 60.00
   1024x768 60.04 60.00
   960x720 60.00
   928x696 60.05
   896x672 60.01
   800x600 60.00 60.32 56.25
   700x525 59.98
   640x512 60.02
   640x480 60.00 59.94
   512x384 60.00
   400x300 60.32 56.34
   320x240 60.05
VGA-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)

@aplattner: I didn’t see this before, but the nvidia bug report log shows the xorg server is crashing:

Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) Backtrace:
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 0: /usr/libexec/Xorg.bin (OsLookupColor+0x119) [0x59c5f9]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 1: /lib64/libc.so.6 (__restore_rt+0x0) [0x7fa42887794f]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 2: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (nvidiaAddDrawableHandler+0x30e2e) [0x7fa42209f88e]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) unw_get_proc_name failed: no unwind info found [-10]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 3: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (?+0x30e2e) [0x7fa4220453ce]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 4: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (nvidiaAddDrawableHandler+0x9d4a) [0x7fa42205162a]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 5: /usr/lib64/xorg/modules/drivers/nvidia_drv.so (nvidiaAddDrawableHandler+0x5098d6) [0x7fa422a50db6]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 6: /usr/libexec/Xorg.bin (RRCrtcDetachScanoutPixmap+0x6a) [0x4fb4fa]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 7: /usr/libexec/Xorg.bin (xf86PruneDuplicateModes+0x1a78) [0x4bced8]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 8: /usr/libexec/Xorg.bin (xf86PruneDuplicateModes+0x1b4f) [0x4bd04f]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 9: /usr/libexec/Xorg.bin (ProcRRGetOutputProperty+0x4f2) [0x502b32]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 10: /usr/libexec/Xorg.bin (RegisterResourceName+0x232) [0x45c2f2]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 11: /usr/libexec/Xorg.bin (FreeClientResources+0x6c) [0x45d1ec]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 12: /usr/libexec/Xorg.bin (FreeAllResources+0x47) [0x45d297]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 13: /usr/libexec/Xorg.bin (remove_fs_handlers+0x449) [0x43d339]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 14: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7fa428862fe0]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 15: /usr/libexec/Xorg.bin (_start+0x29) [0x4276ee]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) 16: ? (?+0x29) [0x29]
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE)
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) Segmentation fault at address 0x30
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE)
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: Fatal server error:
Jan 30 08:59:31 hpomen gdm-Xorg-:0[1323]: (EE) Caught signal 11 (Segmentation fault). Server aborting

Any thoughts as to what is happening?

Hi, I am having the same problem, have you managed to solve this?