[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-12-15 Thread Launchpad Bug Tracker
This bug was fixed in the package mpv - 0.27.0-2ubuntu4 --- mpv (0.27.0-2ubuntu4) bionic; urgency=medium * Only try hwdec=vaapi, or nothing at all. This avoids problems with other acceleration methods such as Nvidia CUDA (LP: #1737670, LP: #1728514) -- Daniel van Vugt

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-12-12 Thread Daniel van Vugt
** Changed in: mpv (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: mpv (Ubuntu) Importance: Undecided => Medium ** Changed in: mpv (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
** Changed in: mpv (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1728514 Title: [nvidia] mpv won't play videos because no

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Noam Mor
I ran ldd on all *.so files under /usr/ and couldn't spot anything suspicious. I tried again the various voodoo procedures I initially attempted after deleting the old opencv libraries, and it turns out that deleting ~/.cache/gstreamer-1.0/ was the correct solution to whatever problem I was

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread James Cowgill
Hi, Daniel, sorry about some of the stuff I wrote to you above which I now realise was a bit patronising. Noam, unlike mpv, totem uses gstreamer plugins (as Daniel says) so running ldd on totem itself won't give any useful information. However if you run ldd on all the plugins like this, it

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Noam Mor
Is there a log that would help for the Totem issue? Should I open a new bug for it? VLC seems to be able to play h264 but not mp4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1728514 Title:

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Noam Mor
I removed all opencv libraries from /usr/local/lib. Now mpv works. Totem still doesn't. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1728514 Title: [nvidia] mpv won't play videos because no

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
I was imagining there is a dlopen() somewhere but can't find any project opening libcudart directly. The errors could actually occur at any point during program execution as a result of logging dlerror() after a dlopen() has failed. That's how typical plugin systems work. -- You received this

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread James Cowgill
Daniel, if the dynamic linker itself complains about missing shared libraries, it is unlikely changing the mpv config file will help because the mpv config file is read after ld.so loads all the libraries. The Totem issue is the same bug as can be seen from the JournalErrors.txt file. Noam,

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Noam Mor
ldd /usr/bin/mpv output, run from /usr/lib/x86_64-linux-gnu attached. Sorry if this doesn't make sense, this is a bit voodoo for me. ** Attachment added: "ldd_mpv_from_usr_lib" https://bugs.launchpad.net/ubuntu/+source/mpv/+bug/1728514/+attachment/420/+files/ldd_mpv_from_usr_lib -- You

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Noam Mor
Okay, the most important finding so far is that if I cd to /usr/lib/x86_64-linux-gnu, mpv --help works. Not only that, it actually correctly plays videos, with mpv.conf being any of auto, vaapi, no. /usr/lib/x86_64-linux-gnu has libcudart.so.8.0.61. I guess it's some dynamic linking issue? As to

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
Let's try to keep the two issues separate. (1) This bug is about mpv and maybe specifically mpv on NVIDIA. Another workaround that might work there is: mkdir ~/.config/mpv echo hwdec=no > ~/.config/mpv/mpv.conf (2) The totem issue probably isn't a bug. We just don't install any plugins

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
Please also let me know if "hwdec=vaapi" works for you. In theory it should just fall back to software rendering for NVIDIA systems. "hwdec=vaapi" is the default setting I think we should use in future... -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
(1) You can also apply the same workaround by editing (as root): /etc/mpv/mpv.conf ** Changed in: mpv (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1728514] Re: [nvidia] mpv won't play videos because no libcudart.so.7.5

2017-10-30 Thread Daniel van Vugt
** Summary changed: - mpv won't play videos because no libcudart.so.7.5, totem won't play mp4 and h264 + [nvidia] mpv won't play videos because no libcudart.so.7.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.