Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Two video problems: Mythtv and xscreensaver [SOLVED]
Date: Sun, 11 Dec 2011 23:09:00
Message-Id: 4EE537C3.5080409@gmail.com
In Reply to: [gentoo-user] Two video problems: Mythtv and xscreensaver by Michael Sullivan
1 On 12/10/11 14:37, Michael Sullivan wrote:
2 > I'm having a problem on my personal workstation where mythfrontend will
3 > not display video when Watch TV is requested. The sound works just
4 > fine. When I issue a
5 >
6 > michael@camille ~ $ mplayer /dev/video0
7 > MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
8 > Can't open joystick device /dev/input/js0: No such file or directory
9 > Can't init input joystick
10 > mplayer: could not connect to socket
11 > mplayer: No such file or directory
12 > Failed to open LIRC support. You will not be able to use your remote
13 > control.
14 >
15 > Playing /dev/video0.
16 > Cannot seek backward in linear streams!
17 > Seek failed
18 > Cannot seek backward in linear streams!
19 > Seek failed
20 > Cannot seek backward in linear streams!
21 > Seek failed
22 > Cannot seek backward in linear streams!
23 > Seek failed
24 > Cannot seek backward in linear streams!
25 > Seek failed
26 > Cannot seek backward in linear streams!
27 > Seek failed
28 > Cannot seek backward in linear streams!
29 > Seek failed
30 > Cannot seek backward in linear streams!
31 > Seek failed
32 > Cannot seek backward in linear streams!
33 > Seek failed
34 > Cannot seek backward in linear streams!
35 > Seek failed
36 > Cannot seek backward in linear streams!
37 > Seek failed
38 > Cannot seek backward in linear streams!
39 > Seek failed
40 > Cannot seek backward in linear streams!
41 > Seek failed
42 > Cannot seek backward in linear streams!
43 > Seek failed
44 > Cannot seek backward in linear streams!
45 > Seek failed
46 > Cannot seek backward in linear streams!
47 > Seek failed
48 > Cannot seek backward in linear streams!
49 > Seek failed
50 > Cannot seek backward in linear streams!
51 > Seek failed
52 > Cannot seek backward in linear streams!
53 > Seek failed
54 > Cannot seek backward in linear streams!
55 > Seek failed
56 > Cannot seek backward in linear streams!
57 > Seek failed
58 > Cannot seek backward in linear streams!
59 > Seek failed
60 > Cannot seek backward in linear streams!
61 > Seek failed
62 > Cannot seek backward in linear streams!
63 > Seek failed
64 > MPEG-PS file format detected.
65 > VIDEO: MPEG2 480x480 (aspect 2) 29.970 fps 6000.0 kbps (750.0 kbyte/s)
66 > Load subtitles in /dev/
67 > [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
68 > Voodoo 5.
69 > ==========================================================================
70 > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
71 > Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
72 > ==========================================================================
73 > ==========================================================================
74 > Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
75 > AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
76 > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
77 > ==========================================================================
78 > AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
79 > Starting playback...
80 > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
81 > VO: [xv] 480x480 => 640x480 Planar YV12
82 > [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
83 > [VD_FFMPEG] DRI failure.
84 > A: 0.7 V: 1.3 A-V: -0.591 ct: 0.000 2/ 2 ??% ??% ??,?% 1 0
85 > [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
86 > A: 9.3 V: 9.3 A-V: -0.015 ct: -0.788 241/241 9% 0% 1.4% 4 0
87 >
88 > Exiting... (Quit)
89 >
90 > there is still no picture, but sound is present. My xscreesaver is set
91 > to glslideshow displaying pictures and it doesn't display pictures.
92 > When I run it, I get these errors: (from ~/.xsession-errors)
93 >
94 > X error in glslideshow:
95 > X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
96 > Major opcode of failed request: 136 (DRI2)
97 > Minor opcode of failed request: 8 (DRI2SwapBuffers )
98 > Resource id in failed request: 0x3200070
99 > Serial number of failed request: 1999
100 > Current serial number in output stream: 1999
101 > xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted
102 >
103 >
104 > When I look at the Xorg logs, I find this:
105 >
106 > camille ~ # grep EE /var/log/Xorg.0.log
107 > (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
108 > [621028.083] (II) Loading extension MIT-SCREEN-SAVER
109 > [621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
110 > [621029.135] (EE) intel(0): When reporting this, please include
111 > i915_error_state from debugfs and the full dmesg.
112 > [621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
113 > or front?
114 > [621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
115 > or front?
116 >
117 > Just before I got this listing I restarted X after doing a qlist -I -C
118 > x11-drivers/ and re-merging all of them (there were like 10).
119 > Mythfrontend Watch TV works fine from every other computer on my
120 > network, and the recordings are fine, so I'm pretty sure it's this
121 > DRI2SwapBuffers thing. What should I do to resolve this?
122
123
124 I rebuilt my kernel and rebooted and everything is fine now. I think
125 somehow some of my kernel modules are being overwritten. I don't know
126 how, but rebuilding the kernel seems to fix it when it happens...