Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot play video in full screen mode
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Mon Jun 19, 2017 12:51 pm    Post subject: Cannot play video in full screen mode Reply with quote

Every video file has the following problem:

Code:

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.


This prevents the video from scaling, and it also prevents it from running in full screen mode.

I have a radeon card, so my first question is should it at all even try to use libvdpau_nvidia.so?

Assuming it should, I need this .so file.

I tried to find what package it belongs to using

Code:

equery belongs libvdpau_nvidia.so


This returns nothing.

I do an emerge --search for vdpau and decide to install x11-libs/libva-vdpau-driver anyway, and I see from equery files that it does have a similar .so file: /usr/lib64/va/drivers/vdpau_drv_video.so Maybe if I reemerge mplayer it will be updated to use this new file? A long shot I suppose.

Code:

# equery files x11-libs/libva-vdpau-driver
 * Searching for libva-vdpau-driver in x11-libs ...
 * Contents of x11-libs/libva-vdpau-driver-0.7.4-r4:
/usr
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/lib64
/usr/lib/debug/usr/lib64/va
/usr/lib/debug/usr/lib64/va/drivers
/usr/lib/debug/usr/lib64/va/drivers/vdpau_drv_video.so.debug
/usr/lib64
/usr/lib64/va
/usr/lib64/va/drivers
/usr/lib64/va/drivers/nvidia_drv_video.so -> vdpau_drv_video.so
/usr/lib64/va/drivers/s3g_drv_video.so -> vdpau_drv_video.so
/usr/lib64/va/drivers/vdpau_drv_video.la
/usr/lib64/va/drivers/vdpau_drv_video.so
/usr/share
/usr/share/doc
/usr/share/doc/libva-vdpau-driver-0.7.4-r4
/usr/share/doc/libva-vdpau-driver-0.7.4-r4/AUTHORS
/usr/share/doc/libva-vdpau-driver-0.7.4-r4/NEWS.bz2
/usr/share/doc/libva-vdpau-driver-0.7.4-r4/README.bz2


Tried fiddling a bit with eselect mesa, tried setting all to use gallium.

Code:

# eselect mesa list
64bit i915 (Intel 915, 945)
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
64bit r300 (Radeon R300-R500)
  [1]   gallium *
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
32bit r300 (Radeon R300-R500)
  [1]   gallium *
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   gallium *
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


I also tried the procedure in this thread https://forums.gentoo.org/viewtopic-t-1008250-start-0.html

Code:

echo VDPAU_DRIVER="nvidia" >> /etc/portage/make.conf
emerge - x11-libs/libva-vdpau-driver
ls /usr/lib*/ | grep nvidia.so
export VDPAU_DRIVER=nvidia


But ls /usr/lib*/ | grep nvidia.so gives me nothing, and the same problem persists.
Back to top
View user's profile Send private message
_Nomad_
Guru
Guru


Joined: 11 Apr 2003
Posts: 569

PostPosted: Mon Jun 19, 2017 9:13 pm    Post subject: Reply with quote

Well, if you don't have a nvidia card in your computer make.conf shouldn't have the word nvidia in it at all. That particular library belongs to the nvidia-drivers package. Can you post your make.conf?
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Tue Jun 20, 2017 10:50 am    Post subject: Reply with quote

_Nomad_ wrote:
Well, if you don't have a nvidia card in your computer make.conf shouldn't have the word nvidia in it at all. That particular library belongs to the nvidia-drivers package. Can you post your make.conf?


Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 vdpau threads -pulseaudio -gnome -kde -minimal -qt4 -libav dbus jpeg lock session startup-     notification thunar udev X alsa xinerama"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
#FEATURES="distcc"
FEATURES="splitdebug -collision-detect"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
INPUT_DEVICES="evdev"
VIDEO_CARDS="radeon"
PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
USE_PYTHON='3.3'

GENTOO_MIRRORS="rsync://ftp.snt.utwente.nl/gentoo ftp://ftp.snt.utwente.nl/pub/ os/linux/gentoo ftp://mirror.bytemark.co.uk/gentoo/ ftp://sunsite.informatik.   rwth-aachen.de/pub/Linux/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo/"
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1671
Location: Oranienburg/Germany

PostPosted: Tue Jun 20, 2017 11:42 am    Post subject: Reply with quote

Hi,

Did you follow this guide: https://wiki.gentoo.org/wiki/VDPAU ?

Since you dont have an nvidia card, you should never ever follow a guide with an nvidia card!!! This will mostly lead you into the wrong direction.

greets, bb
_________________
1st: i5-4440, 16GB, 1.75TB
2nd: i5-3470T, 8GB, 620GB
3rd: i5-3450, 12GB, 64GB USB+ 6.25TB
4th: Asus N61VN, 8GB, 120GB
5th: RPi, 512MB, 8GB USB + NFS
6th: C2D T7200, 2GB, 16GB USB + NFS
7th: RPi3 1GB, 64GB USB
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Wed Jun 21, 2017 10:51 pm    Post subject: Reply with quote

bbgermany wrote:
Hi,

Did you follow this guide: https://wiki.gentoo.org/wiki/VDPAU ?

Since you dont have an nvidia card, you should never ever follow a guide with an nvidia card!!! This will mostly lead you into the wrong direction.

greets, bb


I have followed it to the letter. I've also tried:

* Emerged with changed use
* Updated world.
* Unmerged and remerged everything related to vdpau manually
* Checked if any ebuild related to nvidia is installed, no.
* Rebooted.

This is what still happens:

Code:

# vdpauinfo
display: :0.0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1


I don't have anything related to nvidia in my make.conf nor my whole /etc/portage related to nvidia.

Code:

# grep -Ri nvidia /etc/portage


Shows nothing.

Moreover, even stranger is that:

Code:

# ldd /usr/bin/vdpauinfo
        linux-vdso.so.1 (0x00007ffd613f0000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f6cf0879000)
        libvdpau.so.1 => /usr/lib64/libvdpau.so.1 (0x00007f6cf0675000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libstdc++.so.6 (0x00007f6cf027d000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/libgcc_s.so.1 (0x00007f6cf0066000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f6cefccd000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f6cefaa4000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f6cef8a0000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003bdf400000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6cef684000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f6cef381000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6cf0bbb000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003bdec00000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007f6cef17b000)
        libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007f6ceef65000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f6ceed5d000)


Where is this libvdpau_nvidia.so being referenced?

Even this:

Code:

# strings /usr/bin/vdpauinfo |grep -i nvidia


Comes up empty handed!

My make.conf is now:

Code:

CFLAGS="-O2 -march=native"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"
CHOST="x86_64-pc-linux-gnu"
USE="bindist mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 vdpau threads -pulseaudio -gnome -kde -minimal -qt4 -libav dbus jpeg lock session startup-notification thunar udev X alsa     xinerama"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
FEATURES="splitdebug -collision-detect"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
INPUT_DEVICES="evdev"
VIDEO_CARDS="radeon"
PORTDIR_OVERLAY="/usr/local/portage"
source /var/lib/layman/make.conf
USE_PYTHON='3.3'
VDPAU_DRIVER="r300"

GENTOO_MIRRORS="rsync://ftp.snt.utwente.nl/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.bytemark.co.uk/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo    http://gd.tuwien.ac.at/opsys/linux/gentoo/"
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 316
Location: Brazil

PostPosted: Thu Jun 22, 2017 12:07 am    Post subject: Reply with quote

You tried to follow the steps for a guy that had the opposite problem that you're having. He has a nvidia card and his VDPAU was being detected as r300.

You should follow this, for Radeon cards: https://wiki.gentoo.org/wiki/VDPAU
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Thu Jun 22, 2017 11:26 am    Post subject: Reply with quote

saboya wrote:
You tried to follow the steps for a guy that had the opposite problem that you're having. He has a nvidia card and his VDPAU was being detected as r300.

You should follow this, for Radeon cards: https://wiki.gentoo.org/wiki/VDPAU


Thanks but I don't think you read the whole thread. I followed an incorrect guide at first, yes, but since it was pointed out by bbgermany that I should follow the VDPAU guide at https://wiki.gentoo.org/wiki/VDPAU I have followed exactly that guide.

Please read this post https://forums.gentoo.org/viewtopic-p-8082034.html#8082034 to see how that went. Basically, I still have the same problem, even though I have followed https://wiki.gentoo.org/wiki/VDPAU for Radeon cards.
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 316
Location: Brazil

PostPosted: Thu Jun 22, 2017 2:50 pm    Post subject: Reply with quote

Apparently you have to set the VDPAU_DRIVER on your session, and not on make.conf. Have you tried that?
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1671
Location: Oranienburg/Germany

PostPosted: Fri Jun 23, 2017 4:21 am    Post subject: Reply with quote

Hi,

can you please post the output of the following command?

Code:

cat /var/log/Xorg.0.log | grep -i vdpau


If this doesnt show up anything, we should have a look at this first.

greets, bb
_________________
1st: i5-4440, 16GB, 1.75TB
2nd: i5-3470T, 8GB, 620GB
3rd: i5-3450, 12GB, 64GB USB+ 6.25TB
4th: Asus N61VN, 8GB, 120GB
5th: RPi, 512MB, 8GB USB + NFS
6th: C2D T7200, 2GB, 16GB USB + NFS
7th: RPi3 1GB, 64GB USB
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11178

PostPosted: Sat Jun 24, 2017 12:35 am    Post subject: Reply with quote

That is a Useless Use Of Cat and should not be encouraged. The same result can be achieved more succinctly with:
Code:
grep -i vdpau /var/log/Xorg.0.log
This has the minor bonus that if you want to search multiple files and show the names of matched files, grep will be able to do so. A cat of all files into one pipe would lose that information.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 12:30 pm    Post subject: Reply with quote

Code:

$ grep -i vdpau /var/log/Xorg.0.log

Prints nothing.

This is the device I have:

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 12:46 pm    Post subject: Reply with quote

deltamalloc,

Make friends with wgetpaste and pastebin /var/log/Xorg.0.log please.
That will show us what Xorg does when it starts.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 12:57 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

Make friends with wgetpaste and pastebin /var/log/Xorg.0.log please.
That will show us what Xorg does when it starts.


https://paste.pound-python.org/show/FQNSx2lziUn8A3M1Fxnw/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 1:44 pm    Post subject: Reply with quote

deltamalloc,

Code:
[   243.265] (WW) RADEON(0): Direct rendering disabled
[   243.265] (II) RADEON(0): Acceleration disabled

That's a bad thing but
Code:
 [   242.564] (II) xfree86: Adding drm device (/dev/dri/card0)
shows that your kernel has DRM support.

Two things to check.

1 Your normal user must be in the video group or they won't have access to
Code:
$ ls -l  /dev/dri/card0
crw-rw---- 1 root video 226, 0 Feb 16  2014 /dev/dri/card0


2 Fimware loading. You have a
Code:
[   242.627] (--) RADEON(0): Chipset: "TAHITI" (ChipID = 0x6798)

No firmware, no 3D acceleration. dmesg will tell you about that.

If the radeon kernel driver is a module, the firmware mush be in /lib/firwmare.
If the radeon kernel driver is built into the kernel, the firmware must be included in the kernel binary.

The firmware is provided by sys-kernel/linux-firmware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 5:00 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

Code:
[   243.265] (WW) RADEON(0): Direct rendering disabled
[   243.265] (II) RADEON(0): Acceleration disabled

That's a bad thing but
Code:
 [   242.564] (II) xfree86: Adding drm device (/dev/dri/card0)
shows that your kernel has DRM support.

Two things to check.

1 Your normal user must be in the video group or they won't have access to
Code:
$ ls -l  /dev/dri/card0
crw-rw---- 1 root video 226, 0 Feb 16  2014 /dev/dri/card0


2 Fimware loading. You have a
Code:
[   242.627] (--) RADEON(0): Chipset: "TAHITI" (ChipID = 0x6798)

No firmware, no 3D acceleration. dmesg will tell you about that.

If the radeon kernel driver is a module, the firmware mush be in /lib/firwmare.
If the radeon kernel driver is built into the kernel, the firmware must be included in the kernel binary.

The firmware is provided by sys-kernel/linux-firmware.


Ok, I now have the firmware loaded. I have no idea how this suddenly just stopped working. But it is working again now.

Code:

$ dmesg |grep -i tahiti
[    0.791694] [drm] initializing kernel modesetting (TAHITI 0x1002:0x6798 0x1682:0x3001 0x00).
[    0.792242] ATOM BIOS: Tahiti
[    0.795338] [drm] Loading tahiti Microcode


I've also always been in the video group.

Anyway, this doesn't really help this problem:

Code:

$ vdpauinfo
display: :0.0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1


Why does it ask for this nvidia.so file? As I wrote in my previous post about this, the nvidia.so file is not even listed as a dependency for vdpauinfo when I use ldd. Nor does it show up when I use strings. I don't have anything regarding nvidia in my /etc/portage, nor do I have anything nvidia related installed, as I pointed out.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 5:11 pm    Post subject: Reply with quote

deltamalloc,

You need the 3D acceleration to work.

What does
Code:
eselect opengl list
show?

The wiki says
https://wiki.gentoo.org/wiki/VDPAU wrote:
Currently libvdpau is hardcoded to load nvidia backend driver. It means that VDPAU will not work properly on Radeon cards. The only possible way to change that behavior is by specifying the correct back-end driver manually
Which is not what you want.

How do you start Xorg?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 5:19 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

You need the 3D acceleration to work.

What does
Code:
eselect opengl list
show?

The wiki says[quote=https://wiki.gentoo.org/wiki/VDPAU]Currently libvdpau is hardcoded to load nvidia backend driver. It means that VDPAU will not work properly on Radeon cards. The only possible way to change that behavior is by specifying the correct back-end driver manually
Which is not what you want.

How do you start Xorg?[/quote]

Code:

$ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *


I start Xorg by OpenRC, which also starts xdm.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 5:43 pm    Post subject: Reply with quote

deltamalloc,

It that case you start Xorg twice. Once as root to get the login screen, then as your normal user.
Code:
grep -i vdpau | /var/log/Xorg.0.log
or
Code:
grep -i vdpau | /var/log/Xorg.0.log.old
should show something.

The .old log is from roots session to get the user name and password, the /var/log/Xorg.0.log is for the current session.

Once you know the VDPAU_DRIVER value add it to both roots and any normal user that will use Xorg, environment.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 6:33 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

It that case you start Xorg twice. Once as root to get the login screen, then as your normal user.
Code:
grep -i vdpau | /var/log/Xorg.0.log
or
Code:
grep -i vdpau | /var/log/Xorg.0.log.old
should show something.

The .old log is from roots session to get the user name and password, the /var/log/Xorg.0.log is for the current session.

Once you know the VDPAU_DRIVER value add it to both roots and any normal user that will use Xorg, environment.


Nothing comes up.

Code:

# grep -i vdpau /var/log/Xorg.0.log
# grep -i vdpau /var/log/Xorg.0.log.old
#
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sat Jun 24, 2017 7:11 pm    Post subject: Reply with quote

deltamalloc,

Lets try from the other end.

What does
Code:
emerge -pv x11-libs/libva-vdpau-driver x11-libs/libvdpau
show?
The right answer is
Code:
$ emerge -pv x11-libs/libva-vdpau-driver x11-libs/libvdpau

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libvdpau-1.1.1::gentoo  USE="dri -doc {-test}" 0 KiB
[ebuild   R    ] x11-libs/libva-vdpau-driver-0.7.4-r4::gentoo  USE="opengl -debug" 0 KiB

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5829
Location: Saint Amant, Acadiana

PostPosted: Sat Jun 24, 2017 7:13 pm    Post subject: Reply with quote

deltamalloc,

what video player you are using and what output it is configured to use?
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
bbgermany
Veteran
Veteran


Joined: 21 Feb 2005
Posts: 1671
Location: Oranienburg/Germany

PostPosted: Sat Jun 24, 2017 10:22 pm    Post subject: Reply with quote

Hu wrote:
That is a Useless Use Of Cat and should not be encouraged. The same result can be achieved more succinctly with:
Code:
grep -i vdpau /var/log/Xorg.0.log
This has the minor bonus that if you want to search multiple files and show the names of matched files, grep will be able to do so. A cat of all files into one pipe would lose that information.


Thank you for pointing this out, maybe the guy who wrote the vdpau howto @ https://wiki.gentoo.org/wiki/VDPAU#Radeon_specific_install_steps should rewrite this. I just copied it!

since the vdpau isnt initialized at xorg startup, we should have a look at this first!

greets, bb
_________________
1st: i5-4440, 16GB, 1.75TB
2nd: i5-3470T, 8GB, 620GB
3rd: i5-3450, 12GB, 64GB USB+ 6.25TB
4th: Asus N61VN, 8GB, 120GB
5th: RPi, 512MB, 8GB USB + NFS
6th: C2D T7200, 2GB, 16GB USB + NFS
7th: RPi3 1GB, 64GB USB
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Jun 24, 2017 10:33 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

Lets try from the other end.

What does
Code:
emerge -pv x11-libs/libva-vdpau-driver x11-libs/libvdpau
show?
The right answer is
Code:
$ emerge -pv x11-libs/libva-vdpau-driver x11-libs/libvdpau

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libvdpau-1.1.1::gentoo  USE="dri -doc {-test}" 0 KiB
[ebuild   R    ] x11-libs/libva-vdpau-driver-0.7.4-r4::gentoo  USE="opengl -debug" 0 KiB


Same:

Code:

# emerge -pv x11-libs/libva-vdpau-driver x11-libs/libvdpau

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libvdpau-1.1.1::gentoo  USE="dri -doc {-test}" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] x11-libs/libva-vdpau-driver-0.7.4-r4::gentoo  USE="opengl -debug" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38855
Location: 56N 3W

PostPosted: Sun Jun 25, 2017 9:26 am    Post subject: Reply with quote

deltamalloc,

Show your environment as your normal user. It will be a mess in a post.
Code:
export | wgetpaste
will work.

What video player are you using?
Pastebin its
Code:
emerge --info <package>

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sun Jun 25, 2017 2:07 pm    Post subject: Reply with quote

NeddySeagoon wrote:
deltamalloc,

Show your environment as your normal user. It will be a mess in a post.
Code:
export | wgetpaste
will work.

What video player are you using?
Pastebin its
Code:
emerge --info <package>


Export wgetpaste:

https://paste.pound-python.org/show/CBTaEA2INtzHnMrwq2n2/


I'm using mplayer.

emerge --info:
https://paste.pound-python.org/show/QHr5QZWsfa2f50ejEQFt/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum