Skip to contentSkip to conversation

New: Random crashes on RadeonSI with Chromium.

Bug 81644 [email protected] 1 participant 151 messages Jul 22, 2014 – Nov 5, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Priority: medium
Bug ID: 81644
Assignee: [email protected]
Summary: Random crashes on RadeonSI with Chromium.
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa

Chromium randomly crashes with RadeonSI driver when using Chromium. Most usually with Youtube videos. Everything is current git from Oibaf PPA using Mint 17 Cinnamon, although I'm about to move to Arch Linux so I don't know how long I'll be able to provide logs as the problem doesn't exist in Arch's currents AFAIK. But there are logs in Bug #77980 from my crash, which was close sounding, but apparently a different bug.

Signature · 2 lines
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

#1 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Hardware|Other                       |x86-64 (AMD64)
           Priority|medium                      |high
Signature · 2 lines
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

#2 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #1 from Michel Dänzer <[email protected]> --- (In reply to comment #1)

Quoted 3 lines

Everything is current git from Oibaf PPA using Mint 17 Cinnamon, although I'm about to move to Arch Linux so I don't know how long I'll be able to provide logs as

Better attach them here ASAP then. :) Xorg.0.log, dmesg and glxinfo.

Quoted 1 line

the problem doesn't exist in Arch's currents AFAIK.

What version of Mesa does that use?

Signature · 2 lines
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

#3 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #2 from Aaron B <[email protected]> --- Created attachment 103414
--> https://bugs.freedesktop.org/attachment.cgi?id=103414&action=edit
DMesg

I have moved to Arch. Bug just happened and is in these logs. I'm currently on Mesa-git. And the bug not being present isn't solid. My friend told me it didn't happen, and has the same tower. But he didn't stay on it long enough to happen so I'm going to take that back for now. I don't remember this bug in Mesa from around January, but yet my card was unusable in January. So I'd ping it to somewhere around 2-5 months old tbh. But yes, Chromium has this problem on arch, and I switched not only OS's but DE's so it's not a Cinnamon problem.

Signature · 2 lines
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

#4 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #3 from Aaron B <[email protected]> --- Created attachment 103415
--> https://bugs.freedesktop.org/attachment.cgi?id=103415&action=edit
GLXInfo

Signature · 2 lines
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

#5 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #4 from Aaron B <[email protected]> --- Created attachment 103416
--> https://bugs.freedesktop.org/attachment.cgi?id=103416&action=edit
XOrg log, with crash+recover.

Signature · 2 lines
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

#6 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #5 from Aaron B <[email protected]> --- Created attachment 103417
--> https://bugs.freedesktop.org/attachment.cgi?id=103417&action=edit
Hardware report.

Important hardware:

R9 270X - 2GB GDDR5 - ASUS.
FX-8350 - AMD.
M5A99FX PRO 2.0 - ASUS.

Signature · 2 lines
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

#7 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #6 from Aaron B <[email protected]> --- Created attachment 103455
--> https://bugs.freedesktop.org/attachment.cgi?id=103455&action=edit
Xorg crash, no recover.

Signature · 2 lines
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

#8 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #7 from Aaron B <[email protected]> --- Created attachment 103504
--> https://bugs.freedesktop.org/attachment.cgi?id=103504&action=edit
Crash+recover

Signature · 2 lines
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

#9 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #8 from Aaron B <[email protected]> --- Created attachment 103505
--> https://bugs.freedesktop.org/attachment.cgi?id=103505&action=edit
DMesg of crash+recover.

Signature · 2 lines
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

#10 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #103504|0                           |1

is obsolete| |

--- Comment #9 from Aaron B <[email protected]> --- Created attachment 103522
--> https://bugs.freedesktop.org/attachment.cgi?id=103522&action=edit
Two crashes+recovers. Xorg.

Signature · 2 lines
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

#11 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #103505|0                           |1

is obsolete| |

--- Comment #10 from Aaron B <[email protected]> --- Created attachment 103523
--> https://bugs.freedesktop.org/attachment.cgi?id=103523&action=edit
Two crashes+recovers. Dmesg.

Signature · 2 lines
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

#12 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #11 from Aaron B <[email protected]> --- (In reply to comment #1)

Quoted 10 lines

(In reply to comment #1)

Quoted 3 lines

Everything is current git from Oibaf PPA using Mint 17 Cinnamon, although I'm about to move to Arch Linux so I don't know how long I'll be able to provide logs as

Better attach them here ASAP then. :) Xorg.0.log, dmesg and glxinfo.

Quoted 1 line

the problem doesn't exist in Arch's currents AFAIK.

What version of Mesa does that use?

I'm guessing as of this patch this can be closed?
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2062afb4f804afef61cbe62a30cac9a46e58e067

Signature · 2 lines
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

#13 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #12 from Michel Dänzer <[email protected]> --- (In reply to comment #11)

Quoted 3 lines

I'm guessing as of this patch this can be closed?
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
?id=2062afb4f804afef61cbe62a30cac9a46e58e067

No, that's unrelated.

BTW, the backtraces in Xorg log files aren't useful for diagnosing this kind of problem, so there's no point in attaching more Xorg log files just for that.

Signature · 2 lines
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

#14 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #13 from Michel Dänzer <[email protected]> --- (In reply to comment #6)

Quoted 2 lines

Chromium randomly crashes with RadeonSI driver when using Chromium. Most usually with Youtube videos.

Using Flash or HTML5 video? Fullscreen or windowed? ...

Signature · 2 lines
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

#15 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #14 from Aaron B <[email protected]> --- (In reply to comment #13)

Quoted 5 lines

(In reply to comment #6)

Quoted 2 lines

Chromium randomly crashes with RadeonSI driver when using Chromium. Most usually with Youtube videos.

Using Flash or HTML5 video? Fullscreen or windowed? ...

I use HTML5 video. But it's a Chromium issue in general, flash video just helps it happen faster. It also happens a lot when switching tabs, clicking on content that adds a new element on the page over top of everything else, or loading more objects. Good examples are opening the comments section on Yahoo, and the mousing over of names on facebook. Think it'd be useful to try to attach a gdb session to Chromium? In the dmesg log, every time the problem happens, Chromium does receive a segfault.

Signature · 2 lines
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

#16 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #15 from Michel Dänzer <[email protected]> --- (In reply to comment #14)

Quoted 2 lines

I use HTML5 video. But it's a Chromium issue in general, flash video just helps it happen faster.

Is it HTML5 or Flash now? :)

Quoted 2 lines

Think it'd be useful to try to attach a gdb session to Chromium? In the dmesg log, every time the problem happens, Chromium does receive a segfault.

Yes, backtraces of those crashes might be interesting.

Signature · 2 lines
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

#17 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #16 from Aaron B <[email protected]> --- (In reply to comment #15)

Quoted 11 lines

(In reply to comment #14)

Quoted 2 lines

I use HTML5 video. But it's a Chromium issue in general, flash video just helps it happen faster.

Is it HTML5 or Flash now? :)

Quoted 2 lines

Think it'd be useful to try to attach a gdb session to Chromium? In the dmesg log, every time the problem happens, Chromium does receive a segfault.

Yes, backtraces of those crashes might be interesting.

Whoops, I meant the video playing in HTML5 made the glitch happen worse. But it's video in general, Flash video on other sites does crash it too. And okay, if I can get it working I'll hopefully have a good log to show sooner or later.

Signature · 2 lines
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

#18 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #17 from Aaron B <[email protected]> ---
I just got a crash while trying to get some debugging output...but all Chromium would output, and it was just through the terminal, was "GPU process stalled after 10000ms." and that was basically all the information I got from it. I'll try again tomorrow, maybe try valgrind or some different CL arguments this time around. We'll see. Now it's time for sleep, though.

Signature · 2 lines
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

#19 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #18 from [email protected] --- so I got a different bug or could this be the same ?

running on drm-next-3.17-rebased-on-fixes

