![]() Assuming 59.996626 FPS for display sync. GL_RENDERER='NVIDIA GeForce GTX 1070 OpenGL Engine' List of enabled features: 52 any-gl apple-remote asm atomics bsd-fstatfs build-date c11-tls cocoa coreaudio cplayer debug-build dlopen dvdread encoding fchmod gcc-tls gl gl-cocoa glob gnuc iconv is_ffmpeg lcms2 libass libass-osd libav libavcodec libavdevice libdl libm lua nanosleep optimize osx-thread-name posix posix-or-mingw posix-spawn pthreads shm stdatomic subprocess termios tv videotoolbox-gl videotoolbox-hwaccel zlib mpv UNKNOWN (C) 2000-2017 mpv/MPlayer/mplayer2 projects mpv -v -no-config -hwdec=auto -force-dedicated-gpu=yes h264_file.mkv For completeness: I upgraded to Sierra 10.12.4 today to get the new Nvidia drivers to work. Unfortunately hwdec still does not work with h264 codec on a Zotac 1070 in an Akitio Thunder2 eGPU. Hi Nvidia has released Pascal drivers last night! Hence I tested the cocoa_forcegpu2 branch (the other branch is now merged with this one?). So to me it seems there may be some problem where ffmpeg does not recognise the proper video card and hence does not recognise that hwdec may be supported on the current card and so falls back on software decoding. Perhaps deleting kexts manually would work? I am not sure how to approach this. Judging from the experience with the MBP above, perhaps disabling the integrated gpu completely during boot would enable/force hardware decoding on the egpu, but AFAIK there is no way to do this. It does not matter whether I plug in the HDMI port (that connects to the integrated gpu) or not. On the contrary, on the mac mini (the system I intend to use as home theatre system with the egpu) the hardware acceleration works when using the integrated graphics, however not using the egpu. On the internal screen getting any acceleration to work seems impossible for now. The MBP does not do hardware acceleration in the integrated nor the discrete gpu! This can however be fixed by plugging in an external monitor! With an external monitor the system somehow forces the Nvidia 650M as the active graphics card and the acceleration works fine! Hence I tried forcing on this discrete gpu using the graphicscardstatus app to see if I could get hardware acceleration started on the internal screen, but that doesn't work. Due to logistics I have not yet been able to test the egpu on this machine however. In this imac the (possible) Intel HD4000 is disabled by OSX: As there is no real reason to save power on this non-portable machine it always uses the Nvidia 675MX card. Hardware acceleration on the iMac works fine. I have at my disposal for testing a late 2012 iMac that has an Nvidia 675MX gpu only, as well as a mid 2012 MBP with both integrated Intel hd4000 and Nvidia 650M discrete GPU and a mid 2012 mac mini with integrated Intel hd4000 as well, only. I did some more experimenting however, that lead to some very interesting results. Perhaps this is as it was only originally intended to help in iOS, as specified above the patch in the link wm4 placed above. Had to figure out first how to patch homebrew installations from a file first. failed to init videotoolbox decoder: -1313558101Īlthough the first line is suspect I think it is just a warning, as it also appears when playing on the igpu (on which, as mentioned, hardware decoding works fine), so the problem appears to me to be videotoolbox not wanting to do hardware decoding on the 970.ĭoes anyone know what's going on here? Any help would be greatly appreciated. ![]() vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTDecompressionSession.c line 1181 ![]() GL_RENDERER='NVIDIA GeForce GTX 970 OpenGL Engine' I disconnect the HDMI on the Mac Mini to ensure OpenGL context is set for Nvidia: Mpv -no-config -v -hwdec=auto h264_file.mkv I run the latest homebrew-compiled mpv as follows: does videotoolbox only support natively supported cards? This would exclude the entire Maxwell series from using gpu decoding (and will spell more trouble for much- needed Pascal-based h265 decoding when Nvidia will get around to release their new web-driver!). I tried the pre-compiled MPV, as well as a self-compiled -HEAD version using homebrew. Also a lengthy google search did not reveal an answer. mkv container format, all without success. Hardware decoding on the Intel igpu works fine, however when I try to play the files using the egpu, videotoolbox has trouble initiating and MPV falls back to software decoding. This is while trying to play a standard “older” H264 file, which should be easily supported. I can not get hardware decoding to work in MPV with a Zotac GTX 970 in an Akitio Thunder2 box on OSX 10.10.5 Yosemite (tested both a Mac Mini late 2012 and Macbook Pro mid 2012).
0 Comments
Leave a Reply. |