LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-04-2017, 06:02 AM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
Audio and Video Codec Problems


I'm on Fedora 24. I had things working at some point. But now things are all wonky.

I'm using standard Fedora repos, RPMFusion, and Negativo17. The last two are supposed to play well together although potentially there may be some issues related to the way Negativo packages Nvidia. With VLC it's currently complaining it can't play x264 videos (MPEG-4 part 10 it calls it). When I run it in the commandline it complains about not being able to access some .so's. One of them is involved in CUDA. So when I follow Negativo's CUDA instructions, I get:

Code:
$ sudo dnf install cuda nvidia-driver-cuda
Failed to synchronize cache for repo 'tech-3', disabling.
Last metadata expiration check: 0:19:12 ago on Tue Jan  3 21:15:51 2017.
Dependencies resolved.
====================================================================================================================================================================================================================
Package                                                    Arch                                      Version                                             Repository                                           Size
====================================================================================================================================================================================================================
Installing:
cuda                                                       x86_64                                    1:8.0.44-7.fc24                                     fedora-HandBrake                                     12 M
cuda-libs                                                  x86_64                                    1:8.0.44-7.fc24                                     fedora-HandBrake                                    6.4 M
nvidia-driver-cuda                                         x86_64                                    2:375.26-1.fc24                                     fedora-HandBrake                                    286 k
nvidia-driver-cuda-libs                                    x86_64                                    2:375.26-1.fc24                                     fedora-HandBrake                                     22 M
nvidia-persistenced                                        x86_64                                    2:375.26-1.fc24                                     fedora-HandBrake                                     36 k

Transaction Summary
====================================================================================================================================================================================================================
Install  5 Packages

Total download size: 40 M
Installed size: 128 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): nvidia-driver-cuda-375.26-1.fc24.x86_64.rpm                                                                                                                                  476 kB/s | 286 kB     00:00    
(2/5): cuda-libs-8.0.44-7.fc24.x86_64.rpm                                                                                                                                           375 kB/s | 6.4 MB     00:17    
(3/5): nvidia-persistenced-375.26-1.fc24.x86_64.rpm                                                                                                                                 300 kB/s |  36 kB     00:00    
(4/5): cuda-8.0.44-7.fc24.x86_64.rpm                                                                                                                                                480 kB/s |  12 MB     00:25    
(5/5): nvidia-driver-cuda-libs-375.26-1.fc24.x86_64.rpm                                                                                                                             789 kB/s |  22 MB     00:28    
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                               1.4 MB/s |  40 MB     00:28    
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
 file /usr/lib64/libcuda.so from install of nvidia-driver-cuda-libs-2:375.26-1.fc24.x86_64 conflicts with file from package xorg-x11-drv-nvidia-cuda-1:375.26-6.fc24.x86_64
 file /usr/lib64/libcuda.so.1 from install of nvidia-driver-cuda-libs-2:375.26-1.fc24.x86_64 conflicts with file from package xorg-x11-drv-nvidia-cuda-1:375.26-6.fc24.x86_64
 file /usr/lib/systemd/system/nvidia-persistenced.service from install of nvidia-persistenced-2:375.26-1.fc24.x86_64 conflicts with file from package xorg-x11-drv-nvidia-cuda-1:375.26-6.fc24.x86_64
 file /usr/share/man/man1/nvidia-persistenced.1.gz from install of nvidia-persistenced-2:375.26-1.fc24.x86_64 conflicts with file from package xorg-x11-drv-nvidia-cuda-1:375.26-6.fc24.x86_64
 file /etc/OpenCL/vendors/nvidia.icd from install of nvidia-driver-cuda-2:375.26-1.fc24.x86_64 conflicts with file from package xorg-x11-drv-nvidia-cuda-1:375.26-6.fc24.x86_64
Note: I'd originally installed nvidia via RPMFusion, but at some point it stopped working correctly and since Fedora is now recommending Negativo (it's the version installed via software center in Gnome), I went with that (via a dnf upgrade that took Negativo's Nvidia since it was newer) and it started working again.

So I tried Dragon Player to play. It just plays the audio, not the video. Right now I have KDE set to use the gstreamer backend because the VLC backend was causing issues with Amarok.

I have some DVDs I've ripped via MakeMKV and Dragon Player plays those just fine. VLC complains about not having a52 audio codec and plays silent videos.

Some more useful info:

Code:
$ rpm -aq *vlc*
python-vlc-1.1.0-8.20141115git.fc24.noarch
vlc-extras-3.0.0-15.20161221git634cd2e.fc24.x86_64
phonon-backend-vlc-0.9.0-1.fc24.x86_64
npapi-vlc-filesystem-2.2.0-0.1.fc24.x86_64
vlc-plugin-jack-3.0.0-15.20161221git634cd2e.fc24.x86_64
vlc-3.0.0-15.20161221git634cd2e.fc24.x86_64
phonon-qt5-backend-vlc-0.9.0-1.fc24.x86_64
vlc-core-3.0.0-15.20161221git634cd2e.fc24.x86_64
npapi-vlc-2.2.0-0.1.fc24.x86_64
and

Code:
$ rpm -aq *gstreamer*
gstreamer1-plugins-bad-nvenc-1.8.3-4.fc24.x86_64
gstreamer-plugins-base-0.10.36-15.fc24.x86_64
gstreamer-devel-0.10.36-14.fc24.x86_64
gstreamer1-1.8.3-1.fc24.x86_64
gstreamer-plugins-base-devel-0.10.36-15.fc24.x86_64
gstreamer-plugins-bad-free-extras-0.10.23-34.fc24.x86_64
gstreamer1-plugins-ugly-1.8.3-3.fc24.x86_64
gstreamer-plugins-bad-0.10.23-7.fc24.x86_64
gstreamer-plugins-bad-free-0.10.23-34.fc24.x86_64
gstreamer1-plugins-base-1.8.3-2.fc24.x86_64
PackageKit-gstreamer-plugin-1.1.3-2.fc24.x86_64
gstreamer-ffmpeg-0.10.13-16.fc24.x86_64
gstreamer-plugins-fc-0.2-12.fc24.x86_64
qt5-gstreamer-1.2.0-8.fc24.x86_64
gstreamer-plugins-ugly-devel-docs-0.10.19-19.fc24.noarch
gstreamer-plugins-bad-free-devel-docs-0.10.23-34.fc24.x86_64
gstreamer1-plugins-good-1.8.3-2.fc24.x86_64
gstreamer-plugins-base-tools-0.10.36-15.fc24.x86_64
gstreamer-plugins-bad-nonfree-0.10.23-3.fc24.x86_64
gstreamer-plugins-espeak-0.4.0-9.fc24.x86_64
phonon-backend-gstreamer-4.9.0-1.fc24.x86_64
gstreamer-plugins-good-0.10.31-17.fc24.x86_64
gstreamer-plugins-good-devel-docs-0.10.31-17.fc24.noarch
gstreamer-plugins-bad-free-devel-0.10.23-34.fc24.x86_64
qt-gstreamer-1.2.0-8.fc24.x86_64
gstreamer-0.10.36-14.fc24.x86_64
gstreamer-plugins-good-extras-0.10.31-17.fc24.x86_64
phonon-qt5-backend-gstreamer-4.9.0-1.fc24.x86_64
gstreamer1-plugins-bad-1.8.3-4.fc24.x86_64
libnice-gstreamer1-0.1.13-4.fc24.x86_64
gstreamer-plugins-base-devel-docs-0.10.36-15.fc24.noarch
gstreamer-plugins-ugly-0.10.19-19.fc24.x86_64
gstreamer-tools-0.10.36-14.fc24.x86_64
Also, Kdenlive (video editor) is having issues with mp4s - I'm not sure what backend they use.

I would appreciate any suggestions in fixing this unruly mess.

Thanks!
 
Old 01-05-2017, 04:09 PM   #2
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
Solution was to uninstall the xorg CUDA and install the Negativo CUDA. All works now.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
codec to play audio from .3g2 video files. kb50 Linux - General 4 01-31-2015 10:31 PM
Video Problems After Codec Install thugic Slackware 1 11-09-2005 04:02 AM
Couple of Video Codec problems... Aeiri Linux - Software 1 06-30-2004 12:52 PM
VIA VT8233/A/8235 AC97 Audio Codec problems spank Linux - Newbie 0 02-22-2004 10:51 AM
MEncoder audio codec problems ddpicard Linux - Software 16 05-29-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration