public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Two video problems:  Mythtv and xscreensaver
@ 2011-12-10 20:37 Michael Sullivan
  2011-12-11 23:07 ` [gentoo-user] Re: Two video problems: Mythtv and xscreensaver [SOLVED] Michael Sullivan
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Sullivan @ 2011-12-10 20:37 UTC (permalink / raw
  To: gentoo-user

I'm having a problem on my personal workstation where mythfrontend will
not display video when Watch TV is requested.  The sound works just
fine.  When I issue a

michael@camille ~ $ mplayer /dev/video0
MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /dev/video0.
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
MPEG-PS file format detected.
VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
Load subtitles in /dev/
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
Voodoo 5.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 480x480 => 640x480 Planar YV12
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
[VD_FFMPEG] DRI failure.
A:   0.7 V:   1.3 A-V: -0.591 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
[mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
A:   9.3 V:   9.3 A-V: -0.015 ct: -0.788 241/241  9%  0%  1.4% 4 0

Exiting... (Quit)

there is still no picture, but sound is present.  My xscreesaver is set
to glslideshow displaying pictures and it doesn't display pictures.
When I run it, I get these errors:  (from ~/.xsession-errors)

X error in glslideshow:
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  136 (DRI2)
  Minor opcode of failed request:  8 (DRI2SwapBuffers		)
  Resource id in failed request:  0x3200070
  Serial number of failed request:  1999
  Current serial number in output stream:  1999
xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted


When I look at the Xorg logs, I find this:

camille ~ # grep EE /var/log/Xorg.0.log
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[621028.083] (II) Loading extension MIT-SCREEN-SAVER
[621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[621029.135] (EE) intel(0): When reporting this, please include
i915_error_state from debugfs and the full dmesg.
[621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?
[621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
or front?

Just before I got this listing I restarted X after doing a qlist -I -C
x11-drivers/ and re-merging all of them (there were like 10).
Mythfrontend Watch TV works fine from every other computer on my
network, and the recordings are fine, so I'm pretty sure it's this
DRI2SwapBuffers thing.  What should I do to resolve this?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: Two video problems:  Mythtv and xscreensaver [SOLVED]
  2011-12-10 20:37 [gentoo-user] Two video problems: Mythtv and xscreensaver Michael Sullivan
@ 2011-12-11 23:07 ` Michael Sullivan
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sullivan @ 2011-12-11 23:07 UTC (permalink / raw
  To: gentoo-user

On 12/10/11 14:37, Michael Sullivan wrote:
> I'm having a problem on my personal workstation where mythfrontend will
> not display video when Watch TV is requested.  The sound works just
> fine.  When I issue a
> 
> michael@camille ~ $ mplayer /dev/video0
> MPlayer SVN-r33094-4.4.5 (C) 2000-2011 MPlayer Team
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
> 
> Playing /dev/video0.
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> Cannot seek backward in linear streams!
> Seek failed
> MPEG-PS file format detected.
> VIDEO:  MPEG2  480x480  (aspect 2)  29.970 fps  6000.0 kbps (750.0 kbyte/s)
> Load subtitles in /dev/
> [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
> Voodoo 5.
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [xv] 480x480 => 640x480 Planar YV12
> [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
> [VD_FFMPEG] DRI failure.
> A:   0.7 V:   1.3 A-V: -0.591 ct:  0.000   2/  2 ??% ??% ??,?% 1 0
> [mpeg2video @ 0x87a1ce0]warning: first frame is no keyframe
> A:   9.3 V:   9.3 A-V: -0.015 ct: -0.788 241/241  9%  0%  1.4% 4 0
> 
> Exiting... (Quit)
> 
> there is still no picture, but sound is present.  My xscreesaver is set
> to glslideshow displaying pictures and it doesn't display pictures.
> When I run it, I get these errors:  (from ~/.xsession-errors)
> 
> X error in glslideshow:
> X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
>   Major opcode of failed request:  136 (DRI2)
>   Minor opcode of failed request:  8 (DRI2SwapBuffers		)
>   Resource id in failed request:  0x3200070
>   Serial number of failed request:  1999
>   Current serial number in output stream:  1999
> xscreensaver-getimage: target pixmap 0x340010a unexpectedly deleted
> 
> 
> When I look at the Xorg logs, I find this:
> 
> camille ~ # grep EE /var/log/Xorg.0.log
> 	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [621028.083] (II) Loading extension MIT-SCREEN-SAVER
> [621029.135] (EE) intel(0): Detected a hung GPU, disabling acceleration.
> [621029.135] (EE) intel(0): When reporting this, please include
> i915_error_state from debugfs and the full dmesg.
> [621215.105] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
> or front?
> [621217.191] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back
> or front?
> 
> Just before I got this listing I restarted X after doing a qlist -I -C
> x11-drivers/ and re-merging all of them (there were like 10).
> Mythfrontend Watch TV works fine from every other computer on my
> network, and the recordings are fine, so I'm pretty sure it's this
> DRI2SwapBuffers thing.  What should I do to resolve this?


I rebuilt my kernel and rebooted and everything is fine now.  I think
somehow some of my kernel modules are being overwritten.  I don't know
how, but rebuilding the kernel seems to fix it when it happens...



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-11 23:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10 20:37 [gentoo-user] Two video problems: Mythtv and xscreensaver Michael Sullivan
2011-12-11 23:07 ` [gentoo-user] Re: Two video problems: Mythtv and xscreensaver [SOLVED] Michael Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox