Can't get to work VDPAU on Optimus Notebook. But everything else works fine
Hey there, after days of googleing and trying i'm out of ideas. I own a Asus N76VB Notebook with nvidia GT740M and i7. The Linux distribution is Kubuntu 14.04. Kernel: 3.13.0-40-generic Nvidida-Drivers: 346.22 (trying anything below also) $ export VDPAU_TRACE=2 $ export VDPAU_NVIDIA_DEBUG=3 $ vdpauinfo display: :0 screen: 0 VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.22 Tue Dec 2 10:23:46 PST 2014 VDPAU nvidia: Error detected 9 326 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d78d000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d7c061f] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d7af693] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d794c03] vdp_imp_device_create_x11 Error creating VDPAU device: 1 nvidia-bug-report file shows nothing. mplayer -vo vdpau movie.mkv [...] [vdpau] Error when calling vdp_device_create_x11: 1 [...] $ prime-select query nvidia $ glxinfo |grep render direct rendering: Yes OpenGL renderer string: GeForce GT 740M/PCIe/SSE2 GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted, GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image, GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite, any help would be greatly appreciated Thanks!
Hey there,

after days of googleing and trying i'm out of ideas. I own a Asus N76VB Notebook with nvidia GT740M and i7. The Linux distribution is Kubuntu 14.04.

Kernel: 3.13.0-40-generic
Nvidida-Drivers: 346.22 (trying anything below also)

$ export VDPAU_TRACE=2
$ export VDPAU_NVIDIA_DEBUG=3
$ vdpauinfo
display: :0 screen: 0
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.22 Tue Dec 2 10:23:46 PST 2014
VDPAU nvidia: Error detected 9 326 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d78d000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d7c061f]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d7af693]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f748d794c03] vdp_imp_device_create_x11
Error creating VDPAU device: 1


nvidia-bug-report file shows nothing.

mplayer -vo vdpau movie.mkv
[...]
[vdpau] Error when calling vdp_device_create_x11: 1
[...]

$ prime-select query
nvidia

$ glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: GeForce GT 740M/PCIe/SSE2
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_KTX_buffer_region, GL_NVX_conditional_render, GL_NVX_gpu_memory_info,
GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,
GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,




any help would be greatly appreciated

Thanks!

#1
Posted 12/09/2014 09:47 PM   
I have exact same problem, 740M and VAAPI not working on Ubuntu. [code]rz2k@victorique:~$ vainfo libva info: VA-API version 0.35.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_0_35 VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.22 Tue Dec 2 10:23:46 PST 2014 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d721000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d75461f] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d743693] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d728c03] vdp_imp_device_create_x11 libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit[/code] strace [url]http://pastebin.com/NMbnL43q[/url]. Please help, Best Regards, Dmitry Beykun
I have exact same problem, 740M and VAAPI not working on Ubuntu.

rz2k@victorique:~$ vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.22 Tue Dec 2 10:23:46 PST 2014
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d721000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d75461f]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d743693]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f0b0d728c03] vdp_imp_device_create_x11
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit


strace http://pastebin.com/NMbnL43q.

Please help,

Best Regards,
Dmitry Beykun

#2
Posted 12/27/2014 02:44 PM   
bump.
bump.

#3
Posted 01/02/2015 12:07 AM   
Can you please generate and attach an nvidia-bug-report.log.gz file?
Can you please generate and attach an nvidia-bug-report.log.gz file?

Aaron Plattner
NVIDIA Linux Graphics

#4
Posted 01/08/2015 08:50 PM   
[quote="aplattner"]Can you please generate and attach an nvidia-bug-report.log.gz file?[/quote] sure, https://www.dropbox.com/s/3s5tx823hjexm9d/nvidia-bug-report.log.gz?dl=0
aplattner said:Can you please generate and attach an nvidia-bug-report.log.gz file?

sure, https://www.dropbox.com/s/3s5tx823hjexm9d/nvidia-bug-report.log.gz?dl=0

#5
Posted 01/10/2015 03:21 PM   
I've got the same issue, GTX 840M (GM108M), xorg-server 1.16.3, libvdpau 0.8, nvidia 343.36
I've got the same issue, GTX 840M (GM108M), xorg-server 1.16.3, libvdpau 0.8, nvidia 343.36

