Index | Thread | Search

From:
Byron Campbell - WA4GEG <wa4geg@yahoo.com>
Subject:
Re: VLC; 7.6-beta AMD64 Sept. 17th
To:
ports@openbsd.org
Date:
Wed, 18 Sep 2024 13:33:01 -0400

Download raw body.

Thread
Workaround, see below.

On 9/18/24 9:04 AM, Stuart Henderson wrote:
> On 2024/09/18 08:58, Byron Campbell - WA4GEG wrote:
>> VLC 3.0.20p4
>>
>> Problem: VLC will not play the video of an MP4 and shows only a black
>> screen, however the audio of the MP4 plays just fine.
> 
> Works fine here on latest amd64 snapshot (base and packages all updated)
> with a randomly chosen mp4 file.
> 
>> Problem: VLC will immediately crash when attempting to play a DVD.
> 
> I have no way to test that. "Will immediately crash" isn't very helpful,
> at least show the output (start vlc from a console and copy and paste
> the lot), get a backtrace if there's a coredump.
> 
> Are you using any of the va-api stuff?
> 
> What display adapter?  dmesg wouldn't hurt.
> 

Turns out that VLC had "hardware acceleration" set to automatic. I 
assume that it is shipped that way, since I generally have no need to 
alter the default settings. And the problem is indeed due to the VA-API 
stuff as Stuart suspected.

I got it to work by going into VLC's settings > Tools, Prefs., 
Input/Codecs tab, and set the "hardware acceleration" to disable. Then 
VLC stopped seg-faulting and plays both MP4 files and one test DVD okay.

Interestingly, VLC with hardware acceleration set to automatic, works 
just fine in my OpenBSD 7.5 box.

regards,
Byron