* [Bug 107858] Screen resolution wrong after turning monitor off and on
@ 2018-09-07 13:08 bugzilla-daemon
2018-09-07 13:17 ` bugzilla-daemon
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-07 13:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 5461 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
Bug ID: 107858
Summary: Screen resolution wrong after turning monitor off and
on
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: dri-devel@lists.freedesktop.org
Reporter: lopa@mailbox.org
This is related to bug 105046, which was closed as RESOLVED FIXED.
Unfortunately, the issue still exists. This is my configuration:
OS: OpenSuse Tumbleweed with kernel 4.18.0
Installed amdgpu packages:
libdrm_amdgpu1-32bit-2.4.93-1.1.x86_64
libdrm_amdgpu1-2.4.93-1.1.x86_64
xf86-video-amdgpu-18.0.1-2.1.x86_64
Prozessor: AMD Ryzen 5 2400G with Vega Graphics
Monitor: Dell U3011 (resolution 2560x1600) connected via DisplayPort
After switching the monitor off and on, the screen resolution is sometimes
changed to a very low value. Most of the time there's no problem, but sometimes
the resolution is changed to 800x600. A reboot is required to set it back to
2560x1600.
It seems, that there are several different error cases. In the past, I've seeen
messages in the dmesg output and in the syslog, but just now neither dmesg nor
the syslog did show any errors, there are only the following lines added to
/var/log/Xorg.0.log:
[ 11925.228] (II) AMDGPU(0): EDID vendor "DEL", prod id 16485
[ 11925.228] (II) AMDGPU(0): Using hsync ranges from config file
[ 11925.228] (II) AMDGPU(0): Using vrefresh ranges from config file
[ 11925.228] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 11925.228] (II) AMDGPU(0): Modeline "2560x1600"x0.0 268.50 2560 2608 2640
2720 1600 1603 1609 1646 +hsync -vsync (98.7 kHz eP)
[ 11925.228] (II) AMDGPU(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052
2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1920x1080i"x0.0 74.25 1920 2008 2052
2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430
1650 720 725 730 750 +hsync +vsync (45.0 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "720x480"x0.0 27.00 720 736 798 858
480 489 495 525 -hsync -vsync (31.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1440x480i"x0.0 27.00 1440 1478 1602
1716 480 488 494 525 interlace -hsync -vsync (15.7 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1440x576i"x0.0 27.00 1440 1464 1590
1728 576 580 586 625 interlace -hsync -vsync (15.6 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "640x480"x0.0 25.18 640 656 752 800
480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "720x576"x0.0 27.00 720 732 796 864
576 581 586 625 -hsync -vsync (31.2 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1280x720"x0.0 74.25 1280 1720 1760
1980 720 725 730 750 +hsync +vsync (37.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1920x1080i"x0.0 74.25 1920 2448 2492
2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1920x1080"x0.0 148.50 1920 2448 2492
2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1920x1080"x0.0 74.25 1920 2558 2602
2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "800x600"x0.0 40.00 800 840 968 1056
600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "640x480"x0.0 31.50 640 656 720 840
480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "720x400"x0.0 28.32 720 738 846 900
400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440
1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136
1312 768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184
1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "800x600"x0.0 49.50 800 816 896 1056
600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344
1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1280x800"x0.0 83.50 1280 1352 1480
1680 800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 11925.228] (II) AMDGPU(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440
1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 11925.229] (II) AMDGPU(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856
2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 11925.229] (II) AMDGPU(0): Modeline "1920x1200"x0.0 193.25 1920 2056 2256
2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 11925.229] (II) AMDGPU(0): Modeline "1920x1440"x0.0 234.00 1920 2048 2256
2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 7210 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
@ 2018-09-07 13:17 ` bugzilla-daemon
2018-09-08 15:43 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-07 13:17 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 799 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
(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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1686 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
2018-09-07 13:17 ` bugzilla-daemon
@ 2018-09-08 15:43 ` bugzilla-daemon
2018-09-08 15:45 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:43 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 343 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #2 from Lothar Paltins <lopa@mailbox.org> ---
Created attachment 141484
--> https://bugs.freedesktop.org/attachment.cgi?id=141484&action=edit
dmesg output before and after monitor power cycle
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1329 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
2018-09-07 13:17 ` bugzilla-daemon
2018-09-08 15:43 ` bugzilla-daemon
@ 2018-09-08 15:45 ` bugzilla-daemon
2018-09-08 15:45 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #3 from Lothar Paltins <lopa@mailbox.org> ---
Created attachment 141485
--> https://bugs.freedesktop.org/attachment.cgi?id=141485&action=edit
Xorg.0.log output before monitor power cycle
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1314 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (2 preceding siblings ...)
2018-09-08 15:45 ` bugzilla-daemon
@ 2018-09-08 15:45 ` bugzilla-daemon
2018-09-08 15:46 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #4 from Lothar Paltins <lopa@mailbox.org> ---
Created attachment 141486
--> https://bugs.freedesktop.org/attachment.cgi?id=141486&action=edit
Xorg.0.log after monitor power cycle
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (3 preceding siblings ...)
2018-09-08 15:45 ` bugzilla-daemon
@ 2018-09-08 15:46 ` bugzilla-daemon
2018-09-08 15:47 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #5 from Lothar Paltins <lopa@mailbox.org> ---
Created attachment 141487
--> https://bugs.freedesktop.org/attachment.cgi?id=141487&action=edit
xrandr output before monitor power cycle
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1302 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (4 preceding siblings ...)
2018-09-08 15:46 ` bugzilla-daemon
@ 2018-09-08 15:47 ` bugzilla-daemon
2018-09-08 15:50 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:47 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 333 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #6 from Lothar Paltins <lopa@mailbox.org> ---
Created attachment 141488
--> https://bugs.freedesktop.org/attachment.cgi?id=141488&action=edit
xrandr output after monitor power cycle
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1299 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (5 preceding siblings ...)
2018-09-08 15:47 ` bugzilla-daemon
@ 2018-09-08 15:50 ` bugzilla-daemon
2018-09-10 9:51 ` bugzilla-daemon
2019-11-19 8:54 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-08 15:50 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 761 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
--- Comment #7 from Lothar Paltins <lopa@mailbox.org> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1567 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (6 preceding siblings ...)
2018-09-08 15:50 ` bugzilla-daemon
@ 2018-09-10 9:51 ` bugzilla-daemon
2019-11-19 8:54 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-09-10 9:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1021 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |harry.wentland@amd.com,
| |sunpeng.li@amd.com
--- Comment #8 from Michel Dänzer <michel@daenzer.net> ---
(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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2445 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 107858] Screen resolution wrong after turning monitor off and on
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
` (7 preceding siblings ...)
2018-09-10 9:51 ` bugzilla-daemon
@ 2019-11-19 8:54 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-11-19 8:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=107858
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #9 from Martin Peres <martin.peres@free.fr> ---
-- 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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2392 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-11-19 8:54 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-07 13:08 [Bug 107858] Screen resolution wrong after turning monitor off and on bugzilla-daemon
2018-09-07 13:17 ` bugzilla-daemon
2018-09-08 15:43 ` bugzilla-daemon
2018-09-08 15:45 ` bugzilla-daemon
2018-09-08 15:45 ` bugzilla-daemon
2018-09-08 15:46 ` bugzilla-daemon
2018-09-08 15:47 ` bugzilla-daemon
2018-09-08 15:50 ` bugzilla-daemon
2018-09-10 9:51 ` bugzilla-daemon
2019-11-19 8:54 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.