Bug 109187

Summary: [NVC1][optimus] nouveau black display, only mouse cursor visible when using intel driver for integrated GPU
Product: xorg Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: stanley.king
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.log with intel+nouveau drivers
none
Xorg.log with modesetting driver
none
Xorg.log with intel+modesetting drivers none

Description Dominik 'Rathann' Mierzejewski 2018-12-31 00:03:29 UTC
Created attachment 142919 [details]
Xorg.log with intel+nouveau drivers

I'm getting black output on HDMI-connected display driven by nVidia GeForce GT 525M (GF108M). Mouse cursor is visible on both built-in display and on the external HDMI-connected display. This used to work on Fedora 27. I can see this on Fedora 29, but I can't pinpoint which package update broke it because I haven't checked the external display (a projector) for quite some time. This machine is a Dell XPS 15 L502X with Intel HD3000 integrated graphics and nVidia GeForce GT 525M discrete GPU in Optimus configuration. Here's my xorg.conf snippet:

Section "Monitor"
        Identifier "Internal LCD"
        DisplaySize 345 195
EndSection

Section "Monitor"
        VendorName "Benq"
        ModelName  "W1100"
        Identifier "Projector"
        DisplaySize 16900 9400
EndSection

Section "Device"
        Identifier "Internal Graphics"
        Driver     "intel"
        Option     "Monitor-LVDS1" "Internal LCD"
        Option     "TearFree" "on"
EndSection

Section "Device"
        Identifier "Optimus Graphics"
        Driver     "nouveau"
        Option     "Monitor-HDMI-1-2" "Projector"
EndSection

Switching both drivers to "modesetting" makes the issue go away. I'm attaching Xorg logs for both configurations.
Comment 1 Dominik 'Rathann' Mierzejewski 2018-12-31 00:04:23 UTC
Created attachment 142920 [details]
Xorg.log with modesetting driver
Comment 2 Ilia Mirkin 2018-12-31 00:13:09 UTC
Do you still get the problem if you use intel as the main driver and modesetting as the "GPU" driver?
Comment 3 Dominik 'Rathann' Mierzejewski 2018-12-31 18:24:51 UTC
Created attachment 142925 [details]
Xorg.log with intel+modesetting drivers

Yes, the same thing happens with intel driver for the integrated GPU and modesetting for the nVidia GPU. Xorg.0.log attached.
Comment 4 Martin Peres 2019-12-04 09:47:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/473.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.