[.01] VLC player and GPU acceleration

Listing issues addressed in beta version 4.03
GuestVLC

[.01] VLC player and GPU acceleration

Post by GuestVLC » Tue Jun 18, 2013 8:59 am

Hello!

GPU acceleration is broken with the new Sandboxie version 4.02.

Same behaviour like in my last thread: http://www.sandboxie.com/phpbb/viewtopic.php?t=12893

avcodec error: IDirect3D9_CreateDevice failed
avcodec error: Failed to create Direct3D device

Hope you can fix this soon. Thanks!

GuestVLC

Post by GuestVLC » Wed Jun 19, 2013 9:34 am

Sorry, I forgot these details: Windows 7 Pro (64-bit, SP1, up to date), VLC media player 2.0.6, Sandboxie 4.02

FYI: I don't have any other problems with the new Sandboxie! :D

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Wed Jun 19, 2013 2:01 pm

I'll take a look at this.
tzuk

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Thu Jun 20, 2013 11:22 am

I can't reproduce the problem. I do have "Use GPU accelerated decoding" enabled in Preferences > Input & Codecs.
I tested a .wmv file and an .mpg file.

I am wondering if this might have something to do with your sandbox settings.
Can you check if this happens in a new sandbox created with only the default settings?
tzuk

GuestVLC

Post by GuestVLC » Fri Jun 21, 2013 5:07 am

Thanks for your fast reply.

No, a new created sandbox didn't help. The error messages of VLC still appear.

Also a reinstallation of Sandboxie had no effect.

Maybe it is graphic card driver related?

GuestVLC

Post by GuestVLC » Sat Jun 22, 2013 10:04 am

I tried the new VLC media player 2.0.7 today. Sadly the same error messages appear (Tools > Messages):

avcodec error: IDirect3D9_CreateDevice failed
avcodec error: Failed to create Direct3D device

GuestVLC

Post by GuestVLC » Sat Jun 22, 2013 11:59 am

Next attempt: On another PC (this time with NVIDA graphic card) the acceleration of VLC is broken also. :(

BTW: I found another software problem. The Status Window of DOSBox (0.74) doesn't show up anymore.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sat Jun 22, 2013 1:12 pm

Are you sure I don't need other than "Use GPU accelerated decoding" enabled?
tzuk

BUCKAROO
Posts: 206
Joined: Sun Oct 24, 2010 3:13 am

Post by BUCKAROO » Sun Jun 23, 2013 1:02 am

Windows 8
AMD Catalyst Software Suite 13.4
tzuk wrote:Are you sure I don't need other than "Use GPU accelerated decoding" enabled?
Actually (it is) just --ffmpeg-hw

"%ProgramFiles%\Sandboxie\Start.exe" "%ProgramFiles(x86)%\VideoLAN\VLC\vlc.exe" --file-logging --ffmpeg-hw "C:\h264_1080p_hp_4.1_40mbps_birds.mkv"

Sandboxie 3.76
vlc-log.txt wrote:-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
avcodec: obtained IDirect3DDeviceManager9
avcodec: DXVA2CreateVideoService Success!
avcodec: Using DXVA2 (ATI Radeon HD 5450, vendor 4098(ATI), device 26873, revision 0) for hardware decoding.
-- logger module stopped --
Sandboxie 4.02
vlc-log.txt wrote:-- logger module started --
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
avcodec error: IDirect3D9_CreateDevice failed
avcodec error: Failed to create Direct3D device
-- logger module stopped --
The --file-logging switch incidentally opens a console window to output the following but not with Sandboxie 4.02 it doesn't!
[00661dd8] logger interface: VLC media player - 2.0.7 Twoflower
[00661dd8] logger interface: Copyright © 1996-2013 VLC authors and VideoLAN
[00661dd8] logger interface:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"

[00661dd8] logger interface: using logger.
[00661dd8] logger interface error: error opening logfile `vlc-log.txt': Permission denied
[00661dd8] main interface error: no suitable interface module
[00702a00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Qt: Untested Windows version 6.2 detected!
[02b0bc10] avcodec decoder: obtained IDirect3DDeviceManager9
[02b0bc10] avcodec decoder: DXVA2CreateVideoService Success!
[02b0bc10] avcodec decoder: Using DXVA2 (ATI Radeon HD 5450, vendor 4098(ATI), device 26873, revision 0) for hardware decoding.

[h264 @ 02b13b60] Cannot parallelize deblocking type 1, decoding such frames in sequential order
My colour coding: Green == output typical of success. Red == discrepancy between unsandboxed and 3.76 but does no harm.

GuestVLC

Post by GuestVLC » Sun Jun 23, 2013 5:28 am

Thanks for the detailed information.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jun 23, 2013 9:07 am

Thank you BUCKAROO. --file-logging showed that I got the GPU problem, strange that it doesn't appear in the VLC error/message window for me. Anyway I was able to fix both issues, the GPU and the secondary console window. Thanks!
tzuk

GuestVLC

Post by GuestVLC » Sun Jun 23, 2013 10:33 am

Great news! Thank you very much for your fast support.
GuestVLC wrote:BTW: I found another software problem. The Status Window of DOSBox (0.74) doesn't show up anymore.
Do you think this will be fixed also? Because it is a secondary console windows, too.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Jun 23, 2013 2:13 pm

Probably will fix the DOSBox issue as well. The problem was with "non-console" type programs creating a console, so I believe that would apply equally to DOSBox. Worst case, I will look into the DOSBox thing after releasing the next beta, but hopefully it will be fixed and I won't have to.
tzuk

GuestVLC

Post by GuestVLC » Mon Jun 24, 2013 5:13 am

Thank you for your fast reply. I will report here after installing the upcoming beta version.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jun 25, 2013 5:45 am

Please check version 4.03.01.
tzuk

Locked

Who is online

Users browsing this forum: No registered users and 0 guests