Bug 41592 - [Radeon] The display often freezes with gnome-shell 3.2
Summary: [Radeon] The display often freezes with gnome-shell 3.2
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 7.11
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-08 11:28 UTC by mirandir
Modified: 2012-01-21 23:31 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (51.76 KB, text/plain)
2011-10-08 11:28 UTC, mirandir
Details
Xorg log (403.55 KB, text/plain)
2011-10-08 11:29 UTC, mirandir
Details
gdb log (15.50 KB, text/plain)
2011-10-30 04:35 UTC, mirandir
Details

Description mirandir 2011-10-08 11:28:04 UTC
Since the Gnome 3.2 update, there are many many lines like this in my Xorg.log :

[ 4192.459] (II) RADEON(0): radeon_dri2_flip_event_handler:981 fevent[0x17e2360] width 1366 pitch 5632 (/4 1408)
[ 4193.043] (II) RADEON(0): radeon_dri2_schedule_flip:619 fevent[0x184a890]

And gnome-shell freezes very often, when i exit fullscreen games or just after that I unlocked gnome-screensaver.
I have to switch to a VT and kill the gnome-shell process, then it restart and I can continue to work.

I attach my dmesg and Xorg.log.


Additional info:
* Archlinux 64 bits, kernel-3.0.6, mesa-7.11, xorg-server-1.10.4 and gnome-shell-3.2.0
* ATI Mobility Radeon HD5470 with the radeon driver.

(I can't reproduce this bug with my laptop with Intel graphics)
Comment 1 mirandir 2011-10-08 11:28:41 UTC
Created attachment 52125 [details]
dmesg
Comment 2 mirandir 2011-10-08 11:29:16 UTC
Created attachment 52126 [details]
Xorg log
Comment 3 Michel Dänzer 2011-10-10 06:16:04 UTC
(In reply to comment #3)
> Since the Gnome 3.2 update, there are many many lines like this in my Xorg.log
> :
> 
> [ 4192.459] (II) RADEON(0): radeon_dri2_flip_event_handler:981
> fevent[0x17e2360] width 1366 pitch 5632 (/4 1408)
> [ 4193.043] (II) RADEON(0): radeon_dri2_schedule_flip:619 fevent[0x184a890]

These are normal debugging messages and should only appear if the verbosity for the log file is set to level 4 or higher, e.g. using the -logverbose command line option to Xorg.


> And gnome-shell freezes very often, when i exit fullscreen games or just after
> that I unlocked gnome-screensaver.

Does that still happen with current xf86-video-ati Git?
Comment 4 mirandir 2011-10-10 13:57:08 UTC
(In reply to comment #3)
> (In reply to comment #3)
> > Since the Gnome 3.2 update, there are many many lines like this in my Xorg.log
> > :
> > 
> > [ 4192.459] (II) RADEON(0): radeon_dri2_flip_event_handler:981
> > fevent[0x17e2360] width 1366 pitch 5632 (/4 1408)
> > [ 4193.043] (II) RADEON(0): radeon_dri2_schedule_flip:619 fevent[0x184a890]
> 
> These are normal debugging messages and should only appear if the verbosity for
> the log file is set to level 4 or higher, e.g. using the -logverbose command
> line option to Xorg.
>

It's maybe the new gdm which start X with the -logverbose option (???), as I didn't set this option myself.
 
> 
> > And gnome-shell freezes very often, when i exit fullscreen games or just after
> > that I unlocked gnome-screensaver.
> 
> Does that still happen with current xf86-video-ati Git?

Oh... you are right, I had tested with the Xorg in [testing] but I hadn't thought to compile xf86-video-ati-git... and it seems to work, I can't reproduce the bug with the today's git.

Thanks for the tips, the problem seems to be solved !
Comment 5 mirandir 2011-10-11 04:23:32 UTC
Apparently I spoke too fast... gnome-shell has freezed today, just after I've unlocked gnome-screensaver. But i have nothing in dmesg or Xorg.log.

Anyway, it didn't seem to crash with games.
Comment 6 Michel Dänzer 2011-10-11 09:49:24 UTC
(In reply to comment #5)
> Apparently I spoke too fast... gnome-shell has freezed today, just after I've
> unlocked gnome-screensaver. But i have nothing in dmesg or Xorg.log.

When this happens, can you get a gdb backtrace of gnome-shell and/or the X server process, and attach them here?

> Anyway, it didn't seem to crash with games.

I suspect you were hitting two separate problems then, and that one was fixed in Git (probably the page flipping fixes).
Comment 7 mirandir 2011-10-13 09:17:43 UTC
(In reply to comment #6)
> 
> When this happens, can you get a gdb backtrace of gnome-shell and/or the X
> server process, and attach them here?
> 

I will try, but the problem seems very randomly, and difficult to reproduce.
Comment 8 mirandir 2011-10-30 04:35:13 UTC
Sorry for the delay, I haven't had time to work on this sooner.

The "freeze" seems to begin to (ramdomly) happen after that gnome-screensaver switches off the screen.

As Archlinux don't provides debug packages, I must recompile some packages, and I have an error when I try to recompile X, I'm trying to solve that.

But the gnome packager provides some debug packages for gnome, so I can have a backtrace when the problem occur.

I don't know if it's usefull, maybe I should open a bugreport on the gnome-shell bugzilla too ?
Comment 9 mirandir 2011-10-30 04:35:59 UTC
Created attachment 52909 [details]
gdb log
Comment 10 Peter Weber 2011-10-30 13:58:51 UTC
Bugzilla Gnome 661898
Posted some days ago.
 
Because it can be just a bug around the radeon driver in kernel I opened a new bug here.
https://bugs.freedesktop.org/show_bug.cgi?id=41838 

Would be intersting to see if it freezes your system in the same way, if you visit the website I mentioned in my bug. So we can be sure, that is the same issue.
Comment 11 mirandir 2011-10-31 03:42:13 UTC
My system don't freeze when i (In reply to comment #10)
> Bugzilla Gnome 661898
> Posted some days ago.
> 
> Because it can be just a bug around the radeon driver in kernel I opened a new
> bug here.
> https://bugs.freedesktop.org/show_bug.cgi?id=41838 
> 
> Would be intersting to see if it freezes your system in the same way, if you
> visit the website I mentioned in my bug. So we can be sure, that is the same
> issue.

My system do not freeze when I visit http://piratpix.com/bpt2011.1/index.html and browse pictures with Epiphany, so I don't think it's the same issue.
Comment 12 Peter Weber 2011-10-31 04:50:56 UTC
Thanks! That is bad, or good.

Did you clicked on the thumbnails or just viewed the slideshow? Clicking on the thumbnails is causing the issue, the slideshow not.
Comment 13 Peter Weber 2011-10-31 05:14:25 UTC
Forgot something important!
Are you using the last official xf86-video-radeon driver or the one from git?
Comment 14 mirandir 2011-10-31 05:19:17 UTC
Yes, I have clicked on the thumbnails, and I use the git version of the driver.
Comment 15 Nicolas Peninguy 2011-10-31 06:14:45 UTC
May be this is related to https://bugzilla.gnome.org/show_bug.cgi?id=650857 ? (But Intel and NVidia owners are also affected)
Comment 16 mirandir 2011-10-31 07:43:07 UTC
Thanks for the link.

You are right, this problem seems very very close to mine.
Comment 17 mirandir 2011-11-01 10:44:43 UTC
I uninstalled gnome-shell-extensions-mediaplayer, and it seems
that it solves my problem.

Thanks to everybody, and sorry for the noise, it wasn't the fault of radeon driver or gnome-shell.
Comment 18 Michel Dänzer 2011-11-02 10:53:24 UTC
> [ 4192.459] (II) RADEON(0): radeon_dri2_flip_event_handler:981
> fevent[0x17e2360] width 1366 pitch 5632 (/4 1408)
> [ 4193.043] (II) RADEON(0): radeon_dri2_schedule_flip:619 fevent[0x184a890]

BTW, these are harmless debug messages which are suppressed by default. Somebody or something seems to have increased the X server's log level.


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.