[Video] mp4 files crashes vlc

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
hthi
Posts: 225
Joined: 2015-05-09 15:43
Has thanked: 3 times

[Video] mp4 files crashes vlc

#1 Post by hthi »

debian 12 main firmware=never installation

since about debian 8 I have not encountered this error before.

Searching the internet I noticed others reporting the same error and appears
to be debian 12 specific. Did not find a solution.
I have tested different settings in vlc. Mostly about tools -> preferences -> out. Vlc stays
not stable. Setting open gl and video sometimes plays. Often not.
A lot of times if you drag and drop a mp4 file into vlc or right click a mp4 file and start
vlc then the screen turns black. About half a minute later debian log in screen displays.
You can log in. All programs are closed and you have to start them again.
Have you encountered this error and is there a solution?

If you drag and drop a mp4 file into mpv player same result. Often the
screen turns black. About half a
minute later debian log in screen displays. Suggesting the
error is not specifically about vlc.

If in a firefox tab you drag and drop a mp4 file the file plays and
no errors. Thanks.

User avatar
bbbhltz
Posts: 244
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 61 times
Been thanked: 57 times

Re: [Video] mp4 files crashes vlc

#2 Post by bbbhltz »

I assume this happens with every MP4 file?

What codecs are the videos using?
bbbhltz
longtime desktop Linux user; eternal newbie

CwF
Global Moderator
Global Moderator
Posts: 3001
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 60 times
Been thanked: 243 times

Re: [Video] mp4 files crashes vlc

#3 Post by CwF »

hthi wrote: 2024-08-18 17:01 debian 12 main firmware=never installation
Despite popular opinion this is not user choice but a hardware dictate.

What gpu? Nouveau for example would run fine without firmware in 8 and 9 and maybe 10. That changed. Maybe changed for other gpus also. The difference is whether the gpu attempts the render, now with firmware support, or the job is left to the cpu's through software rendering.

Recent versions of VLC and MPV will attempt gpu rendering and expect to do so in a proper install. The fallback to software rendering is maybe flawed. You should be able to confirm and force the proper method starting either program in a terminal. Check their manpages for the how to. Firefox is likely using software rendering by default, or has a more robust fallback to software rendering.

This type of error kills the session but not the kernel, so sends you back to the DM if in use, or loops back to a fresh desktop session if using any autologin mechanism.
Mottainai

User avatar
stevepusser
Posts: 12983
Joined: 2009-10-06 05:53
Has thanked: 42 times
Been thanked: 79 times

Re: [Video] mp4 files crashes vlc

#4 Post by stevepusser »

Yeah, no firmware could be at the root of it, but maybe letting us know the hardware and driver situation with inxi would help us figure something out?
MX Linux packager and developer

hthi
Posts: 225
Joined: 2015-05-09 15:43
Has thanked: 3 times

Re: [Video] mp4 files crashes vlc

#5 Post by hthi »

it has also crashed while opening a mp3 file.

I ran both hwinfo and inxi.
It says Intel Core i5 m 520 and Driver: "i915".
I do not remember the context. But previously command line has said Possible missing firmware /lib/firmware/i915.
Intel 5 Series/3400 Series Chipset High Definition Audio.
snd_hda_intel.

User avatar
Trihexagonal
df -h | participant
df -h | participant
Posts: 184
Joined: 2022-03-29 20:53
Location: Land of the Dead
Has thanked: 28 times
Been thanked: 20 times
Contact:

Re: [Video] mp4 files crashes vlc

#6 Post by Trihexagonal »

VLC is not the most sable video player to begin with. I like it bet but any time I use it I never know when it will freeze controls and have to reboot the computer to get past it. Parole and MPV Video Player are both options I have available.
All Your Words Are Belong To Us

trihexagonal.org

hthi
Posts: 225
Joined: 2015-05-09 15:43
Has thanked: 3 times

Re: [Video] mp4 files crashes vlc

#7 Post by hthi »

Parole
vlc often crashes the system playing a mp4 file. Testing parole it also can crash playing a mp4 file. Maybe not as often. Do you know if you can start mp4 files in parole in a safe mode?
I also tested an unofficial vlc appimage. My understanding is, that appimages come with a lot of the required software packages. Still the vlc appimage playing mp4 files crashed the system just like the vlc debian package. If it is a matter of not installed non free firmware then the vlc appimage cannot be expected not to crash the system. Similar to the vlc debian package.

Post Reply