Bug 111098

Summary: xf16-video-nouveau 1.0.16-1 arch fails to resume from blank
Product: Mesa Reporter: Paulo J. Matos <paulo>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Nouveau Project <nouveau>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Paulo J. Matos 2019-07-10 06:04:05 UTC
I have a GM206 video (GTX950) card and moved from the official drivers to nouveau to try them out. It fails to resume from a blank screen. I am on a dual head setup. 

The card (from lspci -vv) is:
02:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. GM206 [GeForce GTX 950]
        Physical Slot: 4
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 32
        NUMA node: 0
        Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at f0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at e000 [size=128]
        Expansion ROM at fb000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
                Address: 00000000fee00338  Data: 0000
        Capabilities: [78] Express (v2) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 256 bytes, MaxReadReq 512 bytes
                DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM not supported
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s (downgraded), Width x16 (ok)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR-, OBFF Via message
                         AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                         AtomicOpsCtl: ReqEn-
                LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                         Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                         Compliance De-emphasis: -6dB
                LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete+, EqualizationPhase1+
                         EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest-
        Capabilities: [100 v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [258 v1] L1 PM Substates
                L1SubCap: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- L1_PM_Substates+
                L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-

                L1SubCtl2:
        Capabilities: [128 v1] Power Budgeting <?>
        Capabilities: [420 v2] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                AERCap: First Error Pointer: 00, ECRCGenCap- ECRCGenEn- ECRCChkCap- ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900 v1] Secondary PCI Express <?>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

The xorg config I have for dual head is at xorg.conf.d/20-nouveau.conf:
# the right one
Section "Monitor"
          Identifier   "LG1"
          # 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
          Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
          Option "PreferredMode" "3840x2160_60.00"
EndSection

# the left one
Section "Monitor"
          Identifier   "LG2"
          # 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
          Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync
          Option "PreferredMode" "3840x2160_60.00"
          Option "RightOf" "LG1"
          Option "Rotate" "right"
EndSection

Section "Device"
    Identifier "nvidia card"
    Driver "nouveau"
    Option  "DP-2" "LG1"
    Option  "DP-3" "LG2"
EndSection

Section "Screen"
    Identifier "screen1"
    Monitor "LG1"
    DefaultDepth 24
      SubSection "Display"
       Depth      24
       Virtual 2560 2048
      EndSubSection
    Device "nvidia card"
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

This config is not necessarily correct (virtual is not properly setup) but it should cause any crashes. 

journalctl -xb | grep nouveau:
Jul 09 18:20:29 andromeda kernel: fb0: switching to nouveaufb from EFI VGA
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: NVIDIA GM206 (126020a1)
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: bios: version 84.06.2f.00.7e
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: fb: 2048 MiB GDDR5
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO write of 80000028 FAULT at 10eb14 [ IBUS ]
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: VRAM: 2048 MiB
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: GART: 1048576 MiB
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: TMDS table version 2.0
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB version 4.1
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 00: 01000f02 00020030
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 01: 02000f00 00000000
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 02: 02811f76 04400020
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 03: 02011f72 00020020
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 04: 04822f86 04400010
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 05: 04022f82 00020010
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 06: 04833f96 04400020
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 07: 04033f92 00020020
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 08: 02044f62 00020010
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB outp 15: 01df5ff8 00000000
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 00: 00001030
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 01: 00020146
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 02: 01000246
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 03: 02000346
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 04: 00010461
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: DCB conn 05: 00000570
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: MM: using COPY for buffer copies
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: failed to create encoder 1/8/0: -19
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: Virtual-1 has no encoders, removing
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: DRM: allocated 3840x2160 fb: 0xa0000, bo 00000000169f715a
Jul 09 18:20:29 andromeda kernel: fbcon: nouveaufb (fb0) is primary device
Jul 09 18:20:29 andromeda kernel: nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
Jul 09 18:20:29 andromeda kernel: [drm] Initialized nouveau 1.3.1 20120801 for 0000:02:00.0 on minor 0
Jul 09 18:50:27 andromeda kernel: nouveau 0000:02:00.0: DRM: core notifier timeout
Jul 09 18:50:29 andromeda kernel: nouveau 0000:02:00.0: DRM: base-0: timeout
Jul 09 18:50:29 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616e18 [ IBUS ]
Jul 09 18:50:31 andromeda kernel: nouveau 0000:02:00.0: DRM: core notifier timeout
Jul 09 18:50:33 andromeda kernel: nouveau 0000:02:00.0: DRM: base-1: timeout
Jul 09 18:50:33 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 18:50:33 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 18:50:33 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 18:50:33 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616e18 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 690500 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616618 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 6900c0 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616e18 [ IBUS ]
Jul 09 18:50:42 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616618 [ IBUS ]
Jul 09 18:50:44 andromeda kernel: nouveau 0000:02:00.0: DRM: core notifier timeout
Jul 09 18:50:46 andromeda kernel: nouveau 0000:02:00.0: DRM: base-0: timeout
Jul 09 18:50:48 andromeda kernel: nouveau 0000:02:00.0: DRM: base-1: timeout
Jul 09 18:50:48 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 18:50:48 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61a804 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616e18 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 690500 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 690400 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61cdbc [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616618 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 690100 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 690000 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 61c5bc [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616618 [ IBUS ]
Jul 09 20:43:07 andromeda kernel: nouveau 0000:02:00.0: bus: MMIO read of 00000000 FAULT at 616618 [ IBUS ]
Jul 09 20:43:09 andromeda kernel: nouveau 0000:02:00.0: DRM: core notifier timeout
Jul 09 20:43:11 andromeda kernel: nouveau 0000:02:00.0: DRM: base-0: timeout
Comment 1 GitLab Migration User 2019-09-18 20:48:59 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/mesa/mesa/issues/1185.

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.