Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#11430 closed Bug Report - Crash (fixed)
crash with amd catalyst (proprietary) driver
Reported by: | Owned by: | Jonatan Lindblad | |
---|---|---|---|
Priority: | minor | Milestone: | 0.26.1 |
Component: | MythTV - Video Playback | Version: | 0.26-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
My GPU has really bad performance with the open source driver, and HD playback was jerky, so I switched to the proprietary driver. It is very fast, but I get crashes with mythtv:
- With OpenGL it crashes when I start any TV, live or recording. Log including stack trace is attached. Main part of stack trace:
*** Error in `mythfrontend': free(): invalid pointer: 0x00000000069dd1a0 *** ======= Backtrace: ========= /usr/lib/libc.so.6(+0x7ab06)[0x7ff65d163b06] /usr/lib/libc.so.6(+0x7b883)[0x7ff65d164883] /usr/local/lib/libmythtv-0.26.so.0(+0x55c1c4)[0x7ff6611ea1c4] /usr/local/lib/libmythtv-0.26.so.0(+0x55c939)[0x7ff6611ea939] /usr/local/lib/libmythtv-0.26.so.0(+0x55d34f)[0x7ff6611eb34f] /usr/local/lib/libmythtv-0.26.so.0(+0x56235d)[0x7ff6611f035d] /usr/local/lib/libmythtv-0.26.so.0(+0x56304e)[0x7ff6611f104e] /usr/local/lib/libmythtv-0.26.so.0(+0x4f08bf)[0x7ff66117e8bf] /usr/local/lib/libmythtv-0.26.so.0(_ZN10MythPlayer9InitVideoEv+0xe2)[0x7ff6610e2422] /usr/local/lib/libmythtv-0.26.so.0(_ZN10MythPlayer12StartPlayingEv+0x87)[0x7ff6610e3457] /usr/local/lib/libmythtv-0.26.so.0(_ZN13PlayerContext12StartPlayingEi+0x28)[0x7ff6610fb648]
- When setting the renderer to xv-blit, it works, but the deinterlacer gets stuck at "One Field" even though I configure a different one, and it sometimes crashes when I exit video playback. I then get a straight segmentation fault, no stack trace.
The OpenGL problem (1) is the main issue, but I though that (2) may be related, and it's the current (bad) work-around.
Attachments (5)
Change History (18)
Changed 11 years ago by
Attachment: | opengl.txt added |
---|
comment:1 Changed 11 years ago by
System info:
Distribution: Arch Linux
GPU: Radeon 6770
Kernel: 3.7.10-1-ck
X.org: 1.13.2.901 (1.13.3 RC 1)
AMD driver: 9.012-121219a-15192C-ATI -- OpenGL version 4.2.12002
Changed 11 years ago by
Attachment: | opengl-dbg.txt added |
---|
Log as above, but with debug messages. There is not many extra messages.
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|---|
Status: | new → infoneeded_new |
We can't do anything with a backtrace if you're using stripped binaries. Recompile MythTV, and leave the debugging symbols in.
comment:3 Changed 11 years ago by
Even when I built with debugging enabled, passing --compile-type=debug to ./configure, the stack trace is no more useful. I followed the steps on how to get info with gdb, and that seems more promising. I will attach that.
Changed 11 years ago by
Attachment: | myth-stacktrace.txt added |
---|
gdb output using commands on mythtv.org
Changed 11 years ago by
Attachment: | myth-stacktrace.2.txt added |
---|
gdb output using commands on mythtv.org
comment:4 Changed 11 years ago by
Attachment form doesn't work; file is here: http://www.fa2k.net/misc/myth-stacktrace.txt
comment:6 Changed 11 years ago by
Yes, they are the same. Sorry, but the submit button did not respond
Changed 11 years ago by
Attachment: | 11430.patch added |
---|
comment:8 Changed 11 years ago by
That patch fixes the crash! Now I get a static, almost completely green screen, but I do hear the audio and can access the "M" menu. So this is a different problem, probably also related to the ATI drivers. I don't know how to approach it, but I'll submit a bug if I can think of how to get some more info. Thanks for the patch.
comment:9 Changed 11 years ago by
Just as a piece of further info, I gave up on Arch, and I'm using a RHEL-based distro. OpenGL now works without artifacts or crashes, but I get better performance (perfect playback, or very close to that) on xv-blit, so I'm using that. (it's a slightly different version of the AMD driver, because I couldn't get the ones from amd.com to install on Arch. The 3.8 kernel gave me lots of trouble, and this is why I ditched Arch, but I think the open source driver had better performance on that, so maybe I can move to that driver in the far future)
comment:10 Changed 11 years ago by
Owner: | set to Jonatan Lindblad |
---|---|
Status: | infoneeded_new → assigned |
comment:11 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:13 Changed 11 years ago by
Milestone: | → 0.26.1 |
---|
Output of mythfrontend when attempting to play a recorded TV show