Linux Lite Forums

Hardware - Support => Other => Topic started by: arjaffer on September 13, 2015, 04:18:06 AM

Title: Choppy Youtube
Post by: arjaffer on September 13, 2015, 04:18:06 AM
Hi I am a newbie
I have a Samsung NC20 netbook with 2GB ram and SSD Hard drive
But youtube on Firefox or Chromium is choppy
I have tried to change swapiness but no luck
Is the hardware I am using not capable of running youtube?
Any help or direction to go will be appreciated.
Title: Re: Choppy Youtube
Post by: Wirezfree on September 13, 2015, 04:47:30 AM
Hi and Welcome...

It may help the more technical folks if you can post more details on your Samsung.
If you can open a terminal: ctrl+alt+t
and type/copy in the command below:

Code: [Select]
inxi -Fxx
highlight all the text it returns, and copy it back in another post.

GL
Title: Re: Choppy Youtube
Post by: torreydale on September 13, 2015, 08:30:07 AM
Consider installing Google Chrome and seeing the YouTube performance with it.  Another option would be to use the MiniTube app.  But as mentioned, sharing more details on your pc would help.
Title: Re: Choppy Youtube
Post by: avj on September 13, 2015, 10:31:12 AM
In my experience network speed has more effect on video playback than which browser is used. If you are on a high latency network the video will most likely be choppy as there is a long delay between sending and receiving data. Open a terminal and enter the following code:

Code: [Select]
ping -s 1472 -c1 google.com
The code will measure how long it takes for a network packet to be sent and received. Post back here with the output of the code so we can see what the network speed is.
Title: Re: Choppy Youtube
Post by: arjaffer on September 13, 2015, 12:21:52 PM
here is the output of inxi -Fxx

Code: [Select]
linuxlite@linuxlite-NC20-NB20:~$ inxi -Fxx
System:    Host: linuxlite-NC20-NB20 Kernel: 3.13.0-24-generic i686 (32 bit, gcc: 4.8.2)
           Desktop: Xfce 4.11.8 (Gtk 2.24.23) dm: lightdm Distro: Ubuntu 14.04 trusty
Machine:   System: SAMSUNG product: NC20/NB20 version: 05MQ Chassis: type: 10
           Mobo: SAMSUNG model: NC20/NB20 Bios: Phoenix version: 05MQ date: 01/28/2009
CPU:       Single core VIA Nano U22501300+MHz (-UP-) cache: 1024 KB flags: (lm pae sse sse2 sse3 ssse3) bmips: 3191.85 clocked at 1600.00 MHz
Graphics:  Card: VIA VX800/VX820 Chrome 9 HC3 Integrated Graphics bus-ID: 00:01.0 chip-ID: 1106:1122
           X.Org: 1.15.1 drivers: openchrome (unloaded: fbdev,vesa) Resolution: [email protected]
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card: VIA VT8237A/VT8251 HDA Controller driver: snd_hda_intel bus-ID: 00:14.0 chip-ID: 1106:3288
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-24-generic
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 01:00.0 chip-ID: 168c:001c
           IF: wlan0 state: down mac: 00:21:63:f6:b5:ef
           Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller
           driver: sky2 ver: 1.30 port: 5000 bus-ID: 02:00.0 chip-ID: 11ab:4354
           IF: eth0 state: down mac: 00:13:77:b4:b5:7a
Drives:    HDD Total Size: 250.1GB (1.8% used)
           1: id: /dev/sda model: CT250BX100SSD1 size: 250.1GB serial: 1527F009328C
Partition: ID: / size: 126G used: 4.1G (4%) fs: ext4 ID: swap-1 size: 4.73GB used: 0.00GB (0%) fs: swap
RAID:      System: supported: N/A
           No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 50.0C mobo: 50.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 152 Uptime: 3 min Memory: 222.3/1761.3MB Runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.11 running in x-terminal-emul) inxi: 1.9.17
Title: Re: Choppy Youtube
Post by: arjaffer on September 13, 2015, 12:33:39 PM
linuxlite@linuxlite-NC20-NB20:~$ ping -s 1472 -c1 google.com
PING google.com (216.58.208.46) 1472(1500) bytes of data.

