From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME Date: Thu, 25 Jul 2013 01:00:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1004953238==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A2390E6D3B for ; Wed, 24 Jul 2013 18:00:01 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1004953238== Content-Type: multipart/alternative; boundary="1374714001.22FD0.951"; charset="us-ascii" --1374714001.22FD0.951 Date: Thu, 25 Jul 2013 01:00:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=67283 Priority: medium Bug ID: 67283 Assignee: dri-devel@lists.freedesktop.org Summary: VDPAU doesn't work on hybrid laptop through DRI_PRIME Severity: normal Classification: Unclassified OS: All Reporter: rakothedin@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI Created attachment 82968 --> https://bugs.freedesktop.org/attachment.cgi?id=82968&action=edit dmesg I have a hybrid muxless laptop with intel+radeon: #lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde [Radeon HD 7700M Series] I use openSUSE 12.3 x86_64 with kernel 3.11-rc2 Xorg-x11-server 1.14.2 Mesa git20130723 libdrm2 git20130722 libdrm-radeon git20130722 xf86-video-ati git20130709 The kernel is booted with i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1. $xrandr --listproviders Providers: number : 2 Provider 0: id: 0x6e cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 6 associated providers: 1 name:Intel Provider 1: id: 0x45 cap: 0xd, Source Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 1 name:radeon $xrandr --setprovideroffloadsink 0x45 0x6e $DRI_PRIME=1 glxinfo | grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE OpenGL version string: 2.1 Mesa 9.2.0-devel OpenGL shading language version string: 1.30 OpenGL extensions: But if I try VDPAU I get: $DRI_PRIME=1 vdpauinfo display: :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 or $DRI_PRIME=1 VDPAU_DRIVER=radeonsi vdpauinfo display: :0 screen: 0 do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with 2.3.x (kernel 2.6.34) or later. Error creating VDPAU device: 23 -- You are receiving this mail because: You are the assignee for the bug. --1374714001.22FD0.951 Date: Thu, 25 Jul 2013 01:00:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 67283
Assignee dri-devel@lists.freedesktop.org
Summary VDPAU doesn't work on hybrid laptop through DRI_PRIME
Severity normal
Classification Unclassified
OS All
Reporter rakothedin@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

Created attachment 82968 [details]
dmesg

I have a hybrid muxless laptop with intel+radeon:
#lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape
Verde [Radeon HD 7700M Series]

I use openSUSE 12.3 x86_64 with
kernel              3.11-rc2
Xorg-x11-server     1.14.2
Mesa                git20130723
libdrm2             git20130722
libdrm-radeon       git20130722
xf86-video-ati      git20130709

The kernel is booted with i915.i915_enable_rc6=7 i915.i915_enable_fbc=1
i915.lvds_downclock=1 drm.vblankoffdelay=1 radeon.dpm=1 modeset=1.

$xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x6e cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
3 outputs: 6 associated providers: 1 name:Intel
Provider 1: id: 0x45 cap: 0xd, Source Output, Source Offload, Sink Offload
crtcs: 6 outputs: 0 associated providers: 1 name:radeon

$xrandr --setprovideroffloadsink 0x45 0x6e

$DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL version string: 2.1 Mesa 9.2.0-devel
OpenGL shading language version string: 1.30
OpenGL extensions:

But if I try VDPAU I get:

$DRI_PRIME=1 vdpauinfo
display: :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

or

$DRI_PRIME=1 VDPAU_DRIVER=radeonsi vdpauinfo
display: :0   screen: 0
do_winsys_init: DRM version is 1.6.0 but this driver is only compatible with
2.3.x (kernel 2.6.34) or later.
Error creating VDPAU device: 23


You are receiving this mail because:
  • You are the assignee for the bug.
--1374714001.22FD0.951-- --===============1004953238== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1004953238==--