LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2016, 11:43 AM   #1
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Rep: Reputation: Disabled
Video strem is slow on youtube


Hi,
I have such trouble: When i watch movie on Youtube or other portal of movies video stream/play is very slow.

Please see that screencast: http://www.4shared.com/video/0zZ_9XmOce/3_online.html

My graphic is:
Code:
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] [1002:130a]
I added That on: /etc/apt/sources.list
Code:
# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free
after:
Code:
# apt-get update
Code:
# apt-get install firmware-linux-nonfree libgl1-mesa-dri xserver-xorg-video-ati
and reboot.

But same nothing changed. On system loads up with title there is : http://i57.tinypic.com/96e2v7.png May it be reason of it?

what can i do? Thanks in advanced.

Last edited by THE PHANTOM; 12-16-2016 at 01:16 PM. Reason: addition.
 
Old 12-16-2016, 05:22 PM   #2
Ratamahatta
Member
 
Registered: Feb 2012
Location: Germany
Distribution: siduction
Posts: 134

Rep: Reputation: 17
Those boot messages just say that the backlight brightness of your (laptop) screen could not be restored to the level before reboot. That should not impact performance at all.
I'm on Sid and when searching for kaveri, I get packages named xserver-xorg-video-amdgpu and xserver-xorg-video-radeon showing up. Could xserver-xorg-video-ati be the the wrong one? (I don't have a kaveri graphics card, so I can't test it.)
 
Old 12-16-2016, 06:49 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
# apt-get install mesa-utils

$ glxinfo | grep -i direct

Should be "Direct Rendering: Yes". If it's not, then you're not using the right video drivers or your permissions are messed up.

$ groups; id

The user should be in the video group. And several other groups.

Beyond that the browser cache's videos to your /tmp/ or ~/.cache type places. If your storage medium is slow, that can cause buffering due to file I/O. Various mount and ramdisk ways to cope if that's the case. Otherwise youtube-dl is your friend.
 
Old 12-17-2016, 07:05 AM   #4
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Code:
  # apt-get install mesa-utils
i will install that.

That is my own laptop and no one uses it, how to make my user to all group members? if that is problem i will try it too.

i have one question too: is possible to have wicd network manager and built in network manager both same time, will they make conflicts to each other?

Thanks for your supports.
 
Old 12-17-2016, 10:50 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
One network manager will likely conflict with the other. At a minimum one will get used, the other not. I just install dhclient(isc-dhcp-client) and wpasupplicant. Or network manager if for others since nmtui is a thing and is kind of nice. It's fairly easy to disable them now.

# service <name> stop
# service --status-all
(to list known services in debian)

Although ModemManager doesn't seem to play nice in that realm so old school it with kill or systemctl. Although I'm the exception and a minimalist. Kind of have to be when your best machine is 2GHz and 2GB ram. Having an extra 100MB ram free is like gaining 5%. So not running pulseaudio +5%, not running network manager +5%, not running chrome ???
 
Old 12-17-2016, 11:19 AM   #6
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Code:
glxinfo | grep -i direct
direct rendering: Yes
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, 
    GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2,
I ran that command
Code:
glxinfo | grep -i direct
so it is right driver right?
 
Old 12-17-2016, 12:32 PM   #7
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
I can not watch movies. it is so laggy stream
 
Old 12-17-2016, 06:18 PM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Are you buffering?

$ speedometer -r <internet_interface>
if it's a flat line you're network connection is like maxed (internet speed)
- change the stream rate to fit your pipe

$ nmon
press "l" for CPU, if BLUE you are waiting (probably on storage / swapping or /tmp)
- get faster storage or use a ramdisk
 
Old 12-18-2016, 01:49 AM   #9
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Use kernel+firmware+mesa+libdrm+xorg drivers from jessie-backports. Although xserver is old in jessie (you need newer for better glamor support).

What is the output of:
Code:
glxinfo |grep Open
?

Last edited by gradinaruvasile; 12-18-2016 at 01:51 AM.
 
Old 12-18-2016, 06:37 AM   #10
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
glxinfo |grep Open

Code:
glxinfo |grep Open
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD KAVERI
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:
Quote:
Use kernel+firmware+mesa+libdrm+xorg drivers from jessie-backports
I downloaded latest kernel 4.9 version. can u help me how to update my kernel with it? i have it extracted on my home directory. Thanks.
 
Old 12-18-2016, 10:50 AM   #11
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Best is to use the kernel (4.8.11 now) and the rest already packaged from backports:

https://backports.debian.org/Instructions/
 
1 members found this post helpful.
Old 12-18-2016, 11:28 AM   #12
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
I update system today, kernel too, but nothing stream is same leggy. First when i install Debian Linux x64 bit i had not that problem but i had wifi trouble with x64 bit, because i tried to installed x32 bit and solved wifi trouble but occurred that one stream.
 
Old 12-18-2016, 01:35 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
anyone ask how fast is your connection?
 
Old 12-19-2016, 01:23 AM   #14
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
Sorry. My connection is normall. i test it with others devices and no problems on it.
 
Old 12-19-2016, 11:04 AM   #15
THE PHANTOM
Member
 
Registered: Mar 2016
Posts: 94

Original Poster
Rep: Reputation: Disabled
My internet speedtest: http://i64.tinypic.com/125j7dd.png
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] YouTube loading slow elchucko Linux - Newbie 5 07-03-2016 11:11 AM
youtube video streaming extremely slow with puppy linux, how can i fix this? benmanny Puppy 8 01-11-2012 03:50 AM
youtube and other, online video players... going to slow miniu Linux - Software 2 01-30-2010 01:48 PM
Opera Is Slow When Playing YouTube taurusx5 Linux - Software 7 07-20-2008 09:42 PM
Lan Network Strem Online TV pls help orfey Linux - Networking 1 12-03-2006 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration