New: r600: Garbled screen after resuming from suspend (KMS)
https://bugs.freedesktop.org/show_bug.cgi?id=29026
Summary: r600: Garbled screen after resuming from suspend (KMS)
Product: DRI
Version: DRI CVS
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=36970)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36970)
system log
Using mesa-git, libdrm-git and xf86-video-ati-git I always get a garbled screen (including framebuffer console) after resume. I took a screenshot, but obviously it looks normal.
Video card: Radeon HD3870
Kernel: Linux-git (2.6.35-rc4+), KMS enabled by default
There is no crash or lockup, it's just sort of impossible to read anything on the screen after resuming.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #1 from Jerome Glisse <[email protected]> 2010-07-12 13:11:55 PDT --- Can you take picture of the screen (no need for high res pic, just something good enough so we can see the issue). Also could you boot and suspend with drm.debug=15 option and attach system log with that option (after suspend/resume cycle)
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #2 from Alex Deucher <[email protected]> 2010-07-12 13:40:07 PDT --- Is your distro using any vbetool pm quirks? If so, disable them.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #3 from Alexandre Derumier <[email protected]> 2010-07-12 22:03:53 PDT --- same problem for me, with last drm-radeon-testing kernel on a rv620 (dell studio 15 laptop).
I'm using archlinux, with last mesa-git, ati-git,libdrm-git.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #4 from Alexandre Derumier <[email protected]> 2010-07-12 22:04:47 PDT --- Created an attachment (id=36985)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36985)/var/log/message with drm.debug=15
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #5 from Rafał Miłecki <[email protected]> 2010-07-12 23:03:56 PDT --- (In reply to comment #3)
Quoted 4 lines
same problem for me, with last drm-radeon-testing kernel on a rv620 (dell studio 15 laptop).
I'm using archlinux, with last mesa-git, ati-git,libdrm-git.
What about pm-utils? Do you use it? If so, try version 1.3.0 which recognizes KMS.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #6 from Alexandre Derumier <[email protected]> 2010-07-13 04:43:38 PDT --- i'm using pm-utils 1.4 (no problem with drm-radeon-testing around 20 june)
i'll try to dig around pm-utils, i see they are many video quirks in
usr/lib/pm-utils/video-quirks/
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #7 from Daniel <[email protected]> 2010-07-13 11:38:14 PDT --- I am using pm-utils 1.4.1 and all of the video quirks are disabled on my machine.
Picture of X-Server after suspend:
http://yfrog.com/5m20100713001j
Picture of framebuffer after suspend:
http://yfrog.com/4v20100713003j
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #8 from Daniel <[email protected]> 2010-07-13 11:41:04 PDT --- Created an attachment (id=36997)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36997)
drm.debug=15 on HD3870, x86_64
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #9 from Alex Deucher <[email protected]> 2010-07-13 12:23:09 PDT --- If s/r used to work, when did it last work, and can you bisect what commit broke it?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] r600: Garbled screen after resuming from suspend (KMS)
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #10 from Daniel <[email protected]> 2010-10-12 15:45:01 PDT --- (In reply to comment #9)
Quoted 2 lines
If s/r used to work, when did it last work, and can you bisect what commit broke it?
Sorry for the late reply. I cannot find the commit which broke it, however this is still an issue.
I figured out that using xrandr after resuming fixes the garbled screen (setting a different resolution and restoring the original one afterwards).
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
Jerome Glisse <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|r600: Garbled screen after |[RADEON:KMS:RV670:MODESET]
|resuming from suspend (KMS) |garbled screen after
| |resuming from suspend--- Comment #11 from Jerome Glisse <[email protected]> 2011-02-09 07:20:48 PST --- Still an issue with recent kernel ?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #12 from Daniel <[email protected]> 2011-02-10 02:02:36 PST --- (In reply to comment #11)
Quoted 1 line
Still an issue with recent kernel ?
Yes. The exact same thing is still happening to me on 2.6.38-rc4 and xf86-video-ati git.
As I already mentioned the garbled screen issue goes away when using xrandr after resume. I personally fixed this for me by executing the following *dirty* quirk-script on resume:
Quoted 4 lines
export DISPLAY=:0
export XAUTHORITY="/home/$USER/.Xauthority"
xrandr --output DVI-0 --mode 1920x1080
xrandr --output DVI-0 --mode 1680x1050
But obviously this cannot be a permanent solution.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #13 from Alex Deucher <[email protected]> 2011-02-10 08:50:04 PST --- (In reply to comment #12)
Quoted 4 lines
As I already mentioned the garbled screen issue goes away when using xrandr after resume. I personally fixed this for me by executing the following *dirty* quirk-script on resume:
Can you dump your regs before and after calling xrandr? using radeonreg available here (http://cgit.freedesktop.org/~airlied/radeontool/)
(as root after resume):
radeonreg regs all > broken.regs
(run xrandr)
radeonreg regs all > fixed.regs
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #14 from Daniel Klaffenbach <[email protected]> 2011-02-11 00:16:34 PST --- Created an attachment (id=43235)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43235)
register dump
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #15 from Alex Deucher <[email protected]> 2011-02-13 22:44:51 PST --- Are you using an analog or digital connection for the monitor?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
--- Comment #16 from Daniel Klaffenbach <[email protected]> 2011-02-14 00:50:44 PST --- (In reply to comment #15)
Quoted 1 line
Are you using an analog or digital connection for the monitor?
I am only using digital connections.
The card has three ports:
DVI-0: My primary monitor (through DVI)
DVI-1: My AV receiver (using the DVI2HDMI adaptor that came with the card), usually turned off
DIN: Not used (radeon.tv=0).
And I just noticed a very interesting thing:
The TV connected to my AV receiver (DVI-1) works just fine after resuming - only the primary screen on DVI-0 is garbled.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 29026] [RADEON:KMS:RV670:MODESET] garbled screen after resuming from suspend
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=29026
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #17 from Martin Peres <[email protected]> --- -- 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/140.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel