Bug 102956 - Monitor loses signal when quitting Sagara Family
Summary: Monitor loses signal when quitting Sagara Family
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-23 23:56 UTC by fayn
Modified: 2019-11-19 08:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description fayn 2017-09-23 23:56:23 UTC
Reproducable 100% of time. 

I quit Sagara Family from main menu and monitor loses signal instead of showing desktop. I can restore signal by lowering resolution with ARandR and then putting 1920x1080 back.

journalctl shows this:

com.deepin.daemon.Display[6672]: manager.go:575: [updateMonitor] Set mode '115' failed: Invalid output mode: 115

------------------

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380]
           Display Server: x11 (X.Org 1.19.3 ) driver: amdgpu Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           OpenGL: renderer: AMD Radeon R9 200 Series (AMD TONGA / DRM 3.15.0 / 4.12.13-1-ARCH, LLVM 5.0.0)
           version: 4.5 Mesa 17.2.1

wine-staging 2.17

------------------

Arch Linux stock kernel does above mentioned behaviour. Linux 4.12.0-1-amd-staging loses signal from second monitor instead of first one as soon as game is launched, and signal can be restored the same way.
Comment 1 Alex Deucher 2017-09-25 03:24:08 UTC
Please attach your xorg log, dmesg output, and `xrandr --verbose` output.  I'm not familiar with the game off hand, but it sounds like the game may not be randr 1.2+ aware.
Comment 2 fayn 2017-10-21 13:41:37 UTC
Using AMD Radeon R9 200 Series (AMD TONGA / DRM 3.20.0 / 4.12.0-1-amd-staging, LLVM 5.0.0), xorg 1.19.5

Sagara Family loses signal from Asus VE247 (2nd monitor DVI-D-1) on starting game in fullscreen. Relevant logs right after that happens:

dmesg

[  570.513949] [drm] Atomic commit: SET crtc id 0: [ffff8ef10757f000]
[  570.513953] [drm] dc_commit_state: 2 streams
[  570.513955] [drm] core_stream 0x8185400: src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080, colorSpace:1
[  570.513957] [drm] 	pix_clk_khz: 148500, h_total: 2200, v_total: 1125, pixelencoder:1, displaycolorDepth:2
[  570.513958] [drm] 	sink name: VE247, serial: 16843009
[  570.513958] [drm] 	link: 3
[  570.513959] [drm] core_stream 0xba428c00: src: 0, 0, 1920, 1080; dst: 0, 0, 1920, 1080, colorSpace:1
[  570.513960] [drm] 	pix_clk_khz: 148500, h_total: 2200, v_total: 1125, pixelencoder:1, displaycolorDepth:2
[  570.513961] [drm] 	sink name: DELL U2414H, serial: 861489740
[  570.513961] [drm] 	link: 2
[  570.558553] [drm] dce_get_required_clocks_state: clocks unsupported
[  570.582990] [drm] GSL: Setting-up...
[  570.582998] [drm] GSL: enabling trigger-reset
[  570.583003] [drm] GSL: waiting for reset to occur.
[  570.584750] [drm] GSL: reset occurred at wait count: 1
[  570.584750] [drm] GSL: disabling trigger-reset.
[  570.584753] [drm] GSL: Restoring register states.
[  570.584758] [drm] GSL: Set-up complete.
[  570.584783] [drm] [Mode]	[DDVI][ConnIdx:3] {1920x1080, 2200x1125@148500Khz}^
[  570.584808] [drm] [Mode]	[DDVI][ConnIdx:2] {1920x1080, 2200x1125@148500Khz}^


xrandr --current 

Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  50.00    59.94  
   1600x1200     60.00  
   1680x1050     60.00  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DVI-D-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00*+
   1600x1200     60.00  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1280x800      60.00  
   1152x864      75.00  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08
Comment 3 Martin Peres 2019-11-19 08:24:14 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/drm/amd/issues/241.


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.