When i try to see a video with VLC the CPU goes 100%

New to Debian (Or Linux in general)? Ask your questions here!

When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 13:28

I cant play no video at my laptop . I have intel graphics . i run the latest version of debian . i tried MPV which works greats but it hasnt so much add-ons like VLC ... I want to download subs ...
So any ideas what i could do with VLC ? tried everything.
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby Wheelerof4te » 2019-04-10 14:30

What's your DE, Debian version, graphics hardware etc? Post the output of:
Code: Select all
lspci -k

under code brackets here.
Saying just "latest Debian" means little when that version could be either Stretch, Buster or Sid.
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 14:41

you are right . i use strecth. i use intel graphics ( atom processor)
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby Wheelerof4te » 2019-04-10 14:59

Not doing what I suggested, eh? How about this, install inxi (apt install inxi) and as a user, type in terminal:
Code: Select all
inxi -G

Post the result here.
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 15:02

Wheelerof4te wrote:Not doing what I suggested, eh? How about this, install inxi (apt install inxi) and as a user, type in terminal:
Code: Select all
inxi -G

Post the result here.

is it private and secure to do that?
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby GarryRicketson » 2019-04-10 15:39

No it is not private, this is a public forum. Secure ?

That all depends on how secure your system is , mine is secure, I have no worry about that.
Code: Select all
 inxi -G
Graphics:  Device-1: Intel Q45 Video driver: N/A
           Display: server: X.org 1.19.6 driver: modesetting tty: 109x31
           Message: Unable to show advanced data. Required tool glxinfo missing.

But if you refuse to give any details, then nobody will be able to help you, maybe hire a private system admin, tech, and have them solve your problem .
If you don't trust 'inxi', or just want to learn more about it before trying it, try doing a search :key words:
Code: Select all
is it secure to use inxi -G to get information

Here is one, of the many results:
https://www.linuxlinks.com/essential-system-tools-inxi-cli-system-information-tool/
Summary

If you need help from the Linux community, inxi is an essential utility that lets others help you debug issues. By providing concise information about a system, while filtering out sensitive data, it’s a time-saver for all participants.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 16:12

Graphics: Card: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display
Display Server: X.Org 1.19.2 drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Bay Trail GLX Version: 3.0 Mesa 13.0.6



i wasnt aware of this @GarryRicketson im sorry .. im full noob ... i dont even know why i have to do all this just to see a movie at linux.
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 17:21

i just updated .
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby GarryRicketson » 2019-04-10 18:12

That's ok , we all started out new, etc. And actually it is good to question any commands,or programs that you are not familiar with, some times you can find the answer if you do a search, and avoid seeming like a "noob". Also it always is good to look at what the manual says about the options, this applies on any forum, in this case :
Code: Select all
man inxi
---snip--
       -G, --graphics
              Show Graphic card(s) information, including details of
              card and card driver, display protocol (if available),
              display server (vendor and version number), e.g.:


Any way, now maybe some one with more technical know how can give you some advice, sorry , I don't know on this one.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: When i try to see a video with VLC the CPU goes 100%

Postby Wheelerof4te » 2019-04-10 21:05

Mesa is working, so I don't really know what's the problem. The CPU might be very slow. Try installing this:
Code: Select all
apt install firmware-msc-nonfree
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-10 22:19

Wheelerof4te wrote:Mesa is working, so I don't really know what's the problem. The CPU might be very slow. Try installing this:
Code: Select all
apt install firmware-msc-nonfree

whats exactly is this? :roll: :roll:

also when the pc was running windows 10 was able to run movies smoothly. Now i upgraded with a SSD and install linux cant run VLC :/

edit: i really appreciate your help . im sorry for before . im having the worst day ever.
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby sickpig » 2019-04-10 23:49

Hey udaba

its non-free firmware for your system. it might make your videos run better

also u can use smplayer its frontend for mpv player, it natively supports subtitle download from open subtitles without the need for additional plugins, its available in synaptic
its memory usage is super low compared to resource hog vlc
bestluck
User avatar
sickpig
 
Posts: 320
Joined: 2019-01-23 10:34

Re: When i try to see a video with VLC the CPU goes 100%

Postby stevepusser » 2019-04-11 00:00

If you don't know what a package is, you can run
Code: Select all
apt show "package name"


in the terminal, and it'll show you.
Code: Select all
Description: Binary firmware for various drivers in the Linux kernel
 This package contains the binary firmware for  various drivers in the
 Linux kernel.  This is a collection of firmware blobs which are not
 individually large enough to warrant a standalone package.


Newer Intel hardware requires this package, but I'm not sure about Bay Trail. Inxi says your graphics are working correctly.

It doesn't hurt to install it, though.

Your Atom is supposed to support va-api hardware video decoding in VLC and some other players, so you should try and set that up.

Install i965-va-driver and vainfo, then run vainfo in a terminal to make sure it's working. Then in VLC's Preferences/--Input/Codecs section, set Hardware Acceleration to automatic, save, and shut VLC down. Then try starting it in a terminal
Code: Select all
vlc "video file name"


so it shows if there are any errors loading the va-api drivers.

Information on what type of video you're trying to play would help, too, such as the resolution and what codec they are encoded with, such h.264.

.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11295
Joined: 2009-10-06 05:53

Re: When i try to see a video with VLC the CPU goes 100%

Postby Udaba » 2019-04-11 13:14

stevepusser wrote:If you don't know what a package is, you can run
Code: Select all
apt show "package name"


in the terminal, and it'll show you.
Code: Select all
Description: Binary firmware for various drivers in the Linux kernel
 This package contains the binary firmware for  various drivers in the
 Linux kernel.  This is a collection of firmware blobs which are not
 individually large enough to warrant a standalone package.


Newer Intel hardware requires this package, but I'm not sure about Bay Trail. Inxi says your graphics are working correctly.

It doesn't hurt to install it, though.

Your Atom is supposed to support va-api hardware video decoding in VLC and some other players, so you should try and set that up.

Install i965-va-driver and vainfo, then run vainfo in a terminal to make sure it's working. Then in VLC's Preferences/--Input/Codecs section, set Hardware Acceleration to automatic, save, and shut VLC down. Then try starting it in a terminal
Code: Select all
vlc "video file name"


so it shows if there are any errors loading the va-api drivers.

Information on what type of video you're trying to play would help, too, such as the resolution and what codec they are encoded with, such h.264.

.

Im trying to open a 720p BrRip x264 mp4 file . When i launch it through VLC command i get : Your input cant be opened . VLC is unable to open the MRL FILE :myfile:

edit: when i choose to open the file with VLC the file runs ok , but the CPU goes 100% and the frame drops to 0
Udaba
 
Posts: 18
Joined: 2019-03-18 00:35

Re: When i try to see a video with VLC the CPU goes 100%

Postby GarryRicketson » 2019-04-11 14:22

Use code boxes, and show exactly how you wrote and entered the comman, like this:
Code: Select all
garry% vlc big_buck_bunny.mp4
VLC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)
[000011f1b74f4e50] core xml reader error: XML reader not found
[000011f18e069450] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000011f1aa945350] qt4 interface error: Unable to load extensions module
[000011f1af63c650] xcb vout display error: shared memory server-side error: X11 error 10
 

Show the exact output, including any error messages.
Like this: (again)
Code: Select all
garry% vlc "video file name"
VLC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)
[000014b086f57e50] core xml reader error: XML reader not found
[000014b0f786f050] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[000014b0d8a34250] qt4 interface error: Unable to load extensions module
[000014b0c5a06750] filesystem access error: cannot open file /home/garry/Videos/Videos/video file name (No such file or directory)
[000014b168d3d550] core input error: open of `file:///home/garry/Videos/Videos/video%20file%20name' failed

Or
Code: Select all
File reading failed:
VLC could not open the file "/home/garry/Videos/Videos/video file name" (No such file or directory).
Your input can't be opened:
VLC is unable to open the MRL 'file:///home/garry/Videos/Videos/video%20file%20name'. Check the log for details.

When i launch it through VLC command i get : Your input cant be opened . VLC is unable to open the MRL FILE :myfile:

I find it hard to believe the filename is "myfile", if you don't use the filename, and have it typed correctly , the command will not work correctly.... use code boxes, and show some real output, please
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable