I have recently switched my desktop PC with Radeon HD 5770 from fglrx to xf86-video-ati and discovered a problem causing the X server to crash with a SIGBUS signal.
I can reproduce this bug by opening a PDF document in Okular and scrolling through several pages back and forth, then mouse cursor hangs and X server crashes. It happens regardless of kernel version.
Disabling RenderAccel helps, but it's not a solution since it turns off the acceleration.
It's not a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=29738 , because it still happens with pre-709ea97145c125b3811ff70429e90ebdb0e832e5 kernels.
Linux 188.8.131.52, git drm-fixes or git drm-radeon-testing
xorg-server git 09/13
xf86-video-ati git 09/13
libdrm git 09/13
Intel Core 2 Quad Q6600 Processor
AMD Radeon HD 5770
Created attachment 38699 [details]
X server log
Created attachment 38700 [details]
Comment on attachment 38700 [details]
drm-2.6 commit 7a6b2896f261894dde287d3faefa4b432cddca53
184.108.40.206, latest drm-fixes and drm-radeon-testing don't give any interesting output
I think I have the same bug, I also first noticed it while opening a PDF in Okular. Later I also got ceashes when switching the virtual desktop. This is with kernel 2.6.36 RC5 and eMachines E640G laptop with integrated ATI Mobility Radeon HD 5470.
I still think this is a related bug 29738. The backtrace is just about the same.
I doubt that this issue shares with bug 29738 anything more than similar behavior.
Bug 29738 was related to a single commit and as I said, I have tested kernel revisions from before and after the problematic change and both options didn't work.
Created attachment 38962 [details]
various; bt full, dmesg, sw version
me too, evergreen 1002:68f9.
The attach contain various things I've tried to inspect may be useful or not.
*** Bug 30517 has been marked as a duplicate of this bug. ***
Are there any kind of information I (we) can provide to help to solve this bug?
I'm getting this bug a lot and it is really frustrating losing some work etc. while X is crashing :/
same problem here with similar backtrace. (I'll attach the backtrace)
The mouse freezes and X restarts. Okular is the only application that seems to trigger easily this bug.
Created attachment 39200 [details] [review]
I found another situation where xorg crashes. Bringing virtualbox fullscreen makes the x server crash immediatly, but this time not with a sigbus, but with a segfault.
another backtrace attached
Created attachment 39213 [details] [review]
Xorg backtrace 2
Virtualbox triggers that bug a lot at my machine.
But I'm getting a sigbus, not a segfault. My backtrace is in the duplicate bug 30517.
Sometimes it happens when simply starting virtualbox, sometimes when switching to fullscreen,...
Created attachment 39218 [details]
Also getting a SIGBUS with Evergreen. For me it's triggered by browsing google image search with Firefox. Backtrace attached.
This might be an issue with non-cpu accessible vram. Do you still see the issue with the drm-next or drm-radeon-testing branches of Dave's drm tree?
Specifically, make sure your kernel has this patch:
Maybe it's a noob question but how do I apply that patch on top of 2.6.26-rc6?
Or do I have to use the newest git kernel for that?
With current drm-radeon-testing, after some short testing I can say that I can't trigger the bug by Okular anymore.
Will see how it performs in normal use.
Same for me. Can't trigger the bug with drm-testing @virtualbox.
Will that stuff be in 2.6.37?
Looks good so far for me too. No crash after several hours of use.
The blit stuff will be in 2.6.37 and Jerome has a set of patches we need to try and get into stable to avoid this on older kernels.
Just a me too. Latest drm-radeon-testing seems to have fixed my bus errors also.
Hei, I tried the drm-radeon-testing kernel and now Okular works, but X still crashes with a segfault when going fullscreen with virtualbox.
Someone is having this problem? Do you think is related to this bug?
(In reply to comment #23)
> Hei, I tried the drm-radeon-testing kernel and now Okular works, but X still
> crashes with a segfault when going fullscreen with virtualbox.
> Someone is having this problem? Do you think is related to this bug?
That's a different issue. Please file a different bug for that.
Virtualbox fullscreen with a Win7 guest works for me. This should be really a different issue.
Created attachment 39385 [details] [review]
fix for 2.6.35 and 2.6.36
This patch should fix the issue on stable kernels.
This patch, scheduled hopefully for 2.6.36 should also fix the issue:
(In reply to comment #27)
> This patch, scheduled hopefully for 2.6.36 should also fix the issue:
Linus pulled this into 2.6.36:
I'd like to get something into 2.6.35 stable as well.
on Jun 27, 2016 at 02:11:12.
(provided by the Example extension).