#6
Posted 01/18/2015 07:14 PM   
fratti, can you please post a bug report and the exact error message you're getting, too?
fratti, can you please post a bug report and the exact error message you're getting, too?

Aaron Plattner
NVIDIA Linux Graphics

#7
Posted 01/23/2015 04:53 PM   
Sure. [code] ✓ fratti@archbook ~ $ export VDPAU_TRACE=2 ✓ fratti@archbook ~ $ export VDPAU_NVIDIA_DEBUG=3 ✓ fratti@archbook ~ $ vdpauinfo display: :0 screen: 0 VDPAU capture: Enabled vdp_imp_device_create_x11(0x7f35c74b5010, 0, -, -) VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.35 Sat Jan 10 20:57:09 PST 2015 VDPAU nvidia: Error detected 9 326 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c4743000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c477661f] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c4765693] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c474ac03] vdp_imp_device_create_x11 -> 1 Error creating VDPAU device: 1 [/code] All outputs of this laptop are connected to the Intel GPU, by the way. Might be relevant: [code] ✓ fratti@archbook ~ $ xrandr --listproviders Providers: number : 2 Provider 0: id: 0x1f5 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0 Provider 1: id: 0x46 cap: 0x2, Sink Output crtcs: 3 outputs: 4 associated providers: 1 name:modesetting [/code] nvidia-bug-report.sh generated log: [url]http://fratti.ch/tmp/optimus-vdpau.log.gz[/url]
Sure.

✓ fratti@archbook ~ $ export VDPAU_TRACE=2
✓ fratti@archbook ~ $ export VDPAU_NVIDIA_DEBUG=3
✓ fratti@archbook ~ $ vdpauinfo
display: :0 screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x7f35c74b5010, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 346.35 Sat Jan 10 20:57:09 PST 2015
VDPAU nvidia: Error detected 9 326 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c4743000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c477661f]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c4765693]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f35c474ac03] vdp_imp_device_create_x11
-> 1
Error creating VDPAU device: 1

All outputs of this laptop are connected to the Intel GPU, by the way. Might be relevant:
✓ fratti@archbook ~ $ xrandr --listproviders 
Providers: number : 2
Provider 0: id: 0x1f5 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x46 cap: 0x2, Sink Output crtcs: 3 outputs: 4 associated providers: 1 name:modesetting


nvidia-bug-report.sh generated log:
http://fratti.ch/tmp/optimus-vdpau.log.gz

#8
Posted 01/26/2015 08:41 PM   
its interesting how my system has 346.22 and yours 346.35, but offset in libvdpau (which I believe was updated in last release) is the same.
its interesting how my system has 346.22 and yours 346.35, but offset in libvdpau (which I believe was updated in last release) is the same.

#9
Posted 01/29/2015 07:12 PM   
The same issue here with GT640 on desktop. Tried with 304.125, 331.113 and 340.76. Might be relevant that older GS8400 runs VDPAU on the same setup with no problems (after only card swap)! Error with GT640: [code]ott@kroku:~$ vdpauinfo display: :0 screen: 0 VDPAU capture: Enabled vdp_imp_device_create_x11(0xeb5010, 0, -, -) VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 340.76 Thu Jan 22 11:28:21 PST 2015 VDPAU nvidia: Error detected 10 357 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc33c000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc371fbd] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc361903] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc346013] vdp_imp_device_create_x11 -> 1 Error creating VDPAU device: 1 [/code] bug-report: https://www.dropbox.com/s/1evyu626x6bpebe/nvidia-bug-report.log.gz?dl=0
The same issue here with GT640 on desktop. Tried with 304.125, 331.113 and 340.76. Might be relevant that older GS8400 runs VDPAU on the same setup with no problems (after only card swap)!

Error with GT640:
ott@kroku:~$ vdpauinfo 
display: :0 screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0xeb5010, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 340.76 Thu Jan 22 11:28:21 PST 2015
VDPAU nvidia: Error detected 10 357 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc33c000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc371fbd]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc361903]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f9cbc346013] vdp_imp_device_create_x11
-> 1
Error creating VDPAU device: 1

bug-report: https://www.dropbox.com/s/1evyu626x6bpebe/nvidia-bug-report.log.gz?dl=0

#10
Posted 02/12/2015 07:05 PM   
[quote="karuonu"]The same issue here with GT640 on desktop.[/quote] so its not only mobile versions.
karuonu said:The same issue here with GT640 on desktop.


so its not only mobile versions.

#11
Posted 02/24/2015 08:48 PM   
bump.
bump.

#12
Posted 03/25/2015 01:19 PM   
Can confirm this is still present with libvdpau 1.1 and nvidia 349.12. [code] ✓ fratti@archbook ~ $ export VDPAU_TRACE=2 ✓ fratti@archbook ~ $ export VDPAU_NVIDIA_DEBUG=3 ✓ fratti@archbook ~ $ vdpauinfo display: :0 screen: 0 VDPAU capture: Enabled vdp_imp_device_create_x11(0x7f6be3f1d010, 0, -, -) VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 349.12 Sun Mar 22 07:43:37 PDT 2015 VDPAU nvidia: Error detected 9 334 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a2b000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a5f3df] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a4e453] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a33123] vdp_imp_device_create_x11 -> 1 Error creating VDPAU device: 1 [/code] [code] ✗ fratti@archbook ~ $ vainfo libva info: VA-API version 0.37.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_0_35 VDPAU capture: Enabled vdp_imp_device_create_x11(0x1e69c80, 0, -, -) VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 349.12 Sun Mar 22 07:43:37 PDT 2015 VDPAU nvidia: Error detected 9 334 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9a7000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9db3df] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9ca453] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9af123] vdp_imp_device_create_x11 -> 1 Floating point exception (core dumped) [/code] Core dump of vainfo (xz-compressed): [url]http://fratti.ch/tmp/vainfo.dump.xz[/url] Test hardware: ASUS UX32L (the 1920x1080 IPS panel version); GeForce 840M (GM108M) Bug report log: [url]http://fratti.ch/tmp/optimus-vdpau-2.log.gz[/url]
Can confirm this is still present with libvdpau 1.1 and nvidia 349.12.

✓ fratti@archbook ~ $ export VDPAU_TRACE=2
✓ fratti@archbook ~ $ export VDPAU_NVIDIA_DEBUG=3
✓ fratti@archbook ~ $ vdpauinfo
display: :0 screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x7f6be3f1d010, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 349.12 Sun Mar 22 07:43:37 PDT 2015
VDPAU nvidia: Error detected 9 334 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a2b000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a5f3df]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a4e453]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f6be0a33123] vdp_imp_device_create_x11
-> 1
Error creating VDPAU device: 1


✗ fratti@archbook ~ $ vainfo 
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x1e69c80, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 349.12 Sun Mar 22 07:43:37 PDT 2015
VDPAU nvidia: Error detected 9 334 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9a7000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9db3df]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9ca453]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f61ef9af123] vdp_imp_device_create_x11
-> 1
Floating point exception (core dumped)


Core dump of vainfo (xz-compressed):
http://fratti.ch/tmp/vainfo.dump.xz

Test hardware: ASUS UX32L (the 1920x1080 IPS panel version); GeForce 840M (GM108M)

Bug report log: http://fratti.ch/tmp/optimus-vdpau-2.log.gz

#13
Posted 03/27/2015 04:40 PM   
We will check this issue internally. Tracking this issue in bug 1629911
We will check this issue internally. Tracking this issue in bug 1629911

Thanks,
Sandip.

#14
Posted 03/28/2015 04:14 PM   
Issue still persists on 352.09, in case anyone is wondering. [code] ✓ fratti@archbook ~ $ vdpauinfo display: :0 screen: 0 VDPAU capture: Enabled vdp_imp_device_create_x11(0x22cf010, 0, -, -) VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 352.09 Tue May 12 14:21:07 PDT 2015 VDPAU nvidia: Error detected 9 355 5 VDPAU nvidia: Backtrace: --: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f8765844000] DSO load base 00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f87658746ec] 01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f8765865933] 02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f876584bdd3] vdp_imp_device_create_x11 -> 1 Error creating VDPAU device: 1 [/code]
Issue still persists on 352.09, in case anyone is wondering.

✓ fratti@archbook ~ $ vdpauinfo
display: :0 screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x22cf010, 0, -, -)
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library 352.09 Tue May 12 14:21:07 PDT 2015
VDPAU nvidia: Error detected 9 355 5
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f8765844000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f87658746ec]
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f8765865933]
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f876584bdd3] vdp_imp_device_create_x11
-> 1
Error creating VDPAU device: 1

#15
Posted 05/19/2015 06:57 PM   
Scroll To Top

Add Reply