Video playback in kaffeine limited to one frame since upgrading to 13.2

Just upgraded to openSUSE13.2, now facing a problem with video playback in kaffeine: When I open a video file or DVB-T, only a single frame is displayed. Audio plays for a while before stopping.
Playback in vlc works without problems, but vlc’s interface for watching TV kinds sucks, so I’d rather be using kaffeine.

Output when opening kaffeine on the console, playing a video file:


valentin@heptapus:~> kaffeine
valentin@heptapus:~> [VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
vo_vdpau: vdpau API version : 1
vo_vdpau: vdpau implementation description : OpenGL/VAAPI/libswscale backend for VDPAU
vo_vdpau: maximum video surface size for chroma type 4:2:2 is 1920x1080
vo_vdpau: maximum video surface size for chroma type 4:2:0 is 1920x1080
vo_vdpau: maximum output surface size is 32546x32546
vo_vdpau: Failed to check vdpau get/put bits native capability : VDP_STATUS_NO_IMPLEMENTATION
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 12 (X_ConfigureWindow)
  Resource id:  0x0
kaffeine(5128)/kio (KDirModel) KDirModelPrivate::_k_slotDeleteItems: No node found for item that was just removed: KUrl("file:///home/valentin/Documents/MumbleAutomaticCertificateBackup.p12") 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
kaffeine(5128) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0

For DVB-T:


valentin@heptapus:~> kaffeine %U --lastchannel
valentin@heptapus:~> [VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
vo_vdpau: vdpau API version : 1
vo_vdpau: vdpau implementation description : OpenGL/VAAPI/libswscale backend for VDPAU
vo_vdpau: maximum video surface size for chroma type 4:2:2 is 1920x1080
vo_vdpau: maximum video surface size for chroma type 4:2:0 is 1920x1080
vo_vdpau: maximum output surface size is 32595x32595
vo_vdpau: Failed to check vdpau get/put bits native capability : VDP_STATUS_NO_IMPLEMENTATION
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 12 (X_ConfigureWindow)
  Resource id:  0x0
net_buf_ctrl: dvbspeed mode
net_buf_ctrl: slow/fast audio playback enabled
net_buf_ctrl: enlarged video fifo to 800 buffers
net_buf_ctrl: prebuffering...
net_buf_ctrl: dvbspeed 100% @ video 2280 ms 90 buffers
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_37
libva info: va_openDriver() returns 0
net_buf_ctrl: dvbspeed 100.5% @ video 3320 ms 119 buffers
kaffeine(5450) DvbEpgModel::~DvbEpgModel: filter list not empty

libxine2-codecs is installed from Packman.

Any ideas?

What graphics card is this? Intel?
Then VDPAU is probably not the best choice.

Open the file ~/.kde4/share/apps/kaffeine/xine-config in a text editor, and try to set a different video.driver, e.g.:

video.driver:xv

or

video.driver:vaapi

or

video.driver:xshm

One other question though:

libva info: VA-API version 0.37.0

How come? I get this on my 13.2 system here: (where Kaffeine works fine)

libva info: VA-API version 0.34.0

Maybe this causes your problem?
Where did you install libva1 from?
Try to switch back all libva* packages to the versions from the standard repo.

Yes

Then VDPAU is probably not the best choice.

Tell that to kaffeine :wink:

Open the file ~/.kde4/share/apps/kaffeine/xine-config in a text editor, and try to set a different video.driver, e.g.:

video.driver:xv

That did the trick, thanks.

Well, Kaffeine (or Xine rather, Kaffeine is only a KDE frontend) just tries all drivers in a certain order, and takes the first one that works.
And actually VDPAU should work on intel as well, and it does work fine here on my intel system.

By default libvdpau_va_gl1 is installed on intel systems, which routes VDPAU to VA-API.
And according to your output this is installed and used.

No idea why you have a problem…
But as I said, I have the libva (0.34) from the standard repo.

I’ve had the same issue with vaapi. I found that I could fix it by changing a line in ~/.kde4/share/apps/kaffeine/xine-config.

Find the block

# vaapi: set vaapi_guarded_render to 0 ( no ) 1 ( yes )
# numeric, default: 1
# video.output.vaapi_guarded_render:1

Uncomment the last line and change it to

video.output.vaapi_guarded_render:0