only doing some surfing via current opera-developer
(https://bugs.gentoo.org/show_bug.cgi?id=514696)

flash plugin was not working (tested via surfing over to speedtest.net)

switched a few times between KDE4, fluxbox, xfce4 and razor-qt

window managers were compiz-fusion (0.8.8/0.8.6), kwin with opengl compositing (opengl 1.2, 2.0, 3.1 testing)

programs used:

- gnote, tomboy
- opera-developer
- firefox (flash rendered unusable by uninstalling vdpau, no data via env VDPAU_TRACE=1 firefox), noscript, adblock
(these were all if I remember correctly)

first hardlock (no Magic SYSRQ Key recovery possible) was during playing around and switching between Themes in Opera Developer (version 24)

second hardlock was during simply reading a few notes in gnote and surfing via firefox (version 31)

Signature · 2 lines
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

#20 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #19 from Aaron B <[email protected]> ---
It sounds like the same bug, but I'm not 1000% sure. But I had a few crashes in Chromium, the only out of place log message is:

ATTENTION: default value of option force_s3tc_enable overridden by environment. [8923:8923:0731/125646:ERROR:sandbox_linux.cc(302)] InitializeSandbox() called with multiple threads in process gpu-process

Not what to make of it, but it's something more.

Signature · 2 lines
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

#21 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #20 from Aaron B <[email protected]> --- [7925:7960:0731/125644:ERROR:gpu_watchdog_thread.cc(253)] The GPU process hung. Terminating after 10000 ms. [7894:7894:0731/125644:ERROR:gpu_process_transport_factory.cc(347)] Lost UI shared context.

Here also is the message about the process hanging, it was in the log too, missed it at first.

Signature · 2 lines
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

#22 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #21 from Aaron B <[email protected]> ---
I'm getting the glitch a lot more, but trying to remember what sets it off most:

1. Youtube. Often, but not as often as #2.

2. Clicking on an element that brings up another element onto the page, basically over it with a higher z-index, like I said facebook does this a LOT.

3. Adding elements to the page at all can also trigger this bug. Like loading ANY comments, from disqus to yahoo, they all have triggered it.

4. Slideshows where the objects slide against each other, like in PCWorld slideshows, just had a crash there.

All of these have in common is moving pixels, but also adding pixels to the screen. Is there special code for that, those dirty rectangles being glitchy or something? I have, well, only bare minimal knowledge of how these drivers work from looking at lots of Git commits, but I bet that is a pretty good clue to people who know what they're looking at with what could be wrong. :)

Signature · 2 lines
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

#23 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #22 from Aaron B <[email protected]> ---
Just had a horrible chance I dropped the ball on ,it killed the server and outputs couldn't even be reached on my card. I restarted LightDM to only have it fail and lose the log of the crash, but Steam was failing to start any games also, even starting steam took a few tries. I'm trying to reproduce. The only error I got out of I screwed up the log files was "Active IB in BO." or something of that nature, and it was printed in the tty2 terminal when lightdm died. That's all I could scroung out of it, but I'm trying to reproduce now, that error could provide all the information needed if I could have gotten the logs from it.

Signature · 2 lines
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

#24 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #23 from [email protected] ---
@Aaron:

try reading into Magic SYSRQ key: http://en.wikipedia.org/wiki/Magic_SysRq_key

next time when X seems to freeze - first do a Magic SYSRQ + R, then try to imitate a "secure attention key"
== Magic SYSRQ + k

whether that unlocks it

or if X doesn't show any change anymore but the system still seems to be alive:

Magic SYSRQ Key + r

then Magic SYSRQ Key + w
(what tasks or kernel threads, etc. is stuck)

then the rest of "REISUB" (Magic SYSRQ Key + e, i, s, u, b)

after the next start you can look through the contents of the kernel messages in

/var/log/kern.log

via

tail -n 3500 /var/log/kern.log | less

(keyboard cursor up & down, quit via "q")

if the messages are too much

try via

tail -n 7500 /var/log/kern.log | less

or higher

sudo may be needed, if not using root privileges

logging may be disabled, so it first might have to be enabled

hope this helps ...

Signature · 2 lines
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

#25 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #24 from Aaron B <[email protected]> --- Created attachment 103786
--> https://bugs.freedesktop.org/attachment.cgi?id=103786&action=edit
DMesg of multile flash crashes.

I don't think it'll help much, it's more of the same from a dmesg, but this crash was like the other I experienced, pooped me out to a command prompt after some time. It stalled on some new rings other than 0, which is "nice" I guess.

But this was caused by Chromium, just refreshing a page or switching tabs, one of those. When it happened, Counter Strike Source was murdered, so it affected it too in some way. But, my steam log shows nothing with the output directed to it. I guess it shut down too quick to flush anything to it. I don't really know what else to do, I've been reading up the posts from Agd5f (Drazner?) posts and I mean, I'm a programmer and do lots of assembly and it makes sense. I just don't know where to start debugging such a lower level kernel problem. I believe it's out of my realm too much so to try anything else besides post logs. :/

Signature · 2 lines
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

#26 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #25 from [email protected] ---
Created attachment 103839
--> https://bugs.freedesktop.org/attachment.cgi?id=103839&action=edit
X turning black & crash (30 minutes of HTML5 video on youtube, movie trailers), no successful recovery, recovery with Magic SYSRQ + k

not sure if to post it here or bug #79980

watched movie trailers with chromium (adobe flash player explicitly turned off), after approx. 30 minutes on another trailer (mostly 1080p, 720p) the screen stalled and turned black,

seemingly couldn't recover on its own, sound kept on continuing, so figured that Magic SYSRQ + k could be successful and it was

originally wanted to post the bug info from within chromium but during attempt to surf over to bugs.freedesktop.org the screen turned black again and successfully recovered with a little help of Magic SYSRQ + k (so the trend seems to be that it's getting better but we're not quite there yet) ...

will post full dmesg with info *after* 2nd crash here, too

more looks like it's related to #79980 than being a separate bug (currently posing this from within firefox 31)

Signature · 2 lines
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

#27 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #26 from [email protected] ---
Created attachment 103841
--> https://bugs.freedesktop.org/attachment.cgi?id=103841&action=edit
full dmesg output with the 2 crashes included (Magic SYSRQ + k), reiserfs is /boot (storing the info there)

summary: 1st crash happened within fluxbox + chromium (html5 video) on youtube, movie trailers

right after Magic SYSRQ + k, xdm (slim) came up again

erroneously got into Xfce4 + compiz-fusion,

then exited and got into fluxbox + chromium again

here the

2nd crash happened during attempt to open up/loading of bugs.freedesktop.org (via chromium)

now posting this information from fluxbox + firefox 31 (compiled on this system) still on the running system (no system reboot !) - so gpu state got more stable than previous drm-next-3.17-rebased-on-fixes

dmesg output seems to suggest that it's still related & an issue introduced with the recent GPUVM changes

hope this information is valuable and helps in tracking down where the problem lies

Signature · 2 lines
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

#28 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #27 from [email protected] ---
Created attachment 103843
--> https://bugs.freedesktop.org/attachment.cgi?id=103843&action=edit
Xorg.0.log, after several crashes X can't be opened/used anymore, device seems unavailable

not sure if to post this here or in #79980,

but when continuing usage after the gpu gets unstable with chromium-usage (so using chromium in browsing in complex sites; chromium with adobe flash player [youtube !]; chromium with HTML5 video [youtube] - seems to mostly accelerate & more easily trigger the common issue with #79980 ?)

the following end-result is visible in the attached Xorg.0.log, the gpu isn't accessible anymore and a system reboot is necessary

usage-pattern was following:

- firefox - browsing the web, viewing wallpapers, gmail, google plus
- gnote - writing notes
- switching between firefox and gnote

desktop environment used was Xfce4 + compiz-fusion; past experience has shown that it doesn't matter whether composited or not (fluxbox, xfce4+compiz-fusion, kde4+kwin, razor-qt + kwin); so no difference since opengl or webgl acceleration is used anyway

(opengl); webgl might be something further to investigate -

the "issue" is, however that all of this works in 99%-100% with 3.14 kernel for me

Signature · 2 lines
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

#29 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #28 from [email protected] ---
Created attachment 103844
--> https://bugs.freedesktop.org/attachment.cgi?id=103844&action=edit
full dmesg output with all the crashes included, X (via xdm/slim or startx) can't be launched anymore

Signature · 2 lines
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

#30 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #29 from [email protected] ---
using the new firmware
(http://people.freedesktop.org/~agd5f/radeon_ucode/ucode.tar.gz) didn't seem to make a change in stability:

starting in fluxbox
+ firefox
+ gnote

watching videos on youtube (adobe flash player) for several minutes, writing some notes in gnote, exiting; gmail, google+

starting in Xfce4+ compiz-fusion, exiting

starting in fluxbox
+ firefox
+ gnote

browsing, watching wallpapers, gmail, google+

text corruption, especially in gmail & google search results occured with:

radeon 0000:01:00.0: Packet0 not allowed!

couldn't pinpoint what triggered it, several occurences in dmesg

starting up chromium, browsing youtube (adobe flash explicitly disabled), wanted to watch a video (HTML5 video), screen doesn't react anymore, turns black

gpu/screen turns black, hardlock

will attach dmesg later, no suspicious content besides

radeon 0000:01:00.0: Packet0 not allowed!

any useful data in connection with chromium -> hardlock, all data lost

Signature · 2 lines
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

#31 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #30 from [email protected] ---
@Aaron:

you tried running Chromium without hardware acceleration ? just booted up latest drm-next-3.17-rebased-on-fixes with newest firmware/ucode & running chromium

@Michel:

would it help to run chromium without hardware acceleration to get some meaningful information ?

I'm slowly running out of ideas on what else to try :/

Signature · 2 lines
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

#32 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #31 from [email protected] ---
related:

https://bugs.freedesktop.org/show_bug.cgi?id=39469

https://bugzilla.kernel.org/show_bug.cgi?id=38792

?

so it's more of a userspace issue ?

Signature · 2 lines
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

#33 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #32 from [email protected] ---
with hardware acceleration disabled no crashes, lockups, etc. within 4-4.5 hours,

now running chromium with

R600_LLVM=0 R600_DEBUG=sb,sbsafemath,nollvm chromium-browser

== LLVM is disabled

and watching HTML5 videos,

did a little search through bugs.freedesktop.org:

radeonsi isn't the only chipset family affected: intel cards hd2000, hd3000, hd4000; gm45, gm965, i915 (sandybridge, ivybridge, haswell, etc.), or other radeons are also affected in different ways

Signature · 2 lines
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

#34 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #33 from [email protected] ---
Created attachment 103895
--> https://bugs.freedesktop.org/attachment.cgi?id=103895&action=edit
dmesg: X crashing while playing HTML5 video movie trailers on youtube, LLVM disabled, sb backend

so it at least doesn't seem to be caused by LLVM and/or vdpau,

must be something else in combination with the hardware acceleration

Signature · 2 lines
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

#35 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #34 from [email protected] ---
(In reply to comment #33)

Quoted 7 lines

Created attachment 103895 [details]
dmesg: X crashing while playing HTML5 video movie trailers on youtube, LLVM disabled, sb backend

so it at least doesn't seem to be caused by LLVM and/or vdpau,

must be something else in combination with the hardware acceleration

this was with hardware acceleration enabled

Signature · 2 lines
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

#36 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #35 from Aaron B <[email protected]> --- Created attachment 103896
--> https://bugs.freedesktop.org/attachment.cgi?id=103896&action=edit
Steam crash because of Chromium crash.

This is a log of steam trying to play CSS with Chromium open, which crashed, so we got a good and new log. Shows the VM dies.

Also, in dmesg got a new error among the GPU resets attempts:

[63446.944129] radeon 0000:01:00.0: still active bo inside vm

This was after a crash that failed to recover and dropped to a TTY screen. Not much, but it's something new for me.

Signature · 2 lines
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

#37 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #36 from [email protected] --- Google Chrome 38 disabled lots of stuff (about:gpu) :

Graphics Feature Status
Canvas: Software only. Hardware acceleration disabled
Flash: Hardware accelerated
Flash Stage3D: Software only, hardware acceleration unavailable Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable
Compositing: Hardware accelerated
Rasterization: Software only, hardware acceleration unavailable Threaded Rasterization: Enabled
Video Decode: Software only, hardware acceleration unavailable Video Encode: Hardware accelerated
WebGL: Hardware accelerated

had some features explicitly disabled via about:flags:

enable-zero-copy: off
enable-one-copy: off
accelerated overflow scroll: off
disable accelerated 2D Canvas (disabled anyway)
Composite fixed position elements: off
Composite RenderLayers with transitions: off
Composite fixed root backgrounds: off

hardlock occured with this running on razor-qt with kwin + opengl compositing

after 25 minutes of movie trailers watching in youtube (forgot to explicitely disable adobe-flash, 1 flash video, the others were HTML5 video)

so unfortunately no log

will now try with hardware acceleration disabled & flash player enabled

as mentioned in bug #79980 there, however, also was a crash with firefox browsing on composited Xfce (compiz-fusion) with hardware acceleration disabled

there could be a common issue ... or not

Signature · 2 lines
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

#38 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #37 from Aaron B <[email protected]> --- VLC also, rarely, has the crashing problem with simple video output acceleration.

Signature · 2 lines
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

#39 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #38 from Michel Dänzer <[email protected]> --- (In reply to comment #32)

Quoted 1 line

R600_DEBUG=sb,sbsafemath,nollvm chromium-browser

Those debugging options only have an effect with the r600g driver, not with radeonsi.

Quoted 3 lines

radeonsi isn't the only chipset family affected: intel cards hd2000, hd3000, hd4000; gm45, gm965, i915 (sandybridge, ivybridge, haswell, etc.), or other radeons are also affected in different ways

r600g issues might be related, but most definitely not Intel GPU ones.

Signature · 2 lines
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

#40 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #39 from [email protected] ---
(In reply to comment #38)

Quoted 6 lines

(In reply to comment #32)

Quoted 1 line

R600_DEBUG=sb,sbsafemath,nollvm chromium-browser

Those debugging options only have an effect with the r600g driver, not with radeonsi.

are the other ways to temporarily disable LLVM for debugging in radeonsi ?

gentoo ebuilds force users to compile mesa & radeonsi with llvm - so that seemingly is the only way of operation with these kind of chipsets/cards ?

Quoted 6 lines
Quoted 4 lines

radeonsi isn't the only chipset family affected: intel cards hd2000, hd3000, hd4000; gm45, gm965, i915 (sandybridge, ivybridge, haswell, etc.), or other radeons are also affected in different ways

r600g issues might be related, but most definitely not Intel GPU ones.

so things are implemented *that* differently between intel & radeon drivers ?

Signature · 2 lines
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

#41 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #40 from Alex Deucher <[email protected]> --- (In reply to comment #39)

Quoted 2 lines

are the other ways to temporarily disable LLVM for debugging in radeonsi ?

llvm is required for radeonsi.

Signature · 2 lines
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

#42 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #41 from [email protected] ---
Created attachment 104076
--> https://bugs.freedesktop.org/attachment.cgi?id=104076&action=edit
dmesg-output after 25 minute hardware-accelerated html5 video crash, no hardlock this time (Magic SYSRQ works), screen corruption (screen subdivided horizontally into ~18 parts)

kernel running with drm-next-3.17-rebased-on-fixes applied on top of 3.16-rc6

latest commit:
author Christian König <[email protected]> 2014-07-28 11:30:12
(GMT)
committer Alex Deucher <[email protected]> 2014-08-04 21:45:53
(GMT)
commit fa783807977da98da35590fd1d5efdfd4f33fd59 (patch)
tree 0f1573ae770843228930a0f278a82eb5d482a4c5
parent 5fc6854683aad9ae8b711cbe0d824c11b4aad66c (diff)
drm/radeon: allow userptr write access under certain conditions

several hours of pushing and trying to get X/system lockup with firefox (hardware acceleration enabled) and watching & opening up large jpg images - showed that at least that issue was resolved (Bug #81612 )

Then now proceeded to re-test HTML5 video with hardware acceleration (hardware acceleration disabled was seemingly stable so far)

the funny thing: each of the last 3 test attempts after pretty much exactly 25 minutes it tends to lock up X

reproducer: chromium 38.0.2107.3 (previous versions should also work), but this one has more options disabled which should rule out other crash/instability triggers,

youtube.com ,
keywords: movie trailers 2014

watching random movie trailers with preferrably 1080p (some only available in 720p)

result: screen content locks up, mouse still movable for a short time & sound continuing, the screen turning black - (box locking up/hardlock - this time *not*) - this time: (in total 2) attempts to salvage via Magic SYSRQ + k

screen flickers, another Magic SYSRQ + k

screen turns on again, mentioned screen corruption (screen subdivided horizontally into ~18 parts) with mostly white and green color in the shape of tiles

took a photo, if needed

so we got a *clear* improvement: the box does *not* hardlock anymore, Magic SYSRQ key works again and screen attempts to recover with Magic SYSRQ + k,

but it's not successful yet

hope the information of dmesg helps with further adding some ideas on how to solve this

added the following patchset (patches 2-7) on top of that kernel
https://lkml.org/lkml/2014/8/3/120 ([PATCH 0/7] locking/rwsem: enable reader opt-spinning & writer respin ), not sure if that might increase stability

Cheers

Signature · 2 lines
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

#43 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #42 from Aaron B <[email protected]> ---
I've been able to get lucky and not get a hard lock most of the time. You HAVE to wait 10 seconds for the drm to reset the GPU. The patch didn't improve or change anything, I've seen those results for a while.

Signature · 2 lines
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

#44 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #43 from [email protected] ---
(In reply to comment #42)

Quoted 3 lines

I've been able to get lucky and not get a hard lock most of the time. You HAVE to wait 10 seconds for the drm to reset the GPU. The patch didn't improve or change anything, I've seen those results for a while.

any special commands you append to the radeon driver ? defaults (no special settings) ?

is it compiled into the kernel ? initramfs ?

thanks, will wait next time for 10+ seconds and crossing fingers

Signature · 2 lines
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

#45 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #44 from Maciej <[email protected]> ---
Testing Oibaf repo with kernel 3.16 under Ubuntu Gnome 14.04 - no issues after few hours using Chrome Beta (even tried with #ignore-gpu-blacklist flag). At least on my machine (7770) this issue looks to be Ubuntu 14.04 only.

Signature · 2 lines
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

#46 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #45 from Aaron B <[email protected]> ---
I'm on Arch, from Mint, and have the issue on both. If you still don't have a crash for a while, lets start comparing chrome/DE settings. I'm on an R9 270X, which is a 7850 reclocked AFAIK.

Signature · 2 lines
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

#47 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #46 from Michel Dänzer <[email protected]> --- (In reply to comment #43)

Quoted 1 line

any special commands you append to the radeon driver ?

If you're still using radeon.hard_reset=1, you might try dropping that.

Signature · 2 lines
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

#48 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #47 from arnej <[email protected]> ---
Created attachment 104430
--> https://bugs.freedesktop.org/attachment.cgi?id=104430&action=edit
dmesg

I also have these problems. I attached my dmesg.

Until now (mesa 10.2.5), my system always hung completely and I had to reboot. Now I'm using mesa git and the screen goes blank, sound continues from the youtube video, and after about 10 seconds the screen is back and usable again.

Signature · 2 lines
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

#49 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #48 from Aaron B <[email protected]> ---
One way to trigger the bug pretty darn often is to run chromium for a while, then start an opengl game. I start TF2 and very, very often get a complete crash. The game usually closes, the browser stays open, though, if it recovers. Does that help any to know we can trigger it pretty often like that?

Signature · 2 lines
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

#50 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #49 from TheLetterN <[email protected]> --- I may have found a way to reliably trigger this bug. However, this is based on the assumption that this bug is also in Drivers/Gallium/r600 (Arch with mesa version 10.2.5-1) which is what I'm using on my sysem with a Radeon HD 5870. I'm posting here because the symptoms and error messages are exactly the same, and it looks like this bug is present in multiple mesa drivers, and I couldn't find a relevant bug posting in /Drivers/Gallium/r600.

So if anyone is willing to test it, I've found that using certain abilities in Tales of Maj'Eyal 64-bit Linux ( http://te4.org/ ) triggers the GPU lockup. Specifically, using the ability "Death Dance" will trigger it, and I believe something being called by the spinningwinds.lua and spinningwinds.frag scripts within t-engine4-linux64-1.2.3/game/modules/tome-1.2.2-gfx.team//data/gfx/shaders/ is causing it.

Unfortunately you'd have to make a berserker character and get to level 8 and 28 strength to unlock "Death Dance", so I've uploaded a gzipped save file you can extract and put in ~/.t-engine/4.0/tome/save/ That should work for testing if it triggers the GPU lock.

http://s000.tinyupload.com/index.php?file_id=67207270324448074311

Signature · 2 lines
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

#51 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #50 from Michel Dänzer <[email protected]> --- (In reply to comment #49)

Quoted 1 line

I may have found a way to reliably trigger this bug. [...]

Please file your own report. In the unlikely case that it is indeed the same bug as this report is about, it'll be easy to merge the reports.

Signature · 2 lines
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

#52 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #51 from Maciej <[email protected]> --- Any news? Mesa from 10.2 and up is still unusable on 7770.

Signature · 2 lines
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

#53 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #52 from Aaron B <[email protected]> ---
Nope, still having daily crashes with Chromium and VLC. Although I haven't been able to build mesa 32 or 64 in a week because git always hangs at 99 damn percent.

Signature · 2 lines
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

#54 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #53 from Maciej <[email protected]> ---
I upgraded xserver from 1.15 to 1.16 today and it looks like issue is gone. I even tried to reproduce the bug by running multiple flash instances and it didn't hang. Can anyone confirm that this bug doesn't occur on 1.16?

Signature · 2 lines
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

#55 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #54 from Aaron B <[email protected]> --- I'm on 3.16 and have been for a while, it definitely is still in there.

Signature · 2 lines
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

#56 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #55 from Aaron B <[email protected]> --- 1.16* Whoops, not talking the kernel.

Signature · 2 lines
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

#57 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #56 from Clément Guérin <[email protected]> ---
I had this bug because I forced hw acceleration ON in Chromium (about:flags). Now that everything is set as default it's stable as rock. No crash in two days, before that it was more like 5-6 crashes a day.

Arch Linux with latest mesa-git/llvm-svn, Linux 3.16. HD 7950

Signature · 2 lines
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

#58 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #57 from Maciej <[email protected]> ---
Well, after a day the bug is back, so xserver update didn't help. @Clément Guérin - I have this bug on default Chrome, turning on HW just makes it more frequent.

Signature · 2 lines
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

#59 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #58 from Aaron B <[email protected]> ---
I would also like to add, if this happens three times in quick succession (Have chrome running with an OpenGL game starting/Level loading in a game) it'll sometimes have 3 quick fail and recovers. If it does happen 3 times in a row, X dies and it throws up a few "Couldn't schedule IB" with possibly a previous "Still active IB in BO." or two to the kernel log. This is pretty rare, but about one out of every 5 crashes when I'm starting a game and Chromium/Mesa fail to start the OpenGL app will fail in such a manner, although it has also happened with just Chromium, but that is much more rare.

Signature · 2 lines
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

#60 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #59 from Aaron B <[email protected]> ---
*Still active OB in VM"* Just had about 3 crashes in 2 hours. This is a joke of a bug that it seems nobody cares, and probably affects all SI, and probably R600 users.

Signature · 2 lines
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

#61 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #60 from Aaron B <[email protected]> ---
I mean, if it helps, every crash is always during a situation where new graphics information would be loaded up to the card, that can't me that much of the Mesa code since I'd imagine the most complex part is all the OpenGL standards compliance.

I run my R9 270X on a PCIe 3.0 port on a M5A99FX Pro 2.0 Evo motherboard. Anyone else on majorly different hardware and have this problem?

(Fun fact, it had an uncovered crashed while I was typing this in, no other screen updates at all.)

Signature · 2 lines
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

#62 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #61 from Damian Nowak <[email protected]> --- My story: https://bugs.freedesktop.org/show_bug.cgi?id=65963#c4

tl;dr Mesa 10.1.4 is the last version that doesn't cause the problem.

Signature · 2 lines
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

#63 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Damian Nowak <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #62 from Damian Nowak <[email protected]> --- *** Bug 65963 has been marked as a duplicate of this bug. ***

Signature · 2 lines
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

#64 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #63 from Michel Dänzer <[email protected]> --- (In reply to comment #61)

Quoted 1 line

tl;dr Mesa 10.1.4 is the last version that doesn't cause the problem.

If somebody could bisect that regression between Mesa 10.1 and 10.2, that would be very helpful. See https://bugs.freedesktop.org/show_bug.cgi?id=79696#c21 for some hints.

Signature · 2 lines
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

#65 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #64 from Christian König <[email protected]> --- (In reply to comment #58)

Quoted 8 lines

I would also like to add, if this happens three times in quick succession (Have chrome running with an OpenGL game starting/Level loading in a game) it'll sometimes have 3 quick fail and recovers. If it does happen 3 times in a row, X dies and it throws up a few "Couldn't schedule IB" with possibly a previous "Still active IB in BO." or two to the kernel log. This is pretty rare, but about one out of every 5 crashes when I'm starting a game and Chromium/Mesa fail to start the OpenGL app will fail in such a manner, although it has also happened with just Chromium, but that is much more rare.

Regarding this you could try Alex drm-next-3.18 branch, it contains some reset work from Maarten Lankhorst and me and should address this issue.

But nerveless bisecting what causes the crash to appear between mesa 10.1.4 and 10.2 sound like a good idea to me.

Signature · 2 lines
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

#66 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #65 from Aaron B <[email protected]> ---
I don't know what changed, if anything, but I did upgrade Chrome about 3 days ago, and now the past 2 days ever since I saw them mentioning more then 3-4 crashes a day, I'm running into 15-20 crashes a day. I can't do anything with Chrome. Next time I watch a video, we'll see if that went down in stability. LIke I said though, I did upgrade Chrome, but I don't remember any regressions in the first day of use. Maybe I didn't close it so I wasn't running on the new version, but still my crash numbers have gone through the roof now, I can't keep chrome open at all unless it's needed.

Signature · 2 lines
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

#67 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #66 from Christian König <[email protected]> --- (In reply to comment #65)

Quoted 8 lines

I don't know what changed, if anything, but I did upgrade Chrome about 3 days ago, and now the past 2 days ever since I saw them mentioning more then 3-4 crashes a day, I'm running into 15-20 crashes a day. I can't do anything with Chrome. Next time I watch a video, we'll see if that went down in stability. LIke I said though, I did upgrade Chrome, but I don't remember any regressions in the first day of use. Maybe I didn't close it so I wasn't running on the new version, but still my crash numbers have gone through the roof now, I can't keep chrome open at all unless it's needed.

Well that at least makes the issue more reproducible. Could you try grabbing an apitrace log what what's going wrong?

That would really help.

Signature · 2 lines
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

#68 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #67 from Aaron B <[email protected]> --- Created attachment 105569
--> https://bugs.freedesktop.org/attachment.cgi?id=105569&action=edit
API trace of a crash.

Quoted 10 lines

(In reply to comment #65)

Quoted 8 lines

I don't know what changed, if anything, but I did upgrade Chrome about 3 days ago, and now the past 2 days ever since I saw them mentioning more then 3-4 crashes a day, I'm running into 15-20 crashes a day. I can't do anything with Chrome. Next time I watch a video, we'll see if that went down in stability. LIke I said though, I did upgrade Chrome, but I don't remember any regressions in the first day of use. Maybe I didn't close it so I wasn't running on the new version, but still my crash numbers have gone through the roof now, I can't keep chrome open at all unless it's needed.

Quoted 4 lines

Well that at least makes the issue more reproducible. Could you try grabbing an apitrace log what what's going wrong?

That would really help.

This what you're looking for?

Signature · 2 lines
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

#69 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #68 from Michel Dänzer <[email protected]> --- (In reply to comment #67)

Quoted 1 line

This what you're looking for?

No, we're looking for the /home/aaron/chromium.*.trace file generated by apitrace corresponding to the crash.

BTW, can you try if Mesa 10.1 is stable for you as well? And if so, bisect?

Signature · 2 lines
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

#70 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #105569|0                           |1

is obsolete| |

--- Comment #69 from Aaron B <[email protected]> --- Created attachment 105581
--> https://bugs.freedesktop.org/attachment.cgi?id=105581&action=edit
chromiumapitrace

(In reply to comment #68)

Quoted 7 lines

(In reply to comment #67)

Quoted 1 line

This what you're looking for?

No, we're looking for the /home/aaron/chromium.*.trace file generated by apitrace corresponding to the crash.

BTW, can you try if Mesa 10.1 is stable for you as well? And if so, bisect?

If I get time I'll compile Mesa 10.1 32 and 64 bit and see if they work. No promises, as git always fails either on or right after receiving 99% of objects, so I have to try about 20 times to even attempt compile basically anything.

Still, you're in luck as I started an API Trace and as soon as my browser started to open, it killed it, so it's a nice and pair of traces.

Signature · 2 lines
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

#71 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #105581|0                           |1

is obsolete| |

Signature · 2 lines
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

#72 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #70 from Aaron B <[email protected]> --- Wrong file. This is the right file:

https://drive.google.com/file/d/0B1laUfqMuZQBeWpHSDYtV2N3RjQ/edit?usp=sharing

Signature · 2 lines
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

#73 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #71 from Michel Dänzer <[email protected]> --- (In reply to comment #70)

Quoted 1 line

https://drive.google.com/file/d/0B1laUfqMuZQBeWpHSDYtV2N3RjQ/edit?usp=sharing

Can you reproduce the crash by feeding those traces to glretrace?

(In reply to comment #69)

Quoted 4 lines

If I get time I'll compile Mesa 10.1 32 and 64 bit and see if they work. No promises, as git always fails either on or right after receiving 99% of objects, so I have to try about 20 times to even attempt compile basically anything.

Note that you only really need to clone a Git repository once, after that all the history (including all the commits you might need to test during the bisection) is available locally.

Signature · 2 lines
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

#74 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #72 from Aaron B <[email protected]> --- (In reply to comment #71)

Quoted 7 lines

(In reply to comment #70)

Quoted 1 line

https://drive.google.com/file/d/0B1laUfqMuZQBeWpHSDYtV2N3RjQ/edit?usp=sharing

Can you reproduce the crash by feeding those traces to glretrace?

(In reply to comment #69)

Quoted 8 lines
Quoted 4 lines

If I get time I'll compile Mesa 10.1 32 and 64 bit and see if they work. No promises, as git always fails either on or right after receiving 99% of objects, so I have to try about 20 times to even attempt compile basically anything.

Note that you only really need to clone a Git repository once, after that all the history (including all the commits you might need to test during the bisection) is available locally.

Yeah, but I build it with yaourt, which likes to contain it's gits elsewhere and apparently deletes them every time as you can't keep a clone unless it's in the same session. I would work on getting 2-3 clones and uploading them to my git and copying from that if need be, but it's just tons of work for me. Like I said, I have to try about 20 times to even clone anything, it's a severe pain.

And running glretrace about 10 times on the trace files, no beans on getting another crash.

[aaron@Aaron-Arch Chromiumapitrace]$ glretrace chromium.trace 0 64 glXSwapIntervalMESA(interval = 1) = 0
64: warning: unsupported glXSwapIntervalMESA call Rendered 150 frames in 2.68355 secs, average of 55.8961 fps [aaron@Aaron-Arch Chromiumapitrace]$

Signature · 2 lines
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

#75 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #73 from Aaron B <[email protected]> ---
I'm not having any luck bisecting, because I can't even get mesa-10.1.4 to compile. I recompiled LLVM with R600 and everything, but still no dice. Could it be I'm using LLVM 3.6 or should there be no functional difference? I'm getting errors for non-existent members and implicit function declarations. If I could get it to compile I probably could have had it bisected, but looks like I can't do it right now.

Signature · 2 lines
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

#76 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #74 from Michel Dänzer <[email protected]> --- (In reply to comment #73)

Quoted 1 line

Could it be I'm using LLVM 3.6 [...]

Yes, only released versions of LLVM can be supported by released versions of Mesa. Even LLVM 3.5 is only being released now, so you might need LLVM 3.4(.y) for Mesa 10.1.

Signature · 2 lines
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

#77 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #75 from Michel Dänzer <[email protected]> --- (In reply to comment #72)

Quoted 3 lines

Yeah, but I build it with yaourt, which likes to contain it's gits elsewhere and apparently deletes them every time as you can't keep a clone unless it's in the same session.

Sounds like a severe yaourt limitation, but maybe you can convince it to clone an existing local repository instead of a remote one?

Quoted 2 lines

And running glretrace about 10 times on the trace files, no beans on getting another crash.

Then those trace files won't help others reproduce the problem either unfortunately, let alone fix it.

Signature · 2 lines
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

#78 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #76 from Aaron B <[email protected]> ---
Ah, okay. Yeah, dropped to LLVM 3.4 and we're good to go. I'll report any results I find interesting or believe may be problematic soon, along with my bisect paths. I have 4 days off, so I'll probably be posting here a lot if I get anything. Also helps I'm currently working on getting my projects to a publishable state so I'll be in the programming-debugging mood to boot.

Signature · 2 lines
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

#79 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #77 from Aaron B <[email protected]> --- Took a few hours, but only one shot thankfully.

first bad commit: [0e7b0f2a0ad3818d02907746a86568c264c97701] meta: Refactor binding of renderbuffer as texture image

http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e7b0f2a0ad3818d02907746a86568c264c97701

I think this is all you guys, now.

Signature · 2 lines
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

#80 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #78 from Marek Olšák <[email protected]> --- (In reply to comment #77)

Quoted 9 lines

Took a few hours, but only one shot thankfully.

first bad commit: [0e7b0f2a0ad3818d02907746a86568c264c97701] meta: Refactor binding of renderbuffer as texture image

http://cgit.freedesktop.org/mesa/mesa/commit/
?id=0e7b0f2a0ad3818d02907746a86568c264c97701

I think this is all you guys, now.

That commit doesn't have any effect on radeonsi. Back to square one I guess.

Signature · 2 lines
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

#81 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #79 from Michel Dänzer <[email protected]> ---
Aaron, most likely the bisection didn't work because you marked commits as good which would have shown the problem after more testing. I'm afraid you'll have to test longer before declaring a commit as good.

Signature · 2 lines
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

#82 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #80 from Aaron B <[email protected]> --- (In reply to comment #79)

Quoted 3 lines

Aaron, most likely the bisection didn't work because you marked commits as good which would have shown the problem after more testing. I'm afraid you'll have to test longer before declaring a commit as good.

Hmm, okay, I'll try again. I'll test for about 8 hours this time. I don't have the best grasp of the Mesa works, but I didn't think I screwed up as it seemed to be something related to multisampler blitting which sounds darn close to what is screwed up.

Starting over.

Signature · 2 lines
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

#83 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #81 from Michel Dänzer <[email protected]> --- (In reply to comment #80)

Quoted 1 line

Hmm, okay, I'll try again. I'll test for about 8 hours this time.

Thanks. Basically, you need to test for at least as long as it's ever taken for the problem to appear. A multiple of that would be even better.

Quoted 3 lines

I don't have the best grasp of the Mesa works, but I didn't think I screwed up as it seemed to be something related to multisampler blitting which sounds darn close to what is screwed up.

The meta code is only used by classic drivers, not by Gallium based drivers.

Signature · 2 lines
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

#84 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #82 from Aaron B <[email protected]> ---
I'm still bisecting, but I just want to say I suck at it and I'll probably need at least 2 bisects to the same point, if not more. I'm trying to be patient, but on the old Mesa's the glitch just takes so long to do, even when I set it up to do it.

So, should I skip to bisecting if this DMA patch that was just proposed is the source of our problem, also?

https://bugs.freedesktop.org/show_bug.cgi?id=83500

Signature · 2 lines
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

#85 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #83 from Aaron B <[email protected]> --- This bisect put me here, which looks like it didn't go as planned again...

http://cgit.freedesktop.org/mesa/mesa/commit/?id=78578b759943cb198d34eedc00b3408c1599f6ec

I'm going to give up for now, maybe when I don't have so many other things going on I'll bisect it over a week or so.

Signature · 2 lines
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

#86 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #84 from Clément Guérin <[email protected]> --- Awesome work Aaron, don't give up!

Signature · 2 lines
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

#87 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #85 from Aaron B <[email protected]> ---
I won't. I just am the typical programmer...it takes a while to trace it, but why not just look for other broken stuff? Someone else has to have better ability to do it and find what is causing it before I take a week to trace it completely. :)

I've been using the patch I linked to for half a day now, the disabling 1D tiling in conjunction with ReadonSI DMA. I have had no Chromium crashes. I did have an odd crash in steam while playing a flash video on a game page in large mode, but I don't believe it to be related. I'll report in later as to if I believe it is a valid work around, for now it seems good though.

Signature · 2 lines
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

#88 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #86 from Aaron B <[email protected]> ---
1 day since I compiled mesa with the 2nd patch here, all is well and stable.

https://bugs.freedesktop.org/show_bug.cgi?id=83500

Signature · 2 lines
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

#89 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #87 from Michel Dänzer <[email protected]> --- (In reply to comment #86)

Quoted 1 line

https://bugs.freedesktop.org/show_bug.cgi?id=83500

I think in the meantime Grigori has seen GPU hangs even with that patch though, with 2D tiling.

However, can you avoid the problem if you start Chromium with the environment variable R600_DEBUG=nodma?

Signature · 2 lines
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

#90 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #88 from Aaron B <[email protected]> --- (In reply to comment #87)

Quoted 8 lines

(In reply to comment #86)

Quoted 1 line

https://bugs.freedesktop.org/show_bug.cgi?id=83500

I think in the meantime Grigori has seen GPU hangs even with that patch though, with 2D tiling.

However, can you avoid the problem if you start Chromium with the environment variable R600_DEBUG=nodma?

I was waiting for someone to comment before I updated my status. I have had one crash, one of the ones where X dies because of 3 quick lock ups+recovers. But, considering that was the only crash in 2 days, it's much better than before. I also didn't know if the crash was Chromium or not, because I was alt+tabing into other windows, but I'd bet it was. Let me recompile mesa fresh and try launching Chromium and let you know the end of today if disabling also fixes it.

Signature · 2 lines
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

#91 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #89 from Maciej <[email protected]> ---
Could someone please fix this already? Mesa 10.2.x, 10.3-RC and git are simply unusable on 7770.

Signature · 2 lines
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

#92 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #90 from Aaron B <[email protected]> ---
My testing has been delayed since they pushed LLVM 3.5 to stable on Arch, but they changed one of the function's parameters. Then, 3.6 compiles perfectly for 64-bit, yet when compiling 32-bit, it fails to link. So I've been stuck using repro's of 10.2.7 which...seems better, but it still does crash. Maybe it a memory/buffer overrun problem, because the versions are either god-awful, or somewhat usable with only a rare hiccup, which more recent versions just getting worse and worse. But like I said, I can't compile basically anything right now until everyone gets their stuff straight on function names and parameters.

Signature · 2 lines
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

#93 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #91 from Michel Dänzer <[email protected]> --- (In reply to comment #89)

Quoted 2 lines

Could someone please fix this already? Mesa 10.2.x, 10.3-RC and git are simply unusable on 7770.

I'm sorry to hear that. We're working on it, but since we haven't been able to reproduce these issues, we need your help for testing: Does the environment variable R600_DEBUG=nodma help? If not, can you try if Mesa 10.1 is stable for you, and if so, bisect between 10.1 and 10.2?

Signature · 2 lines
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

#94 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #92 from Aaron B <[email protected]> ---
Like I said, I tried. But, it's too hard to reproduce. Unless you do it over a 2 week time span, it's so difficult to find. Maybe he could do it better since his builds seem to crash more if it's completely unusable. But, if you're on arch and don't want to help, stick to 32 and 64-bit LLVM 3.4.2. I can't help for now.

Signature · 2 lines
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

#95 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #93 from Maciej <[email protected]> --- (In reply to comment #91)

Quoted 4 lines

I'm sorry to hear that. We're working on it, but since we haven't been able to reproduce these issues, we need your help for testing: Does the environment variable R600_DEBUG=nodma help? If not, can you try if Mesa 10.1 is stable for you, and if so, bisect between 10.1 and 10.2?

R600_DEBUG=nodma doesn't seem to help, got a hang while typing this comment.

It doesn't happen with Mesa 10.1 from default Ubuntu 14.04 installation, but I need at least Mesa 10.3 and llvm-3.5 for any enjoyable gaming. My choice is either use Mesa for gaming, but then I can't use browser with any sort of hardware acceleration (or flash) or use fglrx for awesome 12fps desktop performance (cause fglrx is broken at all fronts).

As for bisecting, I have no idea how to do that, nor I have time to learn - I'm just a Ubuntu user with no technical skills.

Signature · 2 lines
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

#96 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #94 from Grigori Goronzy <[email protected]> --- Maybe the crash actually happens because of glamor rendering - setting R600_DEBUG won't do anything in that case.

Does this patch to Mesa make any difference?

https://bugs.freedesktop.org/attachment.cgi?id=105745

Signature · 2 lines
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

#97 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #95 from Maciej <[email protected]> --- (In reply to comment #94)

Quoted 6 lines

Maybe the crash actually happens because of glamor rendering - setting R600_DEBUG won't do anything in that case.

Does this patch to Mesa make any difference?

https://bugs.freedesktop.org/attachment.cgi?id=105745

I got a feeling that You guys always expect everyone here to have some sort of skills, but a lot of Linux users have no idea how to compile Mesa, just like me. I can test this if it lands in something like Oibaf PPA, but that's it :/

Signature · 2 lines
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

#98 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #96 from Aaron B <[email protected]> ---
Just a while ago, I was the same way, sort. The main thing is to get away from the not-as-good package manager in Ubuntu, and go with Arch like I did. Package support is amazing because of the AUR, which build source for you, and when you have to do it yourself like us, most of the time you can just grab the config from the auto-installer, which should have 99% of the config options in-place. Like I said, it's screwed ATM, but usually it's pretty painless to compile anything. You just have to try it out. If you email me, I can get you set up with a Mesa build configure for RadeonSI. Then all you have to do is learn how to clone, pull, and patch in git. It's all not too bad. I mean, most LInux people are devs of some sort, so if you want to have a good time, you should put a little more time in and learn how the back-end of Linux and how programs are compiled to have a good time. I'll keep testing, as soon as I find a way to compile LLVM 3.6.

Signature · 2 lines
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

#99 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #97 from Maciej <[email protected]> --- (In reply to comment #96)

Quoted 5 lines

Just a while ago, I was the same way, sort. The main thing is to get away from the not-as-good package manager in Ubuntu, and go with Arch like I did. Package support is amazing because of the AUR, which build source for you, and when you have to do it yourself like us, most of the time you can just grab the config from the auto-installer, which should have 99% of the config

Quoted 8 lines

options in-place. Like I said, it's screwed ATM, but usually it's pretty painless to compile anything. You just have to try it out. If you email me, I can get you set up with a Mesa build configure for RadeonSI. Then all you have to do is learn how to clone, pull, and patch in git. It's all not too bad. I mean, most LInux people are devs of some sort, so if you want to have a good time, you should put a little more time in and learn how the back-end of Linux and how programs are compiled to have a good time. I'll keep testing, as soon as I find a way to compile LLVM 3.6.

I'd rather have my system to just work. Adding PPA takes no effort, setting up something like Arch or compiling Mesa does and I have no time to deal with it. Some of Linux users (I assume mostly those on *buntu distros) are not developers, sysadmins or kernel hackers, we got other jobs and things to do, but we like open source solutions and other benefits of Linux world. I suppose I should just change my GPU to Nvidia and stop giving a fuck, but I prefer open source solutions and AMD is the only choice when it comes to high performance foss drivers.

I'm not bitching or whining here, just clarifying few facts.

I can reports bugs, provide logs, test some PPAs, but please don't patronize me with your linux hacker attitude, I'm not one of You, I'm just a user with different job description who happens to like open source for various reason (messing with code is not one of them).

Signature · 2 lines
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

#100 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #98 from Aaron B <[email protected]> ---
I'm giving you details on how to more help us, and if you can run Linux in any way, and understand how the command line works even remotely, and how packages work, going to a better system/learning one little thing like code compiling isn't hard is my point, if you don't want to, that is fine, but at the same time, even I'm a programmer, and the DRM infrastructure and hardware isn't in my league so I can't help that way, but to help, yeah it's good to get confirmation of bugs, but unless we can patch together and such, it's a long shot from finding the actual problem, since, like I said, it's hard to track down, it's so random.

But still, whoever said AMD has the best FOSS drivers was dead wrong, as they're last AFAIK. Intel and Nvidia patches to Mesa even are 10x more. Our guys on here do good work, it's not their fault AMD as a company won't cater to us, though. They don't have much help, it's 4-5 guys, most of them watching this. I mean, if they ditched their Proprietary drivers made in Hong Kong, which aren't bad when they compile on 2 year old kernels, and contributed to Mesa/DRM, we'd of had good drivers years ago. But they don't, so we're here now, and we gotta be patient. You should have known and understood this before you went to a newer technology card. I mean, I'm mad too, I also want to go with a GTX 770ti, but I'm sticking with this to help get it stable, as without users it's also harder to get software into a usable state over all.

If you want complete usability on your hardware, you should just go windows then, FWIW. As bad as that sounds, if you need it to work, use what does for your hardware, as new hardware in Linux takes time, especially since there's always new hardware. It works for me, just a few bugs, I'm sorry yours is worse, but there's not much any of us can do.

Also, I haven't had a crash in 3 or so days now since I went to LLVM 3.6, even though it doesn't build Mesa with it on 32-bit. Maybe it's fixed, just have to wait for LLVM to update.

Signature · 2 lines
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

#101 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #99 from Emil Velikov <[email protected]> --- Maciej

Just a friendly note from a guy not involved with the radeon drivers or the AMD team.

There is software development and distribution. As the latter differs greatly it is somewhat unexpected for developers to know every distro, how they build their software, how its packaged, distributed etc.
If you are willing to help, apart from reporting issues here, file them with the distribution and obviously link the two. This way they can prepare packages for you (and other affected people) to test.

I fear that explaining over and over again that you don't have experience in building and/or bisecting does not really help. If you have the time to learn - great, otherwise seek assistance from your distribution.

Signature · 2 lines
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

#102 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #100 from Aaron B <[email protected]> ---
I also would like to note that, I just had 2 crashes. Chromium. So it still exists, just seems to happen rarer and rarer for me.

Signature · 2 lines
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

#103 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #101 from Maciej <[email protected]> --- (In reply to comment #98)

Quoted 2 lines
Quoted 1 line

If you want complete usability on your hardware, you should just go windows

then, FWIW.

This here is where Linux desktop issues start - You people drive new users away from this platform, so only devs are here who do not make software for human beings, so it's harder for new users to come here, which results in low market share, which results in lack of proper hardware support which results in even lower market share, good job. If not for Canonical or Valve there would be no Linux desktop at all, all You would be running Open Quake on top of fuckin' Gentoo or Arch with some useless (for average joe, not developer) tiling window manager.

I'm using Linu.. wait, let me correct - I'm using Ubuntu because I like open source for various reasons, hacking the code is not one of them (I'm repeating myself I think, obviously You people can't read any form of human language - "it's not C, I don't understand!"). Also my card is from 2012, it's not even remotely new hardware, get your facts straight.

--------

Emil Velikov

Not sure what difference would it make to file a bug at launchpad from where they will point me right here. Aren't all Mesa devs right here anyway? I'm seeking assistance from Mesa developers, which I heard are paid by AMD (those on AMD team) - which makes me their customer.

I suppose this is wrong place to be a normal person, not a dev, so I'll stay away in the future and meanwhile jump ship to Nvidia camp, fuck You very much (Mesa is great, but Your attitude towards non-developers is terrible).

Signature · 2 lines
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

#104 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #102 from Emil Velikov <[email protected]> --- (In reply to comment #101)

Quoted 7 lines

Emil Velikov

Not sure what difference would it make to file a bug at launchpad from where they will point me right here. Aren't all Mesa devs right here anyway? I'm seeking assistance from Mesa developers, which I heard are paid by AMD (those on AMD team) - which makes me their customer.

Please try to settle for a moment and read the whole "development" vs "distribution" note.

Quoted 4 lines

I suppose this is wrong place to be a normal person, not a dev, so I'll stay away in the future and meanwhile jump ship to Nvidia camp, fuck You very much (Mesa is great, but Your attitude towards non-developers is terrible).

I never said nor hinted that this is the "wrong place for normal people". I feel that once you realise what I meant with "development vs distribution" you will understand that "our attitude" is not terrible. All developers ask is some clear steps in order to understand and fix the issue.

Thanks

Signature · 2 lines
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

#105 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #103 from Aaron B <[email protected]> ---
It seems the more often the build has this bug, the most it ALSO randomly has "blank" and "garbled" frames. Every so often, the screen will shift, or sometimes seem to just go completely blank. I notice in the builds where chrome crashes a ton, this happens a ton. When it doesn't, it also doesn't crash as often.

What are the chances our other hardware could help find this? I dunno what you guys on the AMD dev side run, but I did get an FX-8350, and maybe this has something to do with the vblank patches I saw you guys post, as I remember seeing errors I saw with the vblank patches and talk. I don't know if they were scrapped or what, but could this be tied to any external hardware or bus or something just racing something else? Any way to test for the race conditions, successfully? I mean, I'm back on this current build of mesa, and it's just a mess.

Signature · 2 lines
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

#106 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #104 from Maciej <[email protected]> ---
Easy way to reproduce (though takes some time) is watching any video using mplayer with xv. After few minutes (or an hour) it will hang. Same goes for flash videos, fire up 5 or 6 at once and in no time it should hang.

Watching videos in mplayer with vdpau doesn't result in crash (I watch a lot of movies on this machine with smplayer+vdpau, never hanged with it). Also aside from flash, current Firefox (32) from Ubuntu 14.10 works properly, but if I turn on hardware acceleration (OMCT or something) it behaves just like Chrome (hangs).

Signature · 2 lines
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

#107 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #105 from Aaron B <[email protected]> --- Nobody reproducing this still? I just had another X dying when booting up/starting to transfer GPU data in CSS for a map and I got a new error in between other usuals:

r600_ring_test: *ERROR* Radeon: ring test failed (scratch(0x850C)=0xCAFEDEAD)

Also, looks like our issue, VERY similar in every way, but was supposedly fixed.

https://www.libreoffice.org/bugzilla/show_bug.cgi?format=multiple&id=67187

Is it a power issue? Is it only triggered because a web browser isn't very hard to run, and is constantly switching states depending on use and how much there is to update, while other OpenGL apps like games and such don't crash because they skip problematic states in the PM? Just throwing out whatever sticks, as if that was their issue, it sounds exactly like my issue, even my primary errors with it.

Signature · 2 lines
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

#108 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #106 from Aaron B <[email protected]> --- LibreOffice triggers the bug much, much more than Chromium and VLC. Trying to make a few work documents and update my resume, and it's just not doable.

Signature · 2 lines
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

#109 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #107 from smoki <[email protected]> ---
@Aaron B

Can i suggest something to try if helps, because this bug geting very big,
unreproducable for some people and seems like goes nowhere... so if you build your mesa, try to build it with -mtune=native for both 32bit and 64bit variants, for me recently that (or everything that avoid default -march=generic) make it more faster&stable. bug 83436

Signature · 2 lines
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

#110 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #108 from Aaron B <[email protected]> ---
I have seen the comment, once LLVM becomes unbroken, and GCC becomes unbroken, and everything doesn't suck, I'll recompile it all. But right now, LLVM is broken, and even when compiled, doesn't link right with Mesa/Mesa32, so I can't test for certain right now.

Signature · 2 lines
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

#111 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #109 from Aaron B <[email protected]> --- Crashing still persists with -mtune=native and -march=native on my kernel and mesa 64, and mesa 32 with LLVM 3.5 from Arch's repos. :c

Signature · 2 lines
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

#112 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #110 from Aaron B <[email protected]> ---
I found this post, stating some of the ASUS hardware comes PRE-OVERCLOCKED from the factory. Good chance this is the cause of my instability?

http://www.tomshardware.com/answers/id-2041324/problem-asus-270x-screen-blank-game.html

My GPU:

http://www.newegg.com/Product/Product.aspx?Item=N82E16814121802&nm_mc=KNC-GoogleAdwords&cm_mmc=KNC-GoogleAdwords-_-pla-_-Desktop+Graphics+Cards-_-N82E16814121802&gclid=COjjs6v3_MACFRAR7Aod_2EAqQ

Core clock is listed at 1120 Mhz, not 1050 Mhz.

Signature · 2 lines
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

#113 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #111 from Alex Deucher <[email protected]> --- (In reply to comment #110)

Quoted 6 lines

I found this post, stating some of the ASUS hardware comes PRE-OVERCLOCKED from the factory. Good chance this is the cause of my instability?

http://www.tomshardware.com/answers/id-2041324/problem-asus-270x-screen-
blank-game.html

Quoted 7 lines

My GPU:

http://www.newegg.com/Product/Product.aspx?Item=N82E16814121802&nm_mc=KNC-
GoogleAdwords&cm_mmc=KNC-GoogleAdwords-_-pla-_-Desktop+Graphics+Cards-_- N82E16814121802&gclid=COjjs6v3_MACFRAR7Aod_2EAqQ

Core clock is listed at 1120 Mhz, not 1050 Mhz.

Radeon already limits the clocks in certain cases depending on the vbios tables. You can disable dpm which will keep the chip at the default boot up levels (usually some where in the range of 300e/150m) for testing. Append radeon.dpm=0 to the kernel command line in grub.

Signature · 2 lines
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

#114 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #112 from Aaron B <[email protected]> ---
OKay, I'm testing it now. Can't game at any good framerate, but that is fine. If I get no crashes here, does that mean the random crashes are from changes in power state? It would make sense, sense most of the time is on page loading, or most of the screens pixels changing at the same time. I'm on a 1080p screen via hdmi, maybe that could help you try to replicate it some more.

Signature · 2 lines
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

#115 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #113 from Alexandre Demers <[email protected]> --- I commented out every "return ret;" of si_dpm_set_power_state() in si_dpm.c. After booting this modified kernel, I can confirm this is the only error reported in si_dpm_set_power_state(): every other verification passes OK and it goes down to the very end.

Signature · 2 lines
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

#116 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #114 from Alexandre Demers <[email protected]> --- (In reply to comment #113)

Quoted 4 lines

I commented out every "return ret;" of si_dpm_set_power_state() in si_dpm.c. After booting this modified kernel, I can confirm this is the only error reported in si_dpm_set_power_state(): every other verification passes OK and it goes down to the very end.

Oops, I had too many bugs opened, I wrote this comment in the wrong one.

Signature · 2 lines
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

#117 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #115 from Aaron B <[email protected]> ---
Haha, was it the SI power state ULV one? I was worried I accidentally posted in that and this was a reply. No crashes so far, I'll report tomorrow if I have any, but it seems stable with DPM off. But we'll continue more tomorrow. :)

Signature · 2 lines
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

#118 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #116 from Alexandre Demers <[email protected]> --- I've been reading the comments in fast forward, and I'm sure I'm hitting the same bug.

For info, I'm using a 7950 on Arch 64. I'm running Xorg server 1.16.1. Mesa, drm and ddx are all from the latest git repositories. I was not experiencing this bug yesterday while I was still using a 6950 on Glamor.

Now, I have a log that I can push from just after a hang and reset or from a hang and a badly running Xorg server. There is something about ring 5 not responding. I'll send the file later when I'll get to my desktop.

To trigger the bug in no time, as you, I just have to watch a movie (either flash or html5) on chrome or firefox and wait. Otherwise, going through websites, apps, etc will get you to the same point, but it will take more time.

I must warn you though: chrome/chromium has been hanging with both r600 and readeonsi drivers. It should not be mixed with the current issue, because they are probably two different bugs. Thus, I prefer to use firefox for now to eleminate mixing these two.

Signature · 2 lines
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

#119 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #117 from Aaron B <[email protected]> ---
Well, I'm still on Chromium, and I've forced my GPU from the backlist, because if you don't then it doesn't use all accel so it should be okay. Anyways, I turned off DPM and have no crashing at all, Chromium seems stable, LibreOffice seems stable, and also when you turn off DPM, the "Screen Jumping/corruption" goes away. It seems to be proportional to number of crashes, too. Which I have seen it go away, and no crashes now, so maybe it's related. But without DPM I'd say my GPU is now stable. My R9 270X is ASUS brand from about January, if that would help figure what hardware it has.

Signature · 2 lines
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

#120 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #118 from Alexandre Demers <[email protected]> --- (In reply to comment #117)

Quoted 9 lines

Well, I'm still on Chromium, and I've forced my GPU from the backlist, because if you don't then it doesn't use all accel so it should be okay. Anyways, I turned off DPM and have no crashing at all, Chromium seems stable, LibreOffice seems stable, and also when you turn off DPM, the "Screen Jumping/corruption" goes away. It seems to be proportional to number of crashes, too. Which I have seen it go away, and no crashes now, so maybe it's related. But without DPM I'd say my GPU is now stable. My R9 270X is ASUS brand from about January, if that would help figure what hardware it has.

Well, it points out a problem with dpm. Maybe the uvd class is problematic?

Signature · 2 lines
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

#121 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #119 from Alexandre Demers <[email protected]> --- Small question Alex Deucher or Christian may answer: is it normal ring 5 is completely in a different GPU's memory address area?

[    9.353518] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x00000000c0000c00 and cpu addr 0xffff880411a25c00
[    9.353519] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x00000000c0000c04 and cpu addr 0xffff880411a25c04
[    9.353521] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x00000000c0000c08 and cpu addr 0xffff880411a25c08
[    9.353522] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x00000000c0000c0c and cpu addr 0xffff880411a25c0c
[    9.353524] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x00000000c0000c10 and cpu addr 0xffff880411a25c10
[    9.356425] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr

0x0000000000075a18 and cpu addr 0xffffc90015fb5a18

rings 0 to 4 are all in the same gpu address subset, but not ring 5?

Signature · 2 lines
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

#122 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #120 from Aaron B <[email protected]> ---
I don't know how much it'll help, but I have this running in the background to try to see whatever causes it. It doesn't help much considering I don't have a marker/way to input when the crash starts to happen, but maybe someone has an idea of the best way to do that. Maybe look for messages in dmesg about the rings locking up? Any improvement ideas? You probably will have to adjust the sampling rate and size to fit your computer, my drive is at 50% usage running this, but I can afford it since I have a few drives.

http://ideone.com/V4MkeN

Signature · 2 lines
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

#123 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #121 from Aaron B <[email protected]> --- Created attachment 106942
--> https://bugs.freedesktop.org/attachment.cgi?id=106942&action=edit
DPM Crash log/watch script output.

First log with that script, no markers needed as you can see in the log when the DPM dies, it goes back to no-dpm mode until it recovers.

Signature · 2 lines
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

#124 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #122 from José Suárez <[email protected]> --- Created attachment 106946
--> https://bugs.freedesktop.org/attachment.cgi?id=106946&action=edit
Dmesg log

Signature · 2 lines
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

#125 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #123 from José Suárez <[email protected]> --- (In reply to comment #122)

Quoted 2 lines

Created attachment 106946 [details]
Dmesg log

I am experiencing the same problem described in comment 116. I only use firefox and I am getting hangs consistently whenever I watch a flash or a html5 youtube video. The screen gets black and I have to reboot.

I attached the system dmesg log above.

Signature · 2 lines
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

#126 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #124 from José Suárez <[email protected]> --- Just for an easier read:

Radeon HD 7870 GHZ Edition 2 GB
FX 8150 @ 3700 MHz
16 GB RAM

Linux 3.17-rc5, with mesa 10.4~git1409200730.4eb2bb compiled with llvm 3.6~svn217413 on Kubuntu 14.04 with all the latest updates (including firefox).

Signature · 2 lines
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

#127 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #125 from José Suárez <[email protected]> --- Created attachment 106947
--> https://bugs.freedesktop.org/attachment.cgi?id=106947&action=edit
X.org log

Signature · 2 lines
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

#128 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #126 from Christian König <[email protected]> --- (In reply to comment #119)

Quoted 13 lines

Small question Alex Deucher or Christian may answer: is it normal ring 5 is completely in a different GPU's memory address area?

[    9.353518] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x00000000c0000c00 and cpu addr 0xffff880411a25c00
[    9.353519] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x00000000c0000c04 and cpu addr 0xffff880411a25c04
[    9.353521] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x00000000c0000c08 and cpu addr 0xffff880411a25c08
[    9.353522] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x00000000c0000c0c and cpu addr 0xffff880411a25c0c
[    9.353524] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x00000000c0000c10 and cpu addr 0xffff880411a25c10
[    9.356425] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr
Quoted 3 lines

0x0000000000075a18 and cpu addr 0xffffc90015fb5a18

rings 0 to 4 are all in the same gpu address subset, but not ring 5?

Yes that's perfectly normal. Ring 5 is the UVD ring and that needs to have it's fence in the first 256MB of VRAM.

Signature · 2 lines
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

#129 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #127 from Alexandre Demers <[email protected]> --- (In reply to comment #126)

Quoted 16 lines

(In reply to comment #119)

Quoted 15 lines

Small question Alex Deucher or Christian may answer: is it normal ring 5 is completely in a different GPU's memory address area?

[    9.353518] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr
0x00000000c0000c00 and cpu addr 0xffff880411a25c00
[    9.353519] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr
0x00000000c0000c04 and cpu addr 0xffff880411a25c04
[    9.353521] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr
0x00000000c0000c08 and cpu addr 0xffff880411a25c08
[    9.353522] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr
0x00000000c0000c0c and cpu addr 0xffff880411a25c0c
[    9.353524] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr
0x00000000c0000c10 and cpu addr 0xffff880411a25c10
[    9.356425] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr

0x0000000000075a18 and cpu addr 0xffffc90015fb5a18

Quoted 4 lines
Quoted 1 line

rings 0 to 4 are all in the same gpu address subset, but not ring 5?

Yes that's perfectly normal. Ring 5 is the UVD ring and that needs to have it's fence in the first 256MB of VRAM.

Thank you Christian for your quick explanation. Can we suspect the problem to be withing the UVD code then if:
- crashes are mostly happening when watching videos (flash or html5 in whatever browser);
- logs points to ring 5 not responding for some time?

Signature · 2 lines
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

#130 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #128 from Christian König <[email protected]> --- (In reply to comment #127)

Quoted 5 lines

Thank you Christian for your quick explanation. Can we suspect the problem to be withing the UVD code then if:
- crashes are mostly happening when watching videos (flash or html5 in whatever browser);
- logs points to ring 5 not responding for some time?

Well that behavior could actually be completely normal, incorrectly feeding UVD with informations can crash the block.

That can happen for example because of a corrupted video stream, or because the userspace driver doesn't work 100% correctly.

Whatever it is the recommended way to handle it is to just reset the block and that's exactly what we do, the only problem is that it's really hard to get the reset to be 100% reliable.

Signature · 2 lines
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

#131 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #129 from Aaron B <[email protected]> --- Didn't mention it last night, but in my logs were this in my system log were messages about msc number being wrong, which we've seen before. But I also saw a "Chromium segfault" error which I haven't seen before, but would explain why it crashes. It's probably it's fault for not bailing from a bad return gracefully, but maybe the return isn't NULL when it should be, anything is possible.

Also interesting in DMesg:

[ 8531.831921] radeon 0000:01:00.0: Packet0 not allowed!

Is it broken in all of radeonsi, and not only hawaii? I haven't seen this before. This was 500 seconds before my screen died.

Still, anything else I should log from DPM and such to try to find what screws up when?

Signature · 2 lines
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

#132 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #130 from José Suárez <[email protected]> --- Oh, by the way, since I see UVD comments, just to be clear, I don't have GPU acceleration enabled in Flash.

Signature · 2 lines
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

#133 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #131 from José Suárez <[email protected]> --- I have just played a youtube video (coincidentally the youtube message from AMD's John Byrne regarding Catalyst!) and I have just checked that the following messages show up in the dmesg log:

[ 2053.298531] radeon 0000:05:00.0: Packet0 not allowed!
[ 2058.548486] radeon 0000:05:00.0: Packet0 not allowed!
[ 2166.793537] radeon 0000:05:00.0: Packet0 not allowed!

Given that the video is very short and I haven't played any other youtube video the system hasn't crashed (yet). I presume that if I were to play other videos the system would hang.

Signature · 2 lines
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

#134 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #132 from Alexandre Demers <[email protected]> --- (In reply to comment #131)

Quoted 11 lines

I have just played a youtube video (coincidentally the youtube message from AMD's John Byrne regarding Catalyst!) and I have just checked that the following messages show up in the dmesg log:

[ 2053.298531] radeon 0000:05:00.0: Packet0 not allowed!
[ 2058.548486] radeon 0000:05:00.0: Packet0 not allowed!
[ 2166.793537] radeon 0000:05:00.0: Packet0 not allowed!

Given that the video is very short and I haven't played any other youtube video the system hasn't crashed (yet). I presume that if I were to play other videos the system would hang.

I saw that also at at least one time. I'll look in my logs for this when it hangs.

Signature · 2 lines
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

#135 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #133 from Grigori Goronzy <[email protected]> ---
I'm not really sure the failing UVD resets are even related to the hangs. UVD also sometimes fails to reset properly for me after the DMA block hangs. GPU reset just isn't that reliable on SI right now

Signature · 2 lines
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

#136 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #134 from Alexandre Demers <[email protected]> --- I'd like to test disabling UVD. I'll dig in the kernel to report UVD as disabled for SI for this test. This should narrow where we have to look for this bug.

Signature · 2 lines
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

#137 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #135 from Christian König <[email protected]> --- (In reply to comment #134)

Quoted 3 lines

I'd like to test disabling UVD. I'll dig in the kernel to report UVD as disabled for SI for this test. This should narrow where we have to look for this bug.

Sometimes UVD functions are needed for power management to work correctly, so not enabling UVD at all might not be an option either. But I'm not sure if that applies to your hardware or not.

Easiest way to disable UVD otherwise is to just add an "return -1" to the beginning of radeon_uvd_init in the kernel module.

Signature · 2 lines
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

#138 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #136 from Alex Deucher <[email protected]> --- (In reply to comment #131)

Quoted 7 lines

I have just played a youtube video (coincidentally the youtube message from AMD's John Byrne regarding Catalyst!) and I have just checked that the following messages show up in the dmesg log:

[ 2053.298531] radeon 0000:05:00.0: Packet0 not allowed!
[ 2058.548486] radeon 0000:05:00.0: Packet0 not allowed!
[ 2166.793537] radeon 0000:05:00.0: Packet0 not allowed!

These indicate that userspace is sending a broken command stream (e.g., a bad count for a packet most likely). The kernel will reject the command stream if a bad one is encountered. There still could be a bug in the command stream setup in userspace that is just masked in other cases due to the layout of the commands.

Signature · 2 lines
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

#139 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #137 from Aaron B <[email protected]> ---
I'm gonna try with more DPM to make sure the combo of DPM and DMA isn't what is causing it. I'm getting many more consistent crashes with Chrome. Also, seems by bug report here is a dup of this one just posted to, a month before mine:

http://lists.freedesktop.org/archives/dri-devel/2014-September/069303.html

Same everything, so yeah.

Signature · 2 lines
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

#140 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #138 from Alexandre Demers <[email protected]> --- (In reply to comment #135)

Quoted 11 lines

(In reply to comment #134)

Quoted 3 lines

I'd like to test disabling UVD. I'll dig in the kernel to report UVD as disabled for SI for this test. This should narrow where we have to look for this bug.

Sometimes UVD functions are needed for power management to work correctly, so not enabling UVD at all might not be an option either. But I'm not sure if that applies to your hardware or not.

Easiest way to disable UVD otherwise is to just add an "return -1" to the beginning of radeon_uvd_init in the kernel module.

Well, when disabling UVD as suggested, I had no hang when viewing movies all night long. No ring 5 error either.

I did get some Packet0 errors though, which were "stuttering" the display for short times, but it never crashed.

However, at one point, Xorg just froze (the sound was still playing and the mouse was moving but nothing else was responding) but I think it is a different bug (there is nothing in dmesg, but there is errors in Xorg.0.log). I'll attach the file in a second. If someone is sure this is a different bug, let me know so I'll open a new bug for it.

Overall, I'd be tempted to point at UVD for the current bug.

Signature · 2 lines
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

#141 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #139 from Alexandre Demers <[email protected]> --- Created attachment 107099
--> https://bugs.freedesktop.org/attachment.cgi?id=107099&action=edit
Xorg log when it froze

Signature · 2 lines
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

#142 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #140 from Aaron B <[email protected]> ---
I dunno, I've had all those bugs, and when I'm stable, none happen to my knowldge. I think they're all same things, different ways of triggering. Or, maybe we do have multiple bugs.

Chromium/Chrome/VLC/Video/Screen blanks: UVD

What bugs should be classified as a different trigger? We should probably ping what is what now, that we have lots more people with the same problems posting. :)

Also, started watching a movie, crashed in 5 minutes, UVD died. Turned off PM, and UVD is fine , an hour or so in to the movie, and I'm going to watch 2 more after it, so we'll see. If it's stable after 2 more hours, DPM is definitely causing something, maybe both bugs with UVD and GPU faulting/EQ overflow/MSC Numbers unequal.

Signature · 2 lines
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

#143 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #141 from Michel Dänzer <[email protected]> ---
If someone has a way to reliably reproduce the 'Packet0 not allowed!' error, please file a separate report for that. Or, if you know at least which process triggers it, you can run that process with the environment variable RADEON_DUMP_CS=1, and it should print a dump of the failed command stream(s) on stderr.

P.S. I'm afraid this report has turned into a train wreck, it's impossible to keep track of who encountered what issue(s) under what circumstances.

Signature · 2 lines
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

#144 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #142 from Alexandre Demers <[email protected]> --- (In reply to comment #141)

Quoted 8 lines

If someone has a way to reliably reproduce the 'Packet0 not allowed!' error, please file a separate report for that. Or, if you know at least which process triggers it, you can run that process with the environment variable RADEON_DUMP_CS=1, and it should print a dump of the failed command stream(s) on stderr.

P.S. I'm afraid this report has turned into a train wreck, it's impossible to keep track of who encountered what issue(s) under what circumstances.

I opened Bug 84500 just for Packet0.

Signature · 2 lines
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

#145 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #143 from Aaron B <[email protected]> ---
So, what to do with this bug report? Keep it open, and when you guys think it may be fixed with a commit, just ask here? I just re-built Mesa with today's commits, and it's just back to crashing like crazy. :)

Signature · 2 lines
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

#146 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #144 from Aaron B <[email protected]> ---
Is it possible at all that the problem is related to using DDR3-1866 RAM? I mean I'm trying to think of why you guys at AMD can't encounter it, while I can't stay away from it. That is basically the only piece of hardware that would be "overclocked" by any means. But I don't know. You guys still haven't encountered these problems?

Signature · 2 lines
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

#147 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #145 from Aaron B <[email protected]> --- I'm just going to end my comments here, if someone wants to know more like asking me to test or testing a patch related, let me know.

With radeon.dpm=0, this crash is "fixed" and never happens at all, past 4 days have been running perfect on it. About 20 hours up time total in a row, which is unheard of for me.

Signature · 2 lines
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

#148 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #146 from Aaron B <[email protected]> ---
Go figure after saying that, I maximized a youtube video and it died when on radeon.dpm=0. So just...guess this can just die. -_-

Signature · 2 lines
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

#149 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

Aaron B <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #147 from Aaron B <[email protected]> --- Marking duplicate to start over.

*** This bug has been marked as a duplicate of bug 85647 ***

Signature · 2 lines
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

#150 lore raw

[Bug 81644] Random crashes on RadeonSI with Chromium.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=81644

--- Comment #148 from Gedalya <[email protected]> --- See https://code.google.com/p/chromium/issues/detail?id=404357

In my case it was definitely crashing with mesa 10.2. In all cases it seemed to be triggered by chromium. Bug 85647 is talking about something that started with mesa 10.3.

Signature · 2 lines
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