--- google.com ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
Title: Re: Choppy Youtube
Post by: avj on September 13, 2015, 12:58:27 PM
We will need to try again with a smaller packet size.
Code: [Select]
ping -s 1400 -c1 google.com
please enter the above code in a terminal and report back with the output.
Title: Re: Choppy Youtube
Post by: arjaffer on September 13, 2015, 01:00:54 PM
linuxlite@linuxlite-NC20-NB20:~$ ping -s 1400 -c1 google.com
PING google.com (216.58.209.238) 1400(1428) bytes of data.
72 bytes from lhr08s05-in-f14.1e100.net (216.58.209.238): icmp_seq=1 ttl=54 (truncated)

--- google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 39.639/39.639
Title: Re: Choppy Youtube
Post by: avj on September 13, 2015, 01:06:54 PM
I would say it is not caused by your network in my opinion. Someone else should have other suggestions.
Title: Re: Choppy Youtube
Post by: rokytnji on September 13, 2015, 01:11:08 PM
You are running a via graphics chip with the open chrome driver in Linux-Lite which is problematic at best on the version that Xorg that comes shipped with Linux lite.

Code: [Select]
$ apt-cache policy xorg
xorg:
  Installed: 1:7.7+1ubuntu8.1
  Candidate: 1:7.7+1ubuntu8.1
  Version table:
 *** 1:7.7+1ubuntu8.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1:7.7+1ubuntu8 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

I have covered these kind of threads in the past. Xorg 1:2.2  plays nice with Open Chrome open source driver for Via graphics chips. Xorg 1:7 does not play nice with Open Chrome drivers. Here is How I sorted the last thread like this.

https://www.linuxliteos.com/forums/video-cards/linux-lite-will-not-play-nice-with-via-chipset/msg14929/#msg14929 (https://www.linuxliteos.com/forums/video-cards/linux-lite-will-not-play-nice-with-via-chipset/msg14929/#msg14929)

Sounds like your problems are not as bad as his was. But you are suffering mild symptoms of the same problem.
Title: Re: Choppy Youtube
Post by: arjaffer on September 13, 2015, 01:14:38 PM
Thanks anyway avj
Title: Re: Choppy Youtube
Post by: torreydale on September 13, 2015, 01:37:50 PM
Try seeing if there are different video driver options.  I'm not at my pc, but I think if you go to your menu and type in the word driver, you'll see the app that allows you to choose a different driver if one is available.

Furthermore, I stand by my previous suggestions.  Different browsers treat YouTube videos differently because of how they handle Adobe Flash.  Chromium by default has no flash, and I think Firefox uses a legacy version of flash.

This link might be more than you'd care to review as a newbie, but I'll put it here as a reference for the community at large:  http://www.howtogeek.com/193876/using-firefox-on-linux-your-flash-player-is-old-and-outdated/

I also say install MiniTube as a backup.  It is a desktop client for YouTube videos.  And it doesn't require Flash.  Last I checked, the version in the repository doesn't work on Linux Lite.  You'd have to download the *.deb file from Minitube's website to get the version that does work: http://flavio.tordini.org/minitube.
Title: Re: Choppy Youtube
Post by: firenice03 on September 13, 2015, 08:08:23 PM
Not sure if HTML5 is GA but was in beta..
Right Click a video the last option is "about HTML5" kinda the give a way if your system is using.
If not I think https://www.youtube.com/html5 (https://www.youtube.com/html5) was the link..

HTML5 ran a bit better for me...
Title: Re: Choppy Youtube
Post by: arjaffer on September 14, 2015, 07:27:05 AM
Hi rokytnji
Thanks for your post
I have tried what you suggested but on reboot it hung. I had to go live remove that file
I am a newbie and I did this. Maybe it is wrong
I downloaded the file from http://pastebin.com/wxYu9cPz
I then did sudo cp <filename> /etc/X11/xorg.conf
I checked and found xorg.conf as a txt file in /etc/X11

I must be doing something icorrect.
Any help appreciated.
Title: Re: Choppy Youtube
Post by: rokytnji on September 14, 2015, 08:39:56 AM
Your black screen is probably because you skipped a step on editing the xorg.conf file I made. Refer to posts
https://www.linuxliteos.com/forums/video-cards/linux-lite-will-not-play-nice-with-via-chipset/msg14916/#msg14916
https://www.linuxliteos.com/forums/video-cards/linux-lite-will-not-play-nice-with-via-chipset/msg14939/#msg14939


This is not a perfect fix. But it is the best one can do for the issue as it stands presently. Unless someone knows something I do not know.  If wanting to get back to Desktop instead of a black screen. Just rename /etc/X11/xorg.conf you downloaded and inserted in your install. It will default back to what you had previously.
Title: Re: Choppy Youtube
Post by: torreydale on September 14, 2015, 08:57:47 AM
If you're able to get back to where you were following rokytnji's suggestions, please create a restore point using Systemback, if you haven't already.  Go to your Menu, and type in systemback.  Open the Systemback app.  Log into Systemback with your password, and create a new restore point.

Then can we see what happens if you install Google Chrome?  You can do that via the Lite Software tool.  Menu, System, Lite Software.
Title: Re: Choppy Youtube
Post by: rokytnji on September 14, 2015, 09:46:17 AM
To add to the above post. Downloading my pastebin file. Downloads it as a .txt on the end of the file name and a bunch of added naming to the front and end of the file. It should only say xorg.conf. not xorg.conf.txt. or all that other cruft I added to the name to remember later on what it is for in my pastebin.
Title: Re: Choppy Youtube
Post by: technomancer on September 14, 2015, 12:16:07 PM
Try seeing if there are different video driver options.  I'm not at my pc, but I think if you go to your menu and type in the word driver, you'll see the app that allows you to choose a different driver if one is available.

Furthermore, I stand by my previous suggestions.  Different browsers treat YouTube videos differently because of how they handle Adobe Flash.  Chromium by default has no flash, and I think Firefox uses a legacy version of flash.

This link might be more than you'd care to review as a newbie, but I'll put it here as a reference for the community at large:  http://www.howtogeek.com/193876/using-firefox-on-linux-your-flash-player-is-old-and-outdated/

I also say install MiniTube as a backup.  It is a desktop client for YouTube videos.  And it doesn't require Flash.  Last I checked, the version in the repository doesn't work on Linux Lite.  You'd have to download the *.deb file from Minitube's website to get the version that does work: http://flavio.tordini.org/minitube.

This worked for me. Just click on the link he provided and install. Minitube doesn't have video artifacts/tearing/skipping, on any of my setups. (Sent a thanks to you torreydale)
I think i will be joining that project, maybe help out since there is no way to log into youtube that i can see. Simple search only, correct me if i'm wrong.
(Lets not forget Adobe Flash is all messed up now in it's current state. My win 7, 8, 10,and debian computers all have different issues with it as well.)
Title: Re: Choppy Youtube
Post by: torreydale on September 14, 2015, 12:38:11 PM
To technomancer,

I think you are correct.  I don't think you log into Minitube.  Furthermore, if someone sends you an email of a YouTube link, when you click on it, by default it will want to open using your default browser.  That is why I suggest having Minitube as a backup.  I really do try to get YouTube to perform well within a browser, in full screen, on at least 720p HD first.  But I keep Minitube as an arrow in the quiver.

Most of the time Firefox is just fine for the computers I've helped people with.  Then for others, Firefox is fine until you want to go full screen.  Then it's choppy.  If changing video graphics drivers doesn't help, I try other browsers like Google Chrome and Chromium using the pepperflash plugin.  If I'm out of luck on that, Minitube is an option. 

For my own laptop, Chromium handles full screen YouTube viewing great.  But for my older desktop, even with the correct NVIDIA driver selected, I find that Google Chrome is the only browser to allow me full screen, jitter free, video viewing.

In the meantime, we can continue to support the projects we use in the hopes that graphics drivers for Linux/Ubuntu will continue to get attention and that HTML5 will free us from choppy YouTube.com video viewing.
Title: Re: Choppy Youtube
Post by: arjaffer on September 15, 2015, 05:25:23 AM
rokytnji
I managed to get xorg.conf into the /etc/X11 directory after pci edits to suit my netbook
However, on rebooting i go a 480x640 screen
Youtube still choppy on all browsers

Any help really appreciated
Title: Re: Choppy Youtube
Post by: arjaffer on September 15, 2015, 05:27:19 AM
technomancer
Could not find an earlier version of .deb on that website
Any suggestions?
Title: Re: Choppy Youtube
Post by: torreydale on September 15, 2015, 08:33:37 AM
You wouldn't need an earlier version of Minitube from the website?  You just download the file from the Debian & Ubuntu section of the home page. 

Based on what you've already shared, you would need to download the 32bit version of Minitube, and then run the file after you download it.

On another note, you seem to be in a quandary of black screens and resolution problems.  If I were with you working on your PC, I would reinstall Linux Lite 2.6.  After installing updates and extra Lite Software programs, I would then create a restore point using Systemback.  Then, I would troubleshoot YouTube and/or install Minitube.
Title: Re: Choppy Youtube
Post by: rokytnji on September 15, 2015, 08:41:17 AM
rokytnji
I managed to get xorg.conf into the /etc/X11 directory after pci edits to suit my netbook
However, on rebooting i go a 480x640 screen
Youtube still choppy on all browsers

Any help really appreciated

If youtube is still choppy in all browsers. Sounds to me like your gear is not strong enough for modern internet standards anymore.  Not your fault or Gnu/Linux fault. Just more cruft on the web to handle.

For a bigger screen. You should be able to run

Code: [Select]
xrandr -s <screen resolution goes here>
Your screen will black out after hitting enter. Then change to the desired resolution. Not sure why you are having so much trouble with my file since I and the guy I helped here had no problems with resolutions at all.

You have so much wrong. I am wondering if you have a corrupted Linux-Lite iso installed to your rig.
Title: Re: Choppy Youtube
Post by: arjaffer on September 15, 2015, 10:53:02 AM
rokytnji
I think you are right
This Samsung NC20 Netbook Specs are perhaps not good enough for modern internet standards.
I will give up i think
Thanks for all your efforts.
Title: Re: Choppy Youtube
Post by: arjaffer on September 15, 2015, 10:56:08 AM
torreydale
I have installed the version from the web
Having lauched minitube, and click on the play button, videos do not play.
So I am fast coming to the conclusion that the Samsung Netbook NC20 will not play youtube satisfactorily
Thanks for all you help.
Title: Re: Choppy Youtube
Post by: rokytnji on September 15, 2015, 12:23:24 PM
http://www.notebookcheck.net/Review-Samsung-NC20-Netbook.15206.0.html (http://www.notebookcheck.net/Review-Samsung-NC20-Netbook.15206.0.html)

After reading that. I take back what I said about not strong enough. Specs sound close to my M&A Companion Atom cpu Netbook that plays Youtube OK. But I have a intel video chip while yours is via.

Quote
When directly comparing the SiSoftware Sandra Dhrystone (Integer calcuations) and the Whetstone (Decimal place calculation) benchmarks, one can say that the VIA Nano CPU is somewhat better than the latest Atom CPU (N280 in the Acer One D150). In this performance test, however, the immense performance plus of the Intel Core 2 Duo SU and SL energy-saving processors, both of which operate at a lower speed, but still have access to great reserves of performance, becomes clear.
However, the calculation of the number pi, with the help of the benchmark SuperPi, allowed the Atom CPU from Intel to take the lead again. The Atom CPU manages to finish the calculation to 32 million decimal places somewhat faster than the VIA CPU.


So I have to ask again. Did you md5sum Linux-Lite iso to check for a corrupted iso download before installing?
Title: Re: Choppy Youtube
Post by: rokytnji on September 15, 2015, 12:29:18 PM
Minitube is iffy at best because youtube changes it's format to block minitube from working.
I am guessing because of the down loader function in minitube.

Flavio has to issue bug fixes because of this. Which some users may not be aware of.
Title: Re: Choppy Youtube
Post by: avj on September 15, 2015, 07:43:34 PM
Before giving up I would try to again connecting directly to the network modem by a ether-net cable and see if that improves the playback. That is assuming you are not already. It could be an issue with the network dropping packets, which then have to be sent again, causing a delay and possibly the choppy video.
Title: Re: Choppy Youtube
Post by: arjaffer on September 16, 2015, 11:16:55 AM
 md5sum Linux-Lite iso

I will try this and post.

I have tried a ethernet cable cable and the problem persists.

I have also tried Chrome OS (chromixium) have found the same problem.
Title: Re: Choppy Youtube
Post by: torreydale on September 16, 2015, 01:43:39 PM
Do you really mean you tried Chrome OS (Chromixium), or did you try installing the Google Chrome browser via Lite Software?
Title: Re: Choppy Youtube
Post by: firenice03 on September 16, 2015, 03:01:02 PM
Do you really mean you tried Chrome OS (Chromixium), or did you try installing the Google Chrome browser via Lite Software?

@arjaffer - just for clarification for torreydale, myself and others...

...
But youtube on Firefox or Chromium is choppy
I have tried to change swapiness but no luck
....
I have also tried Chrome OS (chromixium) have found the same problem.

From my understanding; you've tested on the below???

Title: Re: Choppy Youtube
Post by: technomancer on September 16, 2015, 04:57:57 PM
rokytnji
I think you are right
This Samsung NC20 Netbook Specs are perhaps not good enough for modern internet standards.
I will give up i think
Thanks for all your efforts.

My opinion on this is that your VIA chipset/Video is the issue (or lack of correct/working drivers). If you tried another OS and have the same problem, Maybe Anti-x or Puppy linux would work. Both are small and live cds, if they work then its a config/driver issue. Or try Debian. First try a new clean install of LL 2.6. That is about all I have to offer in help since i don't have a VIA chipset to test on for you.
Title: Re: Choppy Youtube
Post by: technomancer on September 16, 2015, 05:05:02 PM
To technomancer,

I think you are correct.  I don't think you log into Minitube.  Furthermore, if someone sends you an email of a YouTube link, when you click on it, by default it will want to open using your default browser.  That is why I suggest having Minitube as a backup.  I really do try to get YouTube to perform well within a browser, in full screen, on at least 720p HD first.  But I keep Minitube as an arrow in the quiver.

Most of the time Firefox is just fine for the computers I've helped people with.  Then for others, Firefox is fine until you want to go full screen.  Then it's choppy.  If changing video graphics drivers doesn't help, I try other browsers like Google Chrome and Chromium using the pepperflash plugin.  If I'm out of luck on that, Minitube is an option. 

For my own laptop, Chromium handles full screen YouTube viewing great.  But for my older desktop, even with the correct NVIDIA driver selected, I find that Google Chrome is the only browser to allow me full screen, jitter free, video viewing.

In the meantime, we can continue to support the projects we use in the hopes that graphics drivers for Linux/Ubuntu will continue to get attention and that HTML5 will free us from choppy YouTube.com video viewing.

Thanks for the clarification torreydale. I like the Minitube interface, I'm going to support that project.
-I have Flash issues in Firefox but not in Google Chrome, but choppy full screen on every system I own no matter the browser (LL, Debian, Windowz) using intel, nvidia and ati video cards. So across the board issues. The Adobe Flash issues are a hot topic right now all over the web. As you said, supporting HTML5 projects will free us of these current issues.
Title: Re: Choppy Youtube
Post by: avj on September 16, 2015, 06:28:16 PM
My suggestion would be to test your network connection and see if it is consistently running at the same speed. Major inconsistencies in speed between multiple tests is a pretty good indication of a network problem. This is the network speed tester I use, it doesn't require flash.

http://openspeedtest.com/

Run the test, note the speed, and repeat 3 or four times to get an idea of how your network functions.
Title: Re: Choppy Youtube
Post by: arjaffer on September 18, 2015, 04:13:27 PM
yes, I installed Chromixum os and had the same problem

I have just tried Lxle on my netbook and youtube works well with the integrated seamonkey firefox browser

I am going to try this for a few weeks and see how I get on with other apps

Thanks to all to contributed
Title: Re: Choppy Youtube
Post by: torreydale on September 18, 2015, 04:24:38 PM
So you never installed the Google Chrome browser in Linux Lite and tried YouTube from there?
Title: Re: Choppy Youtube
Post by: DLX on September 18, 2015, 07:02:05 PM
I was put off by not able to export bookmarks from Chrome. When I was looking at this problem
Title: Re: Choppy Youtube
Post by: Wirezfree on September 18, 2015, 07:17:14 PM
@Dyslexic1
Export Bookmarks:
https://support.google.com/chrome/answer/96816?hl=en-GB (https://support.google.com/chrome/answer/96816?hl=en-GB)
Title: Re: Choppy Youtube
Post by: arjaffer on September 19, 2015, 06:44:27 AM
Yes, I did try chrome browser on Linux Lite. I have the same choppy youtube problem.