[Partially Solved] System Becomes Unresponsive at End of Vid

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

[Partially Solved] System Becomes Unresponsive at End of Vid

Postby Tony G » 2018-01-17 23:23

I have a fresh install of Debian Stretch. I installed the KDE version using the iso "debian-live-9.3.0-amd64-kde+nonfree". Gnome is also installed, but that is installed only for the tools it adds to the KDE menu.

All is well, except for one Google resistant problem. At the end of certain video file types, when the player should close the file, the system always becomes unresponsive. Every time. The video types are mp4 and avi. Mkv files work fine. All video file types play perfectly, the problem is only at the very end of the file.

These exact same files work without any problem on my old Debian 7.

By unresponsive system, I mean that the mouse pointer won’t move, and most keyboard combinations will not work, such as Ctrl-alt-esc (kill active window), Ctrl+F12 (show desktop), nor the "windows" key (KDE menu).

If I let the system set overnight, it eventually unlocks and I am presented with the log in screen. Not a reboot, but same as if I had let the system set long enough to trigger a log in password.

The only keyboard command I have found that does work is the “Raising Elephants Is So Utterly Boring” sequence.

Xine is my favorite media player, but the system freezes no matter which player I use. The other two installed players are Dragon and Video.

One important note: VLC player is not installed. Prior to installing Stretch, I had read that lately it is known for causing problems. So I did not install it.

But when I search in Synaptic for VLC, I see six VLC entries installed, but not the actual player itself. The installed VLC packages are:

libvlc-bin
libvlc5
libvlccore8
phonon4qt5-backend-vlc
vlc-data
vlc-plugin-base

I’ve Googled every phrase and keywords I can think of, but I’ve hit a wall. No one else seems to be having the same problem.

Might purging the VLC packages help?

Or is there another solution?
Last edited by Tony G on 2018-01-19 14:25, edited 1 time in total.
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Re: System Becomes Unresponsive at End of Video Files

Postby bw123 » 2018-01-18 00:24

Might purging the VLC packages help?


It might, but you have to have a backend installed for phonon. You might be able to get rid of all of them easily by purgeing the phonon4qt5-backend-vlc and then apt-get autoremove, or you might have to do it one at a time. The pkg manager aptitude is really good at handling these things.

I have been using a setup with phonon-backend-vlc and phonon4qt5-backend-vlc after getting rid of all the gstreamer backends. I don't really care for gstreamer at all, and from what I understand, upstream kde prefers vlc. You might get a better result doing the opposite, it's very mysterious to me how this setup works and deals with different audio and video hardware. You can also move one backend or the other to a higher priority in the phonon setup.

I haven't had any issues on plasma playing mp4, avi or any other files with dragonplayer or vlc. It could also be an audio issue, even though you see it only on video files.

The answer will probably depend on what you can find out from any relevant log files. Check all the log files you can find for any errors.
User avatar
bw123
 
Posts: 2993
Joined: 2011-05-09 06:02
Location: TN_USA

Re: System Becomes Unresponsive at End of Video Files

Postby Tony G » 2018-01-18 01:32

Might purging the VLC packages help?


You might get a better result doing the opposite,


Interesting thought! If I don’t find a different fix I will try installing VLC player and see what happens. I’m fully backed up with Clonezilla, so I can easily roll back if I need to.

Any log files in particular to check? I looked through var/log and there are quite a lot of them. The most interesting thing I saw on a quick check of several logs was:

Jan 17 20:53:53 [name redacted] org.kde.kded5[3570]: kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kded/desktopnotifier.so"

It mentions qt5 and the entry is repeated many many times. Googling it, it looks like it is a closed bug that will be fixed in future releases. So, probably not the cause of my problem.
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Re: System Becomes Unresponsive at End of Video Files

Postby stevepusser » 2018-01-18 04:10

You should have a "vlc" package available. What does

Code: Select all
apt policy vlc


show?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.102, Pale Moon 27.9.2, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0.1, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9546
Joined: 2009-10-06 05:53

Re: System Becomes Unresponsive at End of Video Files

Postby sunrat » 2018-01-18 04:41

bw123 wrote:I have been using a setup with phonon-backend-vlc and phonon4qt5-backend-vlc after getting rid of all the gstreamer backends. I don't really care for gstreamer at all, and from what I understand, upstream kde prefers vlc.

I've done the opposite in the past. No real issues with either but gstreamer supports crossfading audio files whereas vlc doesn't.

I haven't had any issues on plasma playing mp4, avi or any other files with dragonplayer or vlc.

Can play just about anything here although I mainly use MPV for video and DeadBeef for music. This is on siduction w/ Plasma 5.10. Gstreamer backend is default OOTB, no vlc backend in sight.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2263
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: System Becomes Unresponsive at End of Video Files

Postby Tony G » 2018-01-18 10:43

stevepusser wrote:You should have a "vlc" package available. What does

Code: Select all
apt policy vlc


show?


# apt policy vlc
vlc:
Installed: (none)
Candidate: 2.2.7-1~deb9u1
Version table:
2.2.7-1~deb9u1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org stretch/updates/main amd64 Packages
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Re: System Becomes Unresponsive at End of Video Files

Postby debiman » 2018-01-18 18:18

all 3 video formats mentioned are container formats; they can contain virtually any codec.
if the current approach doesn't help, a more detailed analysis of the files causing trouble (and those not causing trouble) might help, wrt the codecs.
i can see how painful that will be when the system freezes every time...
User avatar
debiman
 
Posts: 2209
Joined: 2013-03-12 07:18

Re: System Becomes Unresponsive at End of Video Files

Postby Tony G » 2018-01-18 22:46

debiman wrote:all 3 video formats mentioned are container formats; they can contain virtually any codec.
if the current approach doesn't help, a more detailed analysis of the files causing trouble (and those not causing trouble) might help, wrt the codecs.
i can see how painful that will be when the system freezes every time...


Thanks for that.

I went ahead and installed VLC player. Now Xine (my preferred player) locks up at the end of all files, but all the other players (VLC, Dragon, Videos) now all work fine on all the files I have tried.

I may try un-installing and then re-installing Xine. I guess I can live without Xine if I have to. But I know most of the Xine keyboard shortcuts, been using it for many years, and most of all I like the way Xine gets out of the way and lets me enjoy the video.

You’re right about the lock ups, they are definitely a bother. Plus, I think the Raising Elephants drill is not working exactly as it should. I do get a reboot without holding down the power button, but on the boot up there is always the “clearing orphaned inodes” messages, same as if I had just held down the power button.

I may try a full OS reinstall from the standard Gnome disk, then add KDE. The downside is that I’d lose the 10 or so hours I spent on customizing the current install to suit my preferences.
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Re: System Becomes Unresponsive at End of Video Files

Postby bw123 » 2018-01-18 23:42

I don't remember using xine in a long time, maybe on a live cd years ago. I just took a look at the dependencies if I want to install xine-ui, and it's pretty crazy. On my fluxbox install, which is pretty lean it needs samba? which pulls in a cups lib, cups-common and a lot of other junk...

vlc has it's own issues with dependencies, I have thought about trashing it for good several times. The mpv way of doing things is looking better and better all the time.

It's a media player, what does that have to do with windows networks or printing? Hard to say, but with so many dependencies, how would you find out where the issue is?
User avatar
bw123
 
Posts: 2993
Joined: 2011-05-09 06:02
Location: TN_USA

Re: System Becomes Unresponsive at End of Video Files

Postby stevepusser » 2018-01-19 01:18

bw123 wrote:I don't remember using xine in a long time, maybe on a live cd years ago. I just took a look at the dependencies if I want to install xine-ui, and it's pretty crazy. On my fluxbox install, which is pretty lean it needs samba? which pulls in a cups lib, cups-common and a lot of other junk...

vlc has it's own issues with dependencies, I have thought about trashing it for good several times. The mpv way of doing things is looking better and better all the time.

It's a media player, what does that have to do with windows networks or printing? Hard to say, but with so many dependencies, how would you find out where the issue is?


There's a newer libxine2 in Debian testing, let me try backporting it in my multimedia repo. Maybe that could fix the issue. Xine-ui hasn't had any work on it for years.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.102, Pale Moon 27.9.2, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0.1, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9546
Joined: 2009-10-06 05:53

[Partially Solved] Re: System Becomes Unresponsive at End of

Postby Tony G » 2018-01-19 14:22

Thanks to all who responded, especially bw123, who put forward the suggestion of installing VLC instead of avoiding it.

stevepusser, if you get the new version of Xine backported, please do post here with the URL of the backport. I am hopeful that it won’t be the Mepis servers linked to in your sig. I would be reluctant to mix Mepis repositories on my Debian.

After trying VLC both with subtitled video, and with videos that have multiple language audio, I have decided the VLC is good enough. I still miss Xine’s memorized single key keyboard shortcuts and Xine’s ability to have a semi full screen – no borders or controls but still shows the task manager bar.

I’m marking the topic [Partially Solved].
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Re: [Partially Solved] System Becomes Unresponsive at End of

Postby debiman » 2018-01-19 17:47

you might want to try mpv (yeah i know, i'm a fanboi).
User avatar
debiman
 
Posts: 2209
Joined: 2013-03-12 07:18

Re: [Partially Solved] System Becomes Unresponsive at End of

Postby stevepusser » 2018-01-19 20:29

The newer libxine2 for Stretch is now in my multimedia backports OBS repo, along with mpv 0.28.0 and vlc 2.2.8 :)

Thinking about adding vlc 3.0~rc6 to the Stretch repo...

viewtopic.php?f=6&t=127574
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.102, Pale Moon 27.9.2, Enlightenment 0.22, Calligra 3.1, VLC 3.0.2, Firefox 60.0.1, Krita 4.0.3
User avatar
stevepusser
 
Posts: 9546
Joined: 2009-10-06 05:53

Re: [Partially Solved] Re: System Becomes Unresponsive at En

Postby bw123 » 2018-01-19 21:19

Tony G wrote: I still miss Xine’s memorized single key keyboard shortcuts and Xine’s ability to have a semi full screen – no borders or controls but still shows the task manager bar.


You can reassign the vlc hotkeys, it's easy. Also, 'nvlc' is an ncurses based player that you get along with the full gui. I use it pretty often, especially on fluxbox thru midnight commander, it's very fast but I can't figure out how to set 'play and quit' using nvlc. It gives you a small text based control window, and a separate vid window like you describe. With window rules in your wm you can make it look like whatever you want.
User avatar
bw123
 
Posts: 2993
Joined: 2011-05-09 06:02
Location: TN_USA

Re: [Partially Solved] System Becomes Unresponsive at End of

Postby Tony G » 2018-01-20 03:52

stevepusser wrote:The newer libxine2 for Stretch is now in my multimedia backports OBS repo, along with mpv 0.28.0 and vlc 2.2.8 :)

Thinking about adding vlc 3.0~rc6 to the Stretch repo...

viewtopic.php?f=6&t=127574


Thanks, I will try it. I have a long day tomorrow (40 mile bicycle ride) so it will be Sunday before I get to it.
One by one, the penguins steal my sanity.
User avatar
Tony G
 
Posts: 47
Joined: 2011-09-19 00:50
Location: Louisville KY

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable