VLC errors when running Monteray under UTM VM

macOS specific usage questions
filbe
New Cone
New Cone
Posts: 2
Joined: 20 Dec 2022 07:41

VLC errors when running Monteray under UTM VM

Postby filbe » 20 Dec 2022 08:00

Hi,
Thanks for a great product!

A low priority issue -

I bought a new Mac, and now find so much of my old software does not work.
I like to test new software in a Virtual Machine - only UTM seems to work fairly well.
Running Monterey 12.6 in UTM under host also running Monterey 12.6; VLC is version 3.0.18.

Video's work fine on the host - get sound but jumbled video on VM. The debug log repeats the following many times:
main debug: looking for text renderer module matching "any": 3 candidates
macosx debug: Activated assertion NoIdleSleepAssertion through IOKit (36583)
macosx debug: toggle playlist from state: removed splitview 0, minimized view 0. Event 2
macosx debug: toggle playlist to state: removed splitview 0, minimized view 0
main debug: using text renderer module "freetype"
main debug: looking for video converter module matching "any": 16 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 16 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode auto, is_needed 0
main debug: looking for vout window module matching "any": 1 candidates
macosx debug: Opening video window
macosx debug: Releasing old IOKit other assertion (36583)
macosx debug: Activated assertion NoDisplaySleepAssertion through IOKit (36584)
macosx debug: toggle playlist from state: removed splitview 0, minimized view 0. Event 2
macosx debug: toggle playlist to state: removed splitview 0, minimized view 0
macosx debug: returning videoview with proposed position x=0, y=0, width=1920, height=1080
main debug: using vout window module "macosx"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 7 candidates
main debug: VoutDisplayEvent 'resize' 1920x1080
caopengllayer error: Failure to create CGL context!
main debug: VoutDisplayEvent 'resize' 1920x1080
macosx error: Initialization of open gl view failed
main debug: no vout display modules matched
main error: video output creation failed
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main error: failed to create video output

Maybe failing because UTM does not yet support required drivers etc?

Thanks again for your great work!

Have a merry Xmas

Cheers
Phil

fkuehne
Developer
Developer
Posts: 7265
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC errors when running Monteray under UTM VM

Postby fkuehne » 24 Dec 2022 08:20

The OpenGL context cannot be created which is probably due to a bug or limitation in the UTM graphics card drivers.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

filbe
New Cone
New Cone
Posts: 2
Joined: 20 Dec 2022 07:41

Re: VLC errors when running Monteray under UTM VM

Postby filbe » 29 Dec 2022 04:46

Thanks Felix.

It seems UTM on MAC M1 chip does not yet support OpenGL.

Yet Quicktime player works fine. Can VC use the same video drivers as Quicktime?

Cheers
Phil

fkuehne
Developer
Developer
Posts: 7265
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: VLC errors when running Monteray under UTM VM

Postby fkuehne » 02 Jan 2023 13:39

We need to do a Metal-based video output instead of OpenGL. We might do it for version 4 of VLC also to support HDR rendering correctly.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests