public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Sullivan <msulli1355@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Two video problems:  Mythtv and xscreensaver
Date: Sat, 10 Dec 2011 14:37:14 -0600	[thread overview]
Message-ID: <4EE3C2FA.5090205@gmail.com> (raw)

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?



             reply	other threads:[~2011-12-10 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-10 20:37 Michael Sullivan [this message]
2011-12-11 23:07 ` [gentoo-user] Re: Two video problems: Mythtv and xscreensaver [SOLVED] Michael Sullivan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE3C2FA.5090205@gmail.com \
    --to=msulli1355@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox