Summary: | Screen resolution wrong after turning monitor off and on | ||
---|---|---|---|
Product: | DRI | Reporter: | Lothar Paltins <lopa> |
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | harry.wentland, nicholas.kazlauskas, sunpeng.li |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Lothar Paltins
2018-09-07 13:08:31 UTC
(In reply to Lothar Paltins from comment #0) > [ 11925.963] (II) AMDGPU(0): Allocate new frame buffer 800x600 > [ 11925.963] (II) AMDGPU(0): => pitch 3584 bytes > > > The EDID information is correct, but for some reason the amdgpu driver > asumes, that the highest possible resolution is 800x600. The drivers or even the X server never change the display configuration on their own. The change to 800x600 above must have been done by a client. Which desktop environment are you using? Please attach the full Xorg log file, and the output of dmesg and xrandr after the problem occurred. Created attachment 141484 [details]
dmesg output before and after monitor power cycle
Created attachment 141485 [details]
Xorg.0.log output before monitor power cycle
Created attachment 141486 [details]
Xorg.0.log after monitor power cycle
Created attachment 141487 [details]
xrandr output before monitor power cycle
Created attachment 141488 [details]
xrandr output after monitor power cycle
But the client must know the possible resolutions and this information must come from the X server and the driver. I'm using the KDE5 desktop environment and I've attached the appropriate log files. The dmesg output is the same before and after the monitor power cycle, the other files have the suffix _good and _bad. Now there are lines with "get vblank counter failed: Invalid argument" in the Xorg.0.log file, which I didn't see previously. This all looks like a random problem, maybe the use of an unititialized variable or an out of bounds array access. (In reply to Lothar Paltins from comment #7) > But the client must know the possible resolutions and this information must > come from the X server and the driver. Right, looks like there's indeed a problem with the kernel driver DC code obtaining / processing EDID. > Now there are lines with "get vblank counter failed: Invalid argument" in the > Xorg.0.log file, which I didn't see previously. Those can happen occasionally with a DisplayPort connection, they should be harmless. -- 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/516. |
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.