[Bug 105046] Screen resolution reset to 1368x768 when turning monitor off

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 11 23:54:00 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105046

--- Comment #14 from Michael Zapf <forums18 at mizapf.de> ---
Anything new? The problem is still there, although now it falls back to a
higher resolution (1920x1080), still causing a mess on my desktop.

I would like to emphasize that this issue does not appear with amdgpu.dc=0. I
tested it several times to make sure.

I tried it with an own EDID file; picked it from the xrandr, then saved it to a
file /lib/firmware/edid/mizapfmon.bin. Then I added a kernel parameter
"drm.edid_firmware=edid/mizapfmon.bin". (drm_kms_helper is deprecated)

During boot:
Aug 12 01:07:08 capella kernel: platform HDMI-A-2: Direct firmware load for
edid/mizapfmon.bin failed with error -2
Aug 12 01:07:08 capella kernel: [drm:drm_load_edid_firmware [drm]] *ERROR*
Requesting EDID firmware "edid/mizapfmon.bin" failed (err=-2)

I don't know whether something is missing, maybe I have to add the firmware to
the initrd. But it is not required at boot time; the screen is OK at that time.

When I turn the monitor off and on again, I'm getting the following lines in
/var/log/messages, and the screen resolution is again reset to 1920x1080.

Aug 12 01:08:27 capella kdeinit5[2024]: kscreen: canBeAppled: There are no
enabled screens, at least one required
Aug 12 01:08:27 capella kdeinit5[2024]: kscreen.kded: Config does not have at
least one screen enabled, WILL NOT save this config, this is not what user
wants.
Aug 12 01:08:27 capella kernel: [drm] Got external EDID base block and 1
extension from "edid/mizapfmon.bin" for connector "HDMI-A-2"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:
RRNotify_OutputChange
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Output:  88
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
CRTC:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Mode:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Rotation:  "Rotate_0"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Connection:  "Connected"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Subpixel Order:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:
RRScreenChangeNotify
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Window: 48234501
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Root: 1728
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Rotation:  "Rotate_0"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Size ID: 65535
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Size:  1920 1200
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
SizeMM:  508 317
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:
RRNotify_OutputChange
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Output:  88
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
CRTC:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Mode:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Rotation:  "Rotate_0"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Connection:  "Connected"
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xcb.helper:    
Subpixel Order:  0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
XRandROutput 88 update
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_connected: 1
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_crtc QObject(0x0)
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
CRTC: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
MODE: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Connection: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Primary: false
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr: Output
88 : connected = true , enabled = false
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
XRandROutput 88 update
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_connected: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_crtc QObject(0x0)
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
CRTC: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
MODE: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Connection: 0
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Primary: false
Aug 12 01:08:27 capella kscreen_backend_launcher[2116]: kscreen.xrandr: Output
88 : connected = true , enabled = false
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
Emitting configChanged()
Aug 12 01:08:28 capella org_kde_powerdevil[2114]: kscreen: Requesting missing
EDID for outputs (88)
Aug 12 01:08:28 capella kdeinit5[2024]: kscreen: Requesting missing EDID for
outputs (88)
Aug 12 01:08:28 capella kdeinit5[2024]: kscreen.kded:   Failed to find a
matching mode - this means that our config is corruptedor a different device
with the same serial number has been connected (very unlikely).Falling back to
preferred modes.
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
XRandR::setConfig
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
Requested screen size is QSize(1920, 1080)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr: Needed
CRTCs:  1
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr: Actions
to perform:
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Primary Output: true
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
        Old: 0
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
        New: 88
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Change Screen Size: true
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
        Old: QSize(1920, 1200)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
        Intermediate: QSize(1920, 1200)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
        New: QSize(1920, 1080)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Disable outputs: false
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Change outputs: false
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Enable outputs: true
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
         (88)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
QMap((79, XRandRCrtc(0x55b964f599f0))(80, XRandRCrtc(0x55b964f506a0))(81,
XRandRCrtc(0x55b964f51ab0))(82, XRandRCrtc(0x55b964f50bc0))(83,
XRandRCrtc(0x55b964f51390))(84, XRandRCrtc(0x55b964f51340)))
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr: Testing
CRTC 79
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Free: true
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Mode: 0
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Possible outputs: QVector(85, 86, 87, 88, 89)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Connected outputs: QVector()
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Geometry: QRect(0,0 0x0)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
RRSetCrtcConfig (enable output)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Output: 88 ( "HDMI-A-1" )
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
New CRTC: 79
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Pos: QPoint(0,0)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Mode: KScreen::Mode(Id: "1770" , Size: QSize(1920, 1080) @ 59.9502 ) Preferred:
"1770"
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Rotation: 1
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Result: 0
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
XRandROutput 88 update
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_connected: 0
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
m_crtc QObject(0x0)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
CRTC: 79
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
MODE: 1770
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Connection: 0
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Primary: true
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
Connected output 88 to CRTC 79
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
RRSetOutputPrimary
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
New primary: 88
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
RRSetScreenSize
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
DPI: 96.1514
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
Size: QSize(1920, 1080)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:        
SizeMM: QSize(507, 285)
Aug 12 01:08:28 capella kscreen_backend_launcher[2116]: kscreen.xrandr:
XRandR::setConfig done!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180811/a1cc2251/attachment-0001.html>


More information about the dri-devel mailing list