Hi,
Recently skype crashed for me and afterwards I couldn't get video from XV driver to work. (Which means no skype video for me now). What i get is a transparent block in the place where the video should be. (or in the case of skype - just a white block)
Edit: Skype wasn't the reason, it was cairo-dock with opengl
Anyways, after doing some testing I've realized that it doesn't work when the video is embedded.
For example in VLC 1.0.0 (with the output set to XVideo) the video works if the option 'Embed video in interface' is unchecked. Then the video is normally shown in a separate window. If this option is checked then the video doesn't work. Just a transparent block in vlc.
Same thing with mplayer and smplayer. Since in mplayer the video is not embedded everything is ok. While in smplayer again the transparent block.
From what I have tried only VLC outputs error:
And it outputs this repeatedly.Code:X Error: BadMatch (invalid parameter attributes) 8 Extension: 133 (Uknown extension) Minor opcode: 19 (Unknown request) Resource id: 0xb400006
Sometimes it also crashes on opening a video and it outputs the following message:
I googled a lot about this but I couldn't find anything specific about it.Code:QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 [????????] x11 video output error: X11 request 133.19 failed with error code 8: BadMatch (invalid parameter attributes) X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 133 (XVideo) Minor opcode of failed request: 19 () Serial number of failed request: 105 Current serial number in output stream: 106
EDIT: Found a workaround for the problem.
it seems cairo-dock with opengl affects all qt4 applications. There is a workaround in http://www.glx-dock.org/ww_page.php?...oblems&lang=en however this requires that you launch the affected applications with this environment variable:
export XLIB_SKIP_ARGB_VISUALS=1
so what you can do is create a script for each app, for example for skype you could do:
Code:sudo su cd /usr/bin mv skype skype.real echo "export XLIB_SKIP_ARGB_VISUALS=1" > skype echo "skype.real" >> skype chmod ugo+x skype
or you could add the line to the ~/.bashrc file which means it will be a general environment variable.
This means that for all the application this variable will be set, which is not the perfect solution as it means that feature for transparency
will be disabled for all applications. I'm not really sure which applications make use of it, however I don't recommend it.
If you want to do this execute this command:
Code:echo "export XLIB_SKIP_ARGB_VISUALS=1" >> ~/.bashrc



Adv Reply

Bookmarks