[mythtv-users] VAAPI / OpenGL and myth 0.26 - black screen on playback

Andrey Zhunev a-j at a-j.ru
Fri Oct 4 20:31:10 UTC 2013


Friday, October 4, 2013, 10:48:22 PM:

> The nVidia distributed installer was notorious in not completely
> uninstalling (reverting) the system files it replaced when requested
> to uninstall itself (read the caveats in the wiki regarding nVidia
> cards and VDPAU).  I guess that is still true today.

> I *think* the files are going to be part of the OpenGL functions.
> While it is likely still possible to pull down the installer and
> manually reverse engineer what the installer is doing, it is
> probably the easiest solution to just have yum reinstall all
> the X and mesa packages, and then you may have to edit
> the /etc/ld.so.conf file (or /etc/ld.so.conf.d/* files) to remove
> any traces of the nVidia directories.  In some recent versions
> they are named like /usr/lib[64]/nvidia<something>.


I found it! libGL.so was still linked to an NVidia library. I don't
know why, and I have no idea why the proper link was not restored when
I reinstalled the package. So I had to manually update the link, and
everything worked!

The correct config is:

# ls -l /usr/lib64/libGL*
lrwxrwxrwx 1 root root      10 Oct  4 20:12 /usr/lib64/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root      12 Oct  4 20:29 /usr/lib64/libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root  543352 Feb 11  2013 /usr/lib64/libGL.so.1.2
-rwxr-xr-x 1 root root  532864 Jun  3 22:22 /usr/lib64/libGL.so.1.2.0
-rwxr-xr-x 1 root root 1056992 May 31  2012 /usr/lib64/libGL.so.295.53
-rwxr-xr-x 1 root root 1057600 Nov 19  2012 /usr/lib64/libGL.so.295.75
-rwxr-xr-x 1 root root 1078720 Aug 21  2012 /usr/lib64/libGL.so.304.37
-rwxr-xr-x 1 root root 1078720 Nov  1  2012 /usr/lib64/libGL.so.304.60
lrwxrwxrwx 1 root root      11 Oct  4 20:12 /usr/lib64/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root      19 Oct  4 20:12 /usr/lib64/libGLU.so.1 -> libGLU.so.1.3.08005
-rwxr-xr-x 1 root root  451544 Feb 11  2013 /usr/lib64/libGLU.so.1.3.08005

Those *.295.53 - *.305.60 are old NVidia libraries that were not removed.

I'm not sure why libGL.so is linked to libGL.so.1, and only then to
the real library. But I left it as it was (maybe there's a good reason
to make it this way).


So, my issue is fixed, VAAPI works! So far I watched only one movie,
but it was good and stable. I didn't check deinterlacing yet (I recall
there were some issues previously) - I will try it later.


Thanks a lot to the great Community for your support and ideas!!!



> There is always the reinstall solution (and blame it on nVidia).

Yes, I thought of that, too. I was half a step away from moving to
Ubuntu. But I'll stick with CentOS for now - I'm used to it! :)


-- 
Best regards,
 Andrey             



More information about the mythtv-users mailing list