Laggy,choppy video (debian running from HD), smooth from LiveCD
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Laggy,choppy video (debian running from HD), smooth from LiveCD
I get jumpy, laggy video playback of local mp4s when running Debian 8 or 9 off my SSD HD but the same video runs smoothly, oddly enough, when I boot from any liveCD like Debian 8 or Mint. Any ideas how I could improve performance from the HD (stats below)?
Processor : 2x Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz
Memory : 3111MB (1220MB used)
Resolution : 1280x800 pixels
OpenGL Renderer : Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
X11 Vendor : The X.Org Foundation
-Version-
Kernel : Linux 3.16.0-4-686-pae (i686)
Distribution : Debian GNU/Linux 8.11
Desktop Environment : Unknown (Window Manager: GNOME Shell)
Load Average : 0.73, 0.96, 0.92
lspci
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV516/M64-S [Mobility Radeon X2300]
Subsystem: Samsung Electronics Co Ltd Device
Kernel driver in use: radeon
Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Model name: Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz
Stepping: 13
CPU MHz: 1867.000
CPU max MHz: 1867.0000
CPU min MHz: 800.0000
L1d cache: 32K
L1i cache: 32K
L2 cache: 1024K
RV516 is around 13 years old. Gnome was far less demanding when it was new than it is now.
If using the xserver-xorg-video-ati-radeon X driver, try switching to the modesetting X driver. If using modesetting try radeon. In Debian 8 Jessie, the modesetting driver is provided by xserver-xorg-video-modesetting. In newer releases with server 1.17.x or newer, the modesetting driver was merged into the xserver package, so should be used automatically if the radeon driver is not installed.
Are the live CDs you tried also using the resource-hungry Gnome shell? For an installed distro, are there background tasks eating CPU cycles?
Is the video still choppy if you use a less demanding DE, such as IceWM or TDE.
If using the xserver-xorg-video-ati-radeon X driver, try switching to the modesetting X driver. If using modesetting try radeon. In Debian 8 Jessie, the modesetting driver is provided by xserver-xorg-video-modesetting. In newer releases with server 1.17.x or newer, the modesetting driver was merged into the xserver package, so should be used automatically if the radeon driver is not installed.
Are the live CDs you tried also using the resource-hungry Gnome shell? For an installed distro, are there background tasks eating CPU cycles?
Yes, one LiveCD was also running Gnome.
I will check out IceWM and TDE. However, I once tried out LXDE and XFCE for the same reason but it had no effect so I returned to Gnome.
How do I switch to the modesetting X driver?
Last edited by Mi82; 11-15-2018 at 10:40 AM.
Reason: Clarity
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1113 joe 20 0 621280 314112 49548 R 32.9 10.1 108:50.83 gnome-shell
783 root 20 0 186000 90044 20228 S 9.3 2.9 37:04.48 Xorg
7470 joe 20 0 368540 83672 56408 S 3.3 2.7 4:52.27 totem
...
That 32.9% + 9.3% is a lot of CPU for simply running a DE.
Quote:
How do I switch to the modesetting X driver?
Two ways:
1-edit /etc/X11/xorg.conf.d/50-device.conf to specify the desired driver, or
2-uninstall the driver(s) you wish not used (xserver-xorg-video-ati,xserver-xorg-video-radeon,xserver-xorg-video-amdgpu)(in Jessie and other older distros also is required xserver-xorg-video-modesetting be installed)
That 32.9% + 9.3% is a lot of CPU for simply running a DE.
Two ways:
1-edit /etc/X11/xorg.conf.d/50-device.conf to specify the desired driver, or
2-uninstall the driver(s) you wish not used (xserver-xorg-video-ati,xserver-xorg-video-radeon,xserver-xorg-video-amdgpu)(in Jessie and other older distros also is required xserver-xorg-video-modesetting be installed)
I read up on this and found the general structure I need to put in that conf.d file (it doesn't yet exist on my platform), and example I found for a different gpu:
How do I find out the values for my Radeon? Is there a list of possible options somewhere online?
My BusID based on lspci (see above) appears to be: 01:00.0 --- can this be right, since it doesn't fit the above format?
I am out of my depth on this and pretty afraid of winding up with just a black screen and whirring fan.
# Having multiple "Device" sections is known to be problematic. Make
# sure you don't have in use another one laying around e.g. in another
# xorg.conf.d file or even a generic xorg.conf file. More details can
# be found in https://bugs.freedesktop.org/show_bug.cgi?id=32430.
#
#Section "Device"
# Identifier "Default Device"
#
# #Driver "radeon"
#
# ## Required magic for radeon/radeonhd drivers; output name
# ## (here: "DVI-0") can be figured out via 'xrandr -q'
# #Option "monitor-DVI-0" "Default Monitor"
#
#EndSection
This one has been shipping in openSUSE since 2011. As you can see being nothing but comments, it wouldn't do anything as is. It's an optional file. Removing #s from four lines would make it specify radeon:
Wondering if vesa driver will bring more joy? It is how I roll on my AntiX distro based a little on debian on problem gear with open source savage drivers,
Edit: because newer xorg and open source driver maintainers sometimes have strained working relationships.
Problem with my post is. I have the vesa option during the installer process.
In case you wanna try while in text boot screen without logging into gui. I cannot swear this will not bork your install. I would not be afraid to try it because a reinstall only takes me a few minutes.
Code:
sudo apt-get purge radeon.
The period after "radeon" deletes all radeon config files. Leave it on or off as you prefer.
Since this is only a sd card that can be switched from computer to computer. With only changing the wlanx settings to connect up. Vesa is a good all around video driver in this use case-age.
Wondering if vesa driver will bring more joy?...Vesa is a good all around video driver in this use case-age.
VESA is slow! (ancient technology; no acceleration)
VESA supports no widescreen or HiDPI modes (for most environments this means distortion is normal).
VESA driver use cases do not include playing videos without stuttering or freezing. Its use cases include:
1-servers (enables using GUI tools; speed a non-issue; no need for video playback; mismatched aspect ratios unimportant)
2-rescue environments (same reasons as #1)
3-ancient hardware (devs don't have it to test with and/or wouldn't even if they could)
4-system installation (easy for devs to configure; speed a non-issue; no need for video playback; due to universal video BIOS support it works for hardware that lacks current driver support)
Another possibility is that your choice of video player is using an old or "non-optimal" config file on the h/d while the liveCD's are using auto/default config files.
How does web surfing compare when visiting Youtube for example or different media players?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.