Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Rep:
Video playback is choppy sooo choppy...
Hello,
this disto's playback of videos on the hdd, both onboard, and USB external's. whenever I play a video no matter which video player I use, mpv, vlc, and that xplayer one too, it plays for a few seconds then stops for a few milliseconds, enough to bug the eye balls, causing irritating effects to the brain to the point it causes me to have to post about it.
this does not take place when I am in Slackware current, everything runs smoothly, I can have a few scripts running and watch a movie without the choppiness that is taking place in Mint. I have already added a cache to mpv desktop file to try and see if that would help, but it does not.
what to do?
oh yeah it is the latest and greatest cinnamon mint version, I think thats 19 or is it 18.xxx?
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Original Poster
Rep:
Quote:
Originally Posted by frankbell
Off hand, I don't have a clue, so I'll ask couple of questions.
Is on a dual-boot Slackware/Mint computer or two different computers?
What are the computer(s) specs, including the graphics card, and what DE/WM are you using on Slackware?
same laptop, same hardware, I also just installed Void Linux and it also does NOT have this issue.
DE/WM main one I am going to is e16, the default is Cinnamon on Mint, Void, and e16 / xfce, and soon to be Cinnamon on Slackware, as soon as I install it in a minute or so.
I am currently slack during this posting.
Code:
lspci
00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 48)
userx@slackdvdcurr.org:/media/data1/projects/e16.theme.pack
$ lsusb
Bus 003 Device 002: ID 8087:8001 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 1058:25fa Western Digital Technologies, Inc.
Bus 002 Device 002: ID 0424:5534 Standard Microsystems Corp. Hub
Bus 002 Device 003: ID 1058:0827 Western Digital Technologies, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 05c8:0374 Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 001 Device 006: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 007: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 005: ID 03eb:8a84 Atmel Corp.
Bus 001 Device 003: ID 0424:2134 Standard Microsystems Corp. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
more specs
Code:
Slackware 14.2 x86_64 (post 14.2 -current)
slackdvdcurr.org
IP Address 127.0.0.1 external:
Kernel 4.19.16
Uptime 14:15:02 up 1:28, 3 users, load average: 1.13, 1.14, 1.09
HP EliteBook 840 G2
Graphics Card [Intel Corporation HD Graphics 5500 (rev 09)
CPU Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz
RAM 7372 MB : 840 : 232
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Original Poster
Rep:
well this explanes this one MPV
Code:
$ mpv "/home/userx/testmovie.mp4"
Playing: /home/userx/testmovie.mp4
(+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
VO does not support requested hardware decoder, or loading it failed.
VO: [opengl] 1920x1080 yuv420p
V: 00:00:11 / 00:04:15 (4%)
Exiting... (Quit)
xplayer is not talking, it's just givng me a bunch of GTK puek
Code:
xplayer --debug "/home/userx/testmovie.mp4"
(xplayer:10190): Gtk-WARNING **: 14:11:32.473: GtkButton does not have a child property called expand
(xplayer:10190): Gtk-WARNING **: 14:11:32.473: GtkButton does not have a child property called fill
(xplayer:10190): Gtk-WARNING **: 14:11:32.473: GtkButton does not have a child property called position
I would assume it is for the same reason, where in Slack before I added that ( I forget the name) lib to support video, I was using opengl for xine. now it works either way in Slack.k
I figured if it is showing video it is working. apparently not. these are just "basic" videos not games where a max fps are needed. I am finding out that Intels on board video chip(s) are not all cracked up to what it should be.
Let me go mess with MPV config file, and see what I can do to fix that.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Original Poster
Rep:
Update useless update
vlc
Code:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
Code:
$ vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
$ mpv "/home/userx/testmovie.mp4"
Playing: /home/userx/testmovie.mp4
(+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
VO does not support requested hardware decoder, or loading it failed.
VO: [opengl] 1920x1080 yuv420p
V: 00:00:11 / 00:04:15 (4%)
and then it starts playing choppily?
clearly it's using software decoding, which your hardware cannot take (at that resolution).
Quote:
Originally Posted by BW-userx
Code:
$ vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
maybe just misconfigured?
that's an old bug report, the situation has likely changed meanwhile.
did you read all of it? there seems to be some good hints in it.
I remember I once had to configure a system to use hardware decoding, and this wiki helped me a lot: https://wiki.archlinux.org/index.php...o_acceleration
as you can see, basically there's va-api and vdpau and sometimes these need to be configured properly.
this seems to tally with some of the comments in the bug report, e.g. #39.
do your homework: Verification, then Configuration (the wiki i linked).
I remember I had to set some environment variables.
i still have
Code:
export VDPAU_DRIVER=va_gl
in my .xinitrc. not sure i even need it anymore.
don't complain about unsolved bugs in a thread where you barely submitted any useful information, or showed any effort of your own. or at least way too little for someone who's been here 6 years and is proud to be using slackware
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Original Poster
Rep:
Quote:
Originally Posted by ondoho
don't complain about unsolved bugs in a thread where you barely submitted any useful information, or showed any effort of your own. or at least way too little for someone who's been here 6 years and is proud to be using slackware
sorry for my lacking in wanting and logging every stinking little detail I've done in search of trying to stop this video chip from hitting the brakes every few seconds on the movie I am trying to play.
Actually Slackware is now doing this too. SO now I got two distros out of three that are doing the same, this too is what bugs me, if one distro works VOID Linux, now, (for how long? I have no idea) but nevertheless, if one actually works and the other does not, then what it the one that works doing to make it work that the other one that is not doing so I can use that methoid to cause the one that is not working to work too?
this is not Ndiva where from what I someone is always having issues with it and drivers to get it to work, I've never seen anyone asking for help from using Intel video chip.
If I knew that this HD intel onboard or intergrated into the CPU chip Intel Corporation HD Graphics 5500 (rev 09) chip was going to give me this hassle and not a simple fix, or a needed fix whatsoever. I would have looked for a discrete graphics card laptop to get off EBay instead of this one.
This is not trying to play a data saturated 3D game. This is just playing a simple movie.
as far as players and what have I done, it seems that every player has it own little methoid which is different for each.
this thread is posted under mint, so I don't feel it right to add everything I've been doing in Slack in here and I have been bouncing back and fourth trying to get them both working. That can get a little confusing as to what did I do to which.
then there is the naming conventions for drivers (packaging) don't get me started on that one.
My real complant goes to Intel. and Windows, BILL GATEs ,and Steve Jobs Idologly.
After I've had my coffee, I'll look back into this issue and try to keep a running log of every sight and search and everything I've done in trying to fix this, something that should not even be an issue.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952
Original Poster
Rep:
Quote:
Originally Posted by ondoho
two options i can think of:
and then it starts playing choppily?
clearly it's using software decoding, which your hardware cannot take (at that resolution).
maybe just misconfigured?
that's an old bug report, the situation has likely changed meanwhile.
did you read all of it? there seems to be some good hints in it.
I remember I once had to configure a system to use hardware decoding, and this wiki helped me a lot: https://wiki.archlinux.org/index.php...o_acceleration
as you can see, basically there's va-api and vdpau and sometimes these need to be configured properly.
this seems to tally with some of the comments in the bug report, e.g. #39.
do your homework: Verification, then Configuration (the wiki i linked).
I remember I had to set some environment variables.
i still have
Code:
export VDPAU_DRIVER=va_gl
in my .xinitrc. not sure i even need it anymore.
don't complain about unsolved bugs in a thread where you barely submitted any useful information, or showed any effort of your own. or at least way too little for someone who's been here 6 years and is proud to be using slackware
still nope
Code:
userx@MintyMintMint:
$ export VDPAU_DRIVER=va_gl
userx@MintyMintMint:
$ echo $VDPAU_DRIVER
va_gl
userx@MintyMintMint:
$ mpv test.mp4
Playing: test.mp4
(+) Video --vid=1 (*) (h264 1920x1080 29.970fps)
(+) Audio --aid=1 --alang=und (*) (aac 2ch 48000Hz)
File tags:
Title: heidy-065
VO does not support requested hardware decoder, or loading it failed.
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl] 1920x1080 yuv420p
AV: 00:00:07 / 00:04:02 (3%) A-V: 0.000
How do I even find out what hardware decoder it is requesting so I can try and figure out whats up with that?
I checked all of the other glx kernel drivers and such and they all match up to what void has / is using.
mpv
Code:
userx@MintyMintMint:~
$ sudo mount /dev/sdb7 /mnt
userx@MintyMintMint:~
$ ls /mnt/etc/mpv
encoding-profiles.conf
userx@MintyMintMint:~
$ ls /etc/mpv
encoding-profiles.conf encoding-profiles.conf.old mpv.conf
userx@MintyMintMint:~
$ ls /mnt/etc/mpv/encoding-profiles.conf
/mnt/etc/mpv/encoding-profiles.conf
userx@MintyMintMint:~
$ ls /mnt/etc/mpv/encoding-profiles.conf /etc/mpv
/mnt/etc/mpv/encoding-profiles.conf
/etc/mpv:
encoding-profiles.conf encoding-profiles.conf.old mpv.conf
userx@MintyMintMint:~
$ sudo cp -v /mnt/etc/mpv/encoding-profiles.conf /etc/mpv
copied over voids mpv conf just cus to see if that would help. nope.\\
Note that the latter announces all applicable drivers.
thanks, I am bouncing back and forth between VOid and Mint at the moment to try and figure out why VOid (seems) to work and why, to try and use that info for the other ones. ie mint, slack
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.