1 |
On Fri, Apr 17, 2009 at 2:14 PM, Volker Armin Hemmann |
2 |
<volkerarmin@××××××××××.com> wrote: |
3 |
> On Freitag 17 April 2009, Mark Knecht wrote: |
4 |
>> Hi, |
5 |
>> This started as part of Michael's thread about Myth crashing. |
6 |
>> mythfrontend is segfaulting for me also, but my problem has spread to |
7 |
>> pretty much any application that tries to display video - mplayer, |
8 |
>> xine and Myth all crash with similar errors. Only xine doesn't crash X |
9 |
>> completely and leaves behind anything in terms of clues. |
10 |
>> |
11 |
>> I've also tried upgrading xorg-x11 to version 7.4. No changes. |
12 |
>> |
13 |
>> mark@dragonfly ~/Desktop $ xine |
14 |
>> This is xine (X11 gui) - a free video player v0.99.5. |
15 |
>> (c) 2000-2007 The xine Team. |
16 |
>> X Error of failed request: BadAlloc (insufficient resources for operation) |
17 |
>> Major opcode of failed request: 140 (XVideo) |
18 |
>> Minor opcode of failed request: 19 () |
19 |
>> Serial number of failed request: 1814 |
20 |
>> Current serial number in output stream: 1815 |
21 |
>> mark@dragonfly ~/Desktop $ |
22 |
>> |
23 |
>> Note that this isn't even trying to play the file, it's just trying |
24 |
>> to start the user interface. |
25 |
>> |
26 |
>> I see segfault and error/warning messages in dmesg: |
27 |
>> |
28 |
>> mtrr: no MTRR for f0000000,8000000 found |
29 |
>> [drm:i915_getparam] *ERROR* Unknown parameter 5 |
30 |
>> [drm:i915_getparam] *ERROR* Unknown parameter 5 |
31 |
>> X[22596]: segfault at 0 ip 00000000 sp bf91df1c error 4 in |
32 |
>> Xorg[8048000+179000] [drm:i915_getparam] *ERROR* Unknown parameter 5 |
33 |
>> [drm:i915_getparam] *ERROR* Unknown parameter 5 |
34 |
>> X[22764]: segfault at 20000d8 ip b7f266c4 sp bfd56a80 error 4 in |
35 |
>> libdrm_intel.so.1.0.0[b7f25000+7000] |
36 |
>> [drm:i915_getparam] *ERROR* Unknown parameter 5 |
37 |
>> [drm:i915_getparam] *ERROR* Unknown parameter 5 |
38 |
>> |
39 |
>> The MTRR warnings have been around forever on this machine. I think |
40 |
>> the drm:i915 warning is benign in that it's supposedly saying the |
41 |
>> kernel doesn't have gem support, but I could be very wrong about that. |
42 |
>> |
43 |
>> The kernel is recent but not the most up to date. |
44 |
>> |
45 |
>> Does *anyone* have an idea what I should do to debug this further? |
46 |
>> I've never managed to get good backtrace info under Gentoo so that's |
47 |
>> probably a struggle I'd rather not deal with if possible, especially |
48 |
>> for something as complicated as X. The segfault looks like something |
49 |
>> uninitialized to me but what do I know... (Not much!) |
50 |
>> |
51 |
>> I can send all sorts of machine/Gentoo info if requested. |
52 |
>> |
53 |
>> Anyway, all thoughts appreciated. |
54 |
>> |
55 |
>> Cheers, |
56 |
>> Mark |
57 |
> |
58 |
> have you rebuilt libxv? |
59 |
> what happens if you don't use xv but xshm as output plugin? |
60 |
> |
61 |
> |
62 |
> |
63 |
Hi Volker, |
64 |
|
65 |
The machine is clean emerge -DuN world, revdep-rebuild. As a test I |
66 |
just rebuilt libXv and libXvMC but it still crashes. |
67 |
|
68 |
dragonfly ~ # emerge -pv1 libXv libXvMC |
69 |
|
70 |
These are the packages that would be merged, in order: |
71 |
|
72 |
Calculating dependencies... done! |
73 |
[ebuild R ] x11-libs/libXv-1.0.4 USE="-debug" 0 kB |
74 |
[ebuild R ] x11-libs/libXvMC-1.0.4 USE="-debug" 0 kB |
75 |
|
76 |
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB |
77 |
dragonfly ~ # |
78 |
|
79 |
Other mplayer formats do not crash. I've tried x11, gl & gl2. They all |
80 |
work fine. Only |
81 |
|
82 |
mplayer File.avi |
83 |
|
84 |
or |
85 |
|
86 |
mplayer -vo xv FILE.avi |
87 |
|
88 |
crash X so it seems to be an xv thing. This all used to work before |
89 |
the upgrade. I'm going to move on to Paul's suggestion about using an |
90 |
xorg.conf file and see if that helps. |
91 |
|
92 |
- Mark |