Bug 95527

Summary: [radeonsi][CIK][VDPAU] Unable to use VDPAU locks up X
Product: Mesa Reporter: Shawn Starr <shawn.starr>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED WORKSFORME QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: vedran
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log file

Description Shawn Starr 2016-05-22 18:33:18 UTC
I am currently using kernel module AMDGPU with CIK enabled:

Attached is Xorg.log

- Mesa is git master from 2016-05-20
- LLVM 3.9 trunk is from same date
- Kernel compiled is 4.7.0-0.rc0.git2.3.fc23.x86_64 (Fedora) w/ AMDGPU CIK enabled

When using VLC, if it attempts to use VDPAU it shows nothing, if I close VLC it crashes X, I can ssh into system however.
Comment 1 Shawn Starr 2016-05-22 18:34:10 UTC
Created attachment 123967 [details]
Xorg log file
Comment 2 Shawn Starr 2016-05-22 18:34:49 UTC
I am also using the latest AMDGPU DDX from git
Comment 3 Michel Dänzer 2016-05-24 06:46:37 UTC
Did this work with older snapshots of the components?

Please attach the dmesg output captured after the problem occurred.

What does "crashes X" mean exactly? There's no trace of any problem in the attached Xorg log.
Comment 4 Shawn Starr 2016-05-24 13:45:40 UTC
This would have worked with radeon.ko CIK, I can double check this however using same kernel, mesa/LLVM build I have currently.

There is no kernel dmesg output showing anything failed, X just locks up, cannot VT switch, mouse can move but cannot interact with the display.

I can ssh into system when this happens.
Comment 5 Shawn Starr 2016-06-04 03:03:06 UTC
This appears fixed with latest mesa git master and agd5f's drm-next-wip-4.8 branch, either way, vlc is not hanging anymore, nor libreoffice.

With that, closing this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.