VLC periodically hangs Debian 9.4 Stretch

Everything about X, Gnome, KDE, ... and everything running on it

VLC periodically hangs Debian 9.4 Stretch

Postby 4joeyirosh1 » 2018-07-16 18:33

Hi!I have installed Debian 9.4 Stretch 64 bit on my machine and use VLC to watch videos.

However,during playback at full screen at times I cannot minimize VLC window and return to desktop even though video keeps playing during this stage.I am forced to key in Ctrl-Alt-Delete that kills the VLC session.

I have enabled logging by selecting Tools -> Preferences -> Select "ALL" -> Advanced -> Logger and set verbosity to Debug.Output file shows this

Please assist.

pulse debug: changing sink 0: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
main debug: end of audio preroll
avcodec debug: available hardware decoder output format 109 (vdpau)
avcodec debug: available hardware decoder output format 53 (vaapi_vld)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec warning: thread type 1: disabling hardware acceleration
main debug: end of video preroll
main debug: Received first picture
main debug: Decoder wait done in 93 ms
pulse debug: deferring start (21608 us)
pulse warning: starting late (-10798 us)
pulse debug: started
pulse debug: underflow
pulse debug: changing sink 0: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: auto hiding mouse cursor
main debug: exiting
main debug: exiting
main debug: removing all interfaces
main debug: removing module "qt"
main debug: deactivating the playlist
main debug: incoming request - stopping current input
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: killing decoder fourcc `a52 '
main debug: removing module "avcodec"
main debug: removing module "samplerate"
main debug: removing module "scaletempo"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "a52"
main debug: removing module "mkv"
main debug: Program doesn't contain anymore ES
mkv debug: Stopping the UI Hook
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "gl"
main debug: removing module "egl_x11"
pulse debug: changing sink 0: alsa_output.pci-0000_00_1f.3.analog-stereo (Built-in Audio Analog Stereo)
qt debug: Qt: Quitting Fullscreen
qt debug: IM: Deleting the input
dbus_screensaver debug: got cookie 368403953
main debug: removing module "dbus_screensaver"
qt debug: releasing video...
qt debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: removing module "pulse"
qt debug: requesting exit...
qt debug: waiting for UI thread...
main debug: exiting
qt debug: QApp exec() finished
qt debug: Video is not needed anymore
qt debug: Killing extension dialog provider
qt debug: ExtensionsDialogProvider is quitting...
main debug: removing module "lua"
main debug: removing module "xcb_hotkeys"
main debug: removing module "hotkeys"
main debug: removing module "dbus"
main debug: destroying
main debug: saving media library to file /home/joey/.local/share/vlc/ml.xspf.tmp14331
main debug: looking for playlist export module matching "export-xspf": 4 candidates
main debug: using playlist export module "export"
main debug: removing module "export"
main debug: deleting item `Media Library'
main debug: deleting item `Video.mkv'
main debug: deleting item `Playlist'
main debug: removing module "memory"
4joeyirosh1
 
Posts: 23
Joined: 2016-09-11 18:04

Re: VLC periodically hangs Debian 9.4 Stretch

Postby stevepusser » 2018-07-17 01:51

Please install inxi and provide the output of
Code: Select all
inxi -G


So we can see the video hardware and driver situation on your machine.

Something that also might fix it right off is to disable the hardware acceleration in Input/Codecs in VLC preferences.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9800
Joined: 2009-10-06 05:53

Re: VLC periodically hangs Debian 9.4 Stretch

Postby 4joeyirosh1 » 2018-07-17 06:42

stevepusser wrote:Please install inxi and provide the output of
Code: Select all
inxi -G


So we can see the video hardware and driver situation on your machine.

Something that also might fix it right off is to disable the hardware acceleration in Input/Codecs in VLC preferences.


Thanks for your response.Here is the output of inxi -G

$ inxi -G
Graphics: Card: Intel Device 5916
Display Server: X.Org 1.19.2 driver: N/A
Resolution: 1360x768@59.80hz
GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)
GLX Version: 3.0 Mesa 13.0.6


I have also disabled hardware acceleration and I hope it works.
4joeyirosh1
 
Posts: 23
Joined: 2016-09-11 18:04

Re: VLC periodically hangs Debian 9.4 Stretch

Postby Wheelerof4te » 2018-07-17 10:03

4joeyirosh1 wrote: GLX Renderer: Mesa DRI Intel HD Graphics 620 (Kabylake GT2)

Is Kabylake supported by Stretch's kernel?
OP, have you installed firmware-misc-nonfree?
User avatar
Wheelerof4te
 
Posts: 1075
Joined: 2015-08-30 20:14

Re: VLC periodically hangs Debian 9.4 Stretch

Postby stevepusser » 2018-07-18 17:38

I have an Intel 630 Coffee Lake GPU, the next generation past Kaby Lake, and have noticed that VLC will hang the whole GUI when I'm using the default kernel modesetting driver and hardware acceleration. Switching to the "intel" driver will fix that, and I can enjoy VLC hardware acceleration for h.264 and h.265 video, but then I get some video glitches in some applications, and Google Earth Pro won't show the world display at all.

I'm pretty sure you're using the modesetting driver--the older inxi in Stretch displays N/A when you are using that.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: mvp 0.29.0, Pale Moon 28.0.0, wine-staging 3.13, qBittorrent 4.1.2, Linux kernel 4.17.14, virtualbox 5.2.18
User avatar
stevepusser
 
Posts: 9800
Joined: 2009-10-06 05:53


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable