Bug 107537 - 4.14+ - Full screen OpenGL applications results in black screen
Summary: 4.14+ - Full screen OpenGL applications results in black screen
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-09 22:07 UTC by Erik Karlsson
Modified: 2018-08-16 19:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
DRM logging with drm.debug=30 (64.20 KB, text/plain)
2018-08-10 16:14 UTC, Erik Karlsson
no flags Details
Log of commit 144a799 with drm.debug=30 (64.17 KB, text/plain)
2018-08-16 17:20 UTC, Erik Karlsson
no flags Details
Log of commit 4a97a3d with drm.debug=30 (57.33 KB, text/plain)
2018-08-16 17:21 UTC, Erik Karlsson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)


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.