You are not logged in.

#1 2014-07-09 13:43:13

pneuma
Member
Registered: 2014-07-09
Posts: 2

Radeon VDPAU not working

Hello everyone!

Forgive me for this post, but I have no other choice.

So, here's my problem:

I've been trying to fix this problem for weeks now, searching forums for hours, without success. Before switching to Fedora, I've been using Ubuntu 14.04.

I have a HP laptop with an AMD HD 4650 gpu, using the open source Radeon drivers. I cannot play any videos / movies for more than 3 seconds, without my computer freezing completely, requiring a hard shutdown. I tried enabling VDPAU decoding ( it was working on Ubuntu 14.04 for a while, then all of a sudden it stopped). With or without VDPAU, my computer locks itself down after playing a movie for a few seonds ( or sometimes instantly). I know for sure that it's not a hardware problem, since I can play videos under Windows 7 with no problems whatsoever. This is very very frustrating, since this is the only thing keeping me from ditching Windows.

Here are a few terminal outputs that could prove useful:

lspci:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor HyperTransport Configuration (rev 40)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 11h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV730/M96 [Mobility Radeon HD 4650/5165]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RV710/730 HDMI Audio [Radeon HD 4000 series]
08:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
dmesg | grep radeon :
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.15.3-200.fc20.x86_64 root=UUID=53b9a717-ce92-44c4-a7aa-ecf17d2b79de ro LANG=en_US.UTF-8 radeon.dpm=1 radeon.pcie_gen2=0
[    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.15.3-200.fc20.x86_64 root=UUID=53b9a717-ce92-44c4-a7aa-ecf17d2b79de ro LANG=en_US.UTF-8 radeon.dpm=1 radeon.pcie_gen2=0
[    5.119937] [drm] radeon kernel modesetting enabled.
[    5.132414] fb: switching to radeondrmfb from VESA VGA
[    5.167955] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    5.167961] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
[    5.192184] [drm] radeon: 1024M of VRAM memory ready
[    5.192190] [drm] radeon: 1024M of GTT memory ready.
[    5.197517] [drm] radeon: dpm initialized
[    5.236435] radeon 0000:01:00.0: WB enabled
[    5.236448] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8800363b9c00
[    5.236458] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8800363b9c0c
[    5.238471] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x000000000005c598 and cpu addr 0xffffc9000481c598
[    5.239318] radeon 0000:01:00.0: irq 46 for MSI/MSI-X
[    5.239381] radeon 0000:01:00.0: radeon: using MSI.
[    5.239435] [drm] radeon: irq initialized.
[    5.668103] [drm] radeon atom DIG backlight initialized
[    6.647272] fbcon: radeondrmfb (fb0) is primary device
[    7.089217] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    7.089219] radeon 0000:01:00.0: registered panic notifier
[    7.089552] [drm] Initialized radeon 2.38.0 20080528 for 0000:01:00.0 on minor 0
glxinfo:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

I also managed to read a line of error message one time, before the screen started flickering like crazy:

[drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on ring 5 (-35).

I'm using Fedora 20, with Kernel 3.15.3-200.fc20.x86_64, Mesa

Any help would be greatly appreciated! ( sorry for silly post and bad english).
Thank you!

Offline

#2 2014-07-09 13:56:07

sekret
Member
Registered: 2013-07-22
Posts: 303

Re: Radeon VDPAU not working

You DO realize that this isn't a Fedora forum? But maybe we can still help.

You didn't mention which video player you are using. Please tell us and show us your configurations.

Have you tried vdpauinfo? It shows you what your card is capable of with the OSS driver.

I have a Radeon card as well (but a different one to yours) and vdpau works perfectly fine here.


Solution: Install Archlinux and be happy smile

Offline

#3 2014-07-09 18:15:17

pneuma
Member
Registered: 2014-07-09
Posts: 2

Re: Radeon VDPAU not working

sekret wrote:

You DO realize that this isn't a Fedora forum? But maybe we can still help.

You didn't mention which video player you are using. Please tell us and show us your configurations.

Have you tried vdpauinfo? It shows you what your card is capable of with the OSS driver.

I have a Radeon card as well (but a different one to yours) and vdpau works perfectly fine here.


Solution: Install Archlinux and be happy smile

Yes, I know this isn't a Fedora forum, but I am so desperate to find a solution that I was hoping the Arch Community could help me out.

Anyway, I was using Mpv prior to this, and the problem just appeared all of a sudden. Now, I tried every media player out there, nothing works.

Here is the output of vdpauinfo, from what I understand, my card should support vdpau decoding:

vdpauinfo:
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420     8192  8192  NV12 YV12 
422     8192  8192  UYVY YUYV 
444     8192  8192  Y8U8V8A8 V8U8Y8A8 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0  9216  2048  1152
MPEG2_SIMPLE          3  9216  2048  1152
MPEG2_MAIN            3  9216  2048  1152
H264_BASELINE        41  9216  2048  1152
H264_MAIN            41  9216  2048  1152
H264_HIGH            41  9216  2048  1152
VC1_SIMPLE            1  9216  2048  1152
VC1_MAIN              2  9216  2048  1152
VC1_ADVANCED          4  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
R8G8B8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
R10G10B10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 
B10G10R10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8                                                                                  
                                                                                                                                                          
Bitmap surface:                                                                                                                                           
                                                                                                                                                          
name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y 

Yeah, I probably should install Arch, but I don't feel experienced enough to do it.

Any help is appreciated. Thanks.

Offline

#4 2014-07-09 18:43:04

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Radeon VDPAU not working

pneuma wrote:

Yeah, I probably should install Arch, but I don't feel experienced enough to do it.

Beginners' guide

You better get this sorted out quickly, before the admin finds out (Arch Linux only).

Offline

Board footer

Powered by FluxBB