Bug 107537

Summary: 4.14+ - Full screen OpenGL applications results in black screen
Product: xorg Reporter: Erik Karlsson <pilo>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
DRM logging with drm.debug=30
none
Log of commit 144a799 with drm.debug=30
none
Log of commit 4a97a3d with drm.debug=30 none

Description Erik Karlsson 2018-08-09 22:07:17 UTC
When starting full screen OpenGL applications, only a black screen is shown. Windowed applications are fine.

My graphics adapter:
01:00.0 VGA compatible controller: NVIDIA Corporation G96GLM [Quadro FX 770M] (rev a1)

I've bisected the issue to this commit: 144a7999d6334be5237d5926ab19c56bc24d0204

Also of note: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905780
Comment 1 Erik Karlsson 2018-08-10 16:14:55 UTC
Created attachment 141039 [details]
DRM logging with drm.debug=30

The thing I find interesting is the line

[drm:drm_atomic_set_mode_for_crtc [drm]] Set [MODE:] for CRTC state 0000000082c49623

where the new mode name should probably be shown, but isn't.
Comment 2 Erik Karlsson 2018-08-16 17:20:09 UTC
Created attachment 141143 [details]
Log of commit 144a799 with drm.debug=30
Comment 3 Erik Karlsson 2018-08-16 17:21:32 UTC
Created attachment 141144 [details]
Log of commit 4a97a3d with drm.debug=30
Comment 4 Erik Karlsson 2018-08-16 19:05:31 UTC
I don't know what to look for, but these seem to differ:

From 4a97a3d log:
kernel: nouveau 0000:01:00.0: DRM: commit 0 0
kernel: nouveau 0000:01:00.0: DRM: head-0: clr 0000 (set 0000)
kernel: nouveau 0000:01:00.0: DRM: head-0: set 0000 (clr 0000)

From corresponding position in 144a799 log:
kernel: nouveau 0000:01:00.0: DRM: commit 1 0
kernel: nouveau 0000:01:00.0: DRM: head-0: clr 0001 (set 000d)
kernel: nouveau 0000:01:00.0: DRM: head-0: set 000d (clr 0001)
Comment 5 Martin Peres 2019-12-04 09:44:29 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/450.

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.