* [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME
@ 2013-07-25 1:00 bugzilla-daemon
2013-07-25 1:00 ` [Bug 67283] " bugzilla-daemon
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 2320 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 3730 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
@ 2013-07-25 1:00 ` bugzilla-daemon
2013-07-25 1:06 ` bugzilla-daemon
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 290 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #1 from Hohahiu <rakothedin@gmail.com> ---
Created attachment 82969
--> https://bugs.freedesktop.org/attachment.cgi?id=82969&action=edit
Xorg.0.log
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1178 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
2013-07-25 1:00 ` [Bug 67283] " bugzilla-daemon
@ 2013-07-25 1:06 ` bugzilla-daemon
2013-07-25 1:44 ` bugzilla-daemon
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 258 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #2 from Martin Peres <martin.peres@ensi-bourges.fr> ---
For the records, we have the exact same problem with nouveau.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
2013-07-25 1:00 ` [Bug 67283] " bugzilla-daemon
2013-07-25 1:06 ` bugzilla-daemon
@ 2013-07-25 1:44 ` bugzilla-daemon
2013-07-25 1:45 ` bugzilla-daemon
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:44 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #3 from Dave Airlie <airlied@freedesktop.org> ---
I can make vdpauinfo work with two patches, but I haven't looked at making
anything play yet!
one patch is for libvdpau and one patch for mesa.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1119 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (2 preceding siblings ...)
2013-07-25 1:44 ` bugzilla-daemon
@ 2013-07-25 1:45 ` bugzilla-daemon
2013-07-25 1:46 ` bugzilla-daemon
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 330 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #4 from Dave Airlie <airlied@freedesktop.org> ---
Created attachment 82970
--> https://bugs.freedesktop.org/attachment.cgi?id=82970&action=edit
mesa patch to make vl pick the right device
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1375 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (3 preceding siblings ...)
2013-07-25 1:45 ` bugzilla-daemon
@ 2013-07-25 1:46 ` bugzilla-daemon
2013-07-25 3:03 ` bugzilla-daemon
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 1:46 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #5 from Dave Airlie <airlied@freedesktop.org> ---
Created attachment 82971
--> https://bugs.freedesktop.org/attachment.cgi?id=82971&action=edit
libvdpau patch to pick the correct driver.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1372 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (4 preceding siblings ...)
2013-07-25 1:46 ` bugzilla-daemon
@ 2013-07-25 3:03 ` bugzilla-daemon
2013-07-25 5:05 ` bugzilla-daemon
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 3:03 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 382 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #6 from Martin Peres <martin.peres@ensi-bourges.fr> ---
Thanks airlied, it works for me.
However, on KWin, I have to minimize and then maximize again the video in order
to have the video rolling. Otherwise, I only see an empty/black window.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1172 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (5 preceding siblings ...)
2013-07-25 3:03 ` bugzilla-daemon
@ 2013-07-25 5:05 ` bugzilla-daemon
2013-07-25 7:45 ` bugzilla-daemon
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 5:05 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 478 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #7 from Hohahiu <rakothedin@gmail.com> ---
I've tried both patches. It seems like everything works pretty well. So
vdpainfo now shows the supported formats. The 1080p video plays without any
problem (I also use kwin, xrender in particular) in mplayer. Top showed
decrease in CPU usage while using VDPAU.
Dave, thank you for the fast fix.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1255 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (6 preceding siblings ...)
2013-07-25 5:05 ` bugzilla-daemon
@ 2013-07-25 7:45 ` bugzilla-daemon
2013-07-26 5:06 ` bugzilla-daemon
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-25 7:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 588 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Christian König <deathsimple@vodafone.de> ---
Sounds like we can close the bug as soon as the proposed patches are upstream.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2118 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (7 preceding siblings ...)
2013-07-25 7:45 ` bugzilla-daemon
@ 2013-07-26 5:06 ` bugzilla-daemon
2013-07-26 5:20 ` bugzilla-daemon
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-26 5:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 284 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #9 from Martin Peres <martin.peres@ensi-bourges.fr> ---
@Hohahiu: Do you also have to minimize and maximize the video in order to see
an image?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1122 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (8 preceding siblings ...)
2013-07-26 5:06 ` bugzilla-daemon
@ 2013-07-26 5:20 ` bugzilla-daemon
2013-07-26 23:33 ` bugzilla-daemon
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-26 5:20 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 701 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
Aaron Plattner <aplattner@nvidia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aplattner@nvidia.com
--- Comment #10 from Aaron Plattner <aplattner@nvidia.com> ---
I applied Dave's patch to libvdpau:
http://cgit.freedesktop.org/~aplattner/libvdpau/commit/?id=22a2f15f3e5f36641f72211da9f786b6778d0481
I'll make an 0.7 release to pick up this and a file descriptor leak fix soon,
unless something else crops up before then.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2208 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (9 preceding siblings ...)
2013-07-26 5:20 ` bugzilla-daemon
@ 2013-07-26 23:33 ` bugzilla-daemon
2013-07-26 23:37 ` bugzilla-daemon
2013-08-05 14:34 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-26 23:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 857 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #11 from Hohahiu <rakothedin@gmail.com> ---
@Martin Peres, I've done a little bit of investigation.
So if I don't use any desktop effects in kwin, the video on mplayer+VDPAU is
choppy and not visible sometimes (except fullscreen). Also in this case I
cannot exit fullscreen. Basically double click doesn't have any effect as well
as alt+tab. Or to be more precise it seems like a window is minimized but the
video is on top of desktop.
If I use desktop effects+Xrender everything works like a charm.
The desktop effects+OpenGL render behave exactly like you described in your
message.
By the way I use KDE 4.10.5 (OpenSUSE 12.3). Is it possible that this issue a
bug in kwin? Which options do you use in KDE?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1683 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (10 preceding siblings ...)
2013-07-26 23:33 ` bugzilla-daemon
@ 2013-07-26 23:37 ` bugzilla-daemon
2013-08-05 14:34 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-07-26 23:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #12 from Martin Peres <martin.peres@ensi-bourges.fr> ---
@Hohahiu: I always use GL, so I guess we are seeing consistency here. This is
good. We should try with other compositors and see if it helps.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1178 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug 67283] VDPAU doesn't work on hybrid laptop through DRI_PRIME
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
` (11 preceding siblings ...)
2013-07-26 23:37 ` bugzilla-daemon
@ 2013-08-05 14:34 ` bugzilla-daemon
12 siblings, 0 replies; 14+ messages in thread
From: bugzilla-daemon @ 2013-08-05 14:34 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 359 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=67283
--- Comment #13 from sfievet <sebastien.fievet@free.fr> ---
would these patches work for a "muxed" hybrid laptop as well ?
Otherwise, what would be needed to have libvdpau automatically pick up the
right driver on muxed systems ?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2013-08-05 14:34 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-25 1:00 [Bug 67283] New: VDPAU doesn't work on hybrid laptop through DRI_PRIME bugzilla-daemon
2013-07-25 1:00 ` [Bug 67283] " bugzilla-daemon
2013-07-25 1:06 ` bugzilla-daemon
2013-07-25 1:44 ` bugzilla-daemon
2013-07-25 1:45 ` bugzilla-daemon
2013-07-25 1:46 ` bugzilla-daemon
2013-07-25 3:03 ` bugzilla-daemon
2013-07-25 5:05 ` bugzilla-daemon
2013-07-25 7:45 ` bugzilla-daemon
2013-07-26 5:06 ` bugzilla-daemon
2013-07-26 5:20 ` bugzilla-daemon
2013-07-26 23:33 ` bugzilla-daemon
2013-07-26 23:37 ` bugzilla-daemon
2013-08-05 14:34 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).