You are not logged in.

#1 2020-12-24 20:53

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

[Solved] VLC sometimes does not closes correctly.

I use Q4OS Centaurus Trinity 3.13.
When I start playing video and close VLC while video is still playing, the VLC window disappears, but the application itself sometimes does not closes. As result I can not play another video or audio. I must first "kill" VLC, and only after that, I can play another video or audio. Please watch video: https://drive.google.com/file/d/1kxdY6f … sp=sharing
I have not experienced such issue on other Linuxes, so it is not hardware related.

Last edited by Rademes (2020-12-25 15:38)


Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#2 2020-12-24 21:14

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [Solved] VLC sometimes does not closes correctly.

Once you close the VLC screen, if you wait a bit longer does it eventually resolve itself or does VLC never close? Are you running any other apps at the same time that could slow the VLC process?

I dont run TDE but this doesnt happen in KDE version as I use VLC all the time.

I have seen comments in many forums about this issue on a variety of OS including Windows.

I also use to have an issue where the screensaver caused problems similar to this so havent used a screensaver since.

Last edited by crosscourt (2020-12-24 21:18)


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#3 2020-12-24 21:25

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: [Solved] VLC sometimes does not closes correctly.

Rademes wrote:

I use Q4OS Centaurus Trinity 3.13.
When I start playing video and close VLC while video is still playing, the VLC window disappears, but the application itself sometimes does not closes. As result I can not play another video or audio. I must first "kill" VLC, and only after that, I can play another video or audio. Please watch video: https://drive.google.com/file/d/1kxdY6f … sp=sharing
I have not experienced such issue on other Linuxes, so it is not hardware related.

This is an old known bug https://forum.videolan.org/viewtopic.php?t=149762 Make sure to stop whatever media's been played in VLC before closing it, that is, hit the stop button or S key on your keyboard, then close it by clicking the x. For some reason if you don't, then it'll keep running as a zombie process. According to one VLC's dev is a bug in mesa's drivers, and they can't do anything about it.

Hope this helps! smile

Offline

#4 2020-12-24 21:34

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [Solved] VLC sometimes does not closes correctly.

Whats interesting is Im running VLC on a number of KDE based distros on a variety of hardware and havent had it happen since I stopped using a screensaver.

Last edited by crosscourt (2020-12-24 21:42)


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#5 2020-12-24 21:58

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: [Solved] VLC sometimes does not closes correctly.

Thank you for fast responding!

crosscourt wrote:

Once you close the VLC screen, if you wait a bit longer does it eventually resolve itself or does VLC never close? Are you running any other apps at the same time that could slow the VLC process?

No, VLC does not closes. I have been waiting for 15 minutes. There are still many vlc processes in Htop (attachment).
No, VLC is the only one app, I am running.

Tolkem wrote:

This is an old known bug https://forum.videolan.org/viewtopic.php?t=149762 Make sure to stop whatever media's been played in VLC before closing it, that is, hit the stop button or S key on your keyboard, then close it by clicking the x. For some reason if you don't, then it'll keep running as a zombie process. According to one VLC's dev is a bug in mesa's drivers, and they can't do anything about it.

I have read about it a bit. One of the solutions is to select XCB as the video output. I have selected XVideo (XCB) and this problem looks like disappeared. But this makes some videos choppy (at least people say that.)
Also, there is a VLC Developer post in that forum: https://forum.videolan.org/viewtopic.ph … 62#p500511
If selecting XCB fixes stuff, then that almost certainly means your display drivers are buggy or missing. If you think this is a problem with your distro, you'd better raise the issue with the distro than on the VLC forum.
And that is exactly, what I am doing now. Maybe installing some driver will fix this issue...
I have Mesa 18.3.6 (attachment).

Last edited by Rademes (2020-12-24 22:03)


Attachments:
png VLC_Processes.png, Size: 47.77 KiB, Downloads: 368
png System.png, Size: 28.27 KiB, Downloads: 374

Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#6 2020-12-24 22:06

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [Solved] VLC sometimes does not closes correctly.

They need to look into further as changing drivers that work for most apps to solve an issue with one app, seems a bit silly.

Last edited by crosscourt (2020-12-24 22:11)


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#7 2020-12-24 22:25

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: [Solved] VLC sometimes does not closes correctly.

OK, for now, I have choosen XVideo (XCB) as video output. I hope, I will not have this issue anymore.
I am not sure, which video output VLC uses as default in Q4OS.

P.S. Look at this post smile https://forum.videolan.org/viewtopic.ph … 25#p502721

Last edited by Rademes (2020-12-24 22:31)


Attachments:
png XVideoVLC.png, Size: 43.61 KiB, Downloads: 383

Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#8 2020-12-24 22:38

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: [Solved] VLC sometimes does not closes correctly.

I have set up video output on automatic again and run VLC from terminal as

qvlc

And got bunch of errors, and of course the closing problem (attachment).

Last edited by Rademes (2020-12-24 22:38)


Attachments:
png qvlc_errors.png, Size: 35.06 KiB, Downloads: 342

Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#9 2020-12-24 22:38

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [Solved] VLC sometimes does not closes correctly.

Its an interesting post but glad you found a temporary solution.


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#10 2020-12-24 22:55

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: [Solved] VLC sometimes does not closes correctly.

One person in that forum said, that this issue goes away if he uses Wayland.


Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#11 2020-12-24 23:21

crosscourt
Member
From: Wash DC
Registered: 2017-05-07
Posts: 1,872
Website

Re: [Solved] VLC sometimes does not closes correctly.

Interesting, but Ive got a huge number of systems old and new with a variety of drivers and havent had an issue. Appears that a certain system configuration does it for some but VLC needs to figure this out from their end.

Last edited by crosscourt (2020-12-25 00:02)


Q4OS Aquarius 5.x KDE   Dell Inspiron 3670  i5 8600, GTX 1660 Super, 32gb, 2tb NVME SSD

Offline

#12 2020-12-25 06:57

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,333

Re: [Solved] VLC sometimes does not closes correctly.

You could always use smplayer + smtube for most stuff. I find it just as good as VLC for day to day use.

Offline

#13 2020-12-25 15:36

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: [Solved] VLC sometimes does not closes correctly.

Thank you bin, but after installing proprietary NVIDIA drivers, the problem seems like disappeared. I will continue testing.
My system info is in attachment.


Attachments:
png MyComputerInfo.png, Size: 28.94 KiB, Downloads: 365

Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#14 2020-12-25 15:58

Tolkem
Member
Registered: 2019-10-06
Posts: 487

Re: [Solved] VLC sometimes does not closes correctly.

Rademes wrote:

Thank you bin, but after installing proprietary NVIDIA drivers, the problem seems like disappeared. I will continue testing.
My system info is in attachment.

Like I said above "According to one VLC's dev is a bug in mesa's drivers, and they can't do anything about it." So yes, if you installed Nvidia drivers the problem should be no more and if you read that thread in its entirety, you'd have noticed that VLC's dev himself said "I can't reproduce the issue because i use Nvidia drivers and the problem is when using mesa's" The "solution" is to stop the media before closing VLC, that is, don't close VLC abruptly by clicking the x while is playing some media as this will cause the mesa drivers and X to hang, which IMO seems logical, after all this is just what happens when you close most processes before they finish whatever task they're doing, instead, hit the Stop button on VLC's playback bar or S key on your keyboard and then click the x. I can confirm this works. Q4OS team has nothing to do about it since this is not a Q4OS bug but rather some combination of misuse, OpenGL not handling some stuff properly and an aging X window system.

OK, for now, I have choosen XVideo (XCB) as video output.

This is a bad idea. Again, in that same thread it is mentioned this as a "workaround" and while it "works"; VLC close properly, you have to sacrifice performance and playback quality like you just experienced.

Offline

Board footer

Powered by FluxBB