[mythtv-users] Gentoo users - be careful with nvidia-drivers-190.53

MarcT myrdhn at gmail.com
Fri Dec 25 07:10:54 UTC 2009


> On Thu, Dec 24, 2009 at 2:26 PM, John Drescher <drescherjm at gmail.com>
wrote:
>> Hmm. Looks broken again.
>
> I expect that adding /usr/lib/vdpau to /etc/ld.so.conf might help, but
> the symlink Works For Me(tm) so I'll use that for now.

I was just going to email that folder  to /etc/ld.so.conf works but
that is not the proper solution because there needs to be a file in
/etc/env.d instead because /etc/ld.so.conf is a generated file.

> It looks like
> Gentoo has a bug entered for this -
> http://bugs.gentoo.org/show_bug.cgi?id=297239 - I've added my comments
> to it.
>
Good. That would have been my next solution because this is a bug.

Thanks,
John
_______________________________________________

In that bug report there is an explanation of the issue by Doug Goldstein.

<-- start copy -->

The VDPAU libraries belong in /usr/lib[32,64]/vdpau. Read the release notes
by
NVIDIA for 190.53. Applications should never link directly against
libvdpau_nvidia.so but it appears some applications are incorrectly doing
this.
The ABI has changed to libvdpau_nvidia.so so applications will experience
problems. Applications should always use libvdpau.so, which provides a
proper
abstraction for the specific implementation. x11-libs/libvdpau-0.3 has been
updated by NVIDIA to use the new paths and as such its properly listed as a
PDEPEND in the 190.53 ebuilds.

Rather than incorrectly changing the paths back, please say which apps you
are
having a problem with so they may be fixed. The big issue that apps will
have
is the fact that VDPAU is no longer a mutually exclusive operation and can
be
multiplexed with other operations such as OpenGL and even other VDPAU
instances. This requires apps to use proper locks, which none of them do
because the locking mechanism is abstracted away inside libvdpau. So using
VDPAU and OpenGL at the same time for an app that uses libvdpau_nvidia.so
directly will result in screen corruption.

<-- end copy -->

Judging from this, I believe it's not a bug of the drivers. However, I don't
know how Myth is accessing the VDPAU capabilities of the nvidia drivers, so
I'm probably wrong.

MarcT



More information about the mythtv-users mailing list