Re: Choppy video on Youtube
On 04/06/2016 08:31 PM, Patrick Bartek wrote: On Wed, 06 Apr 2016, Harris Paltrowitz wrote: Hi all, First, I'm asking for help on this list because I've observed this to be a very august group :) and I'm actually a bit in awe to be in the presence of Debian developers... I've only been using Debian for a few weeks -- I'm not new to Linux or Unix, although I'm still a relative beginner. Here's my problem -- when I stream certain videos on Youtube, I consistently get choppy playback performance, whereby the video freezes and restarts randomly, with the audio getting out of sync from that point forward. The problem is NOT due to the video still being downloaded -- I know this because the progress bar shows that the download is way ahead of my viewing progress. Here are my specs: - Debian Jessie 32-bit (I had installed 8.3 and subsequently ran some updates, but I don't know how to check to see if I'm up to 8.4) - Gnome 3 - Firefox 45.0.1 - Flash is NOT installed - flashplugin-nonfree is NOT installed - neither gnash nor pepper are installed - example of a video that gets choppy: https://www.youtube.com/watch?v=R6Tok9KUjTw (the problem seems to start during the "man on the street" segments) - When the choppiness is happening, System Monitor tells me that one of my four CPUs is maxing out at 100% at least half the time Hardware: - Dell Inspiron 15 3000 Series (Intel(R)) - 3551 - Intel Pentium CPU N3540 @ 2.16GHz x 4 (2M Cache, up to 2.66 GHz) - 4GB Single Channel DDR3L 1600MHz (4GBx1) - Graphics: Intel Bay Trail x86/MMX/SSE2 I would love to receive help from this list... thanks much much in advance! Why did you install the 32-bit version? You have a 64-bit system, right? A few months ago, I installed Jessie 32-bit LXDE desktop in VirtualBox on a 64-bit host (Wheezy 64-bit) to test video streaming from different sources. Videos ran awful like what you describe. I reinstalled, but the 64-bit version. Videos streamed perfectly. Everything else remained the same. I just let the installer do its thing. Why GNOME3? Could be it's the problem. I've never been able to try it on my systems. It won't run. My plain vanilla graphics cards just don't have support for it. I get the "fallback" desktop. Also, GNOME3 has become a bloated resource hog, IMHO. So, first try the 64-bit version with GANOME3, and if that doesn't solve the problem look to a lightweight desktop like LXDE or XFCE, or just a window manager. And, of course, check you've got the latest video driver installed. B Thanks to all of you who helped with this problem -- here are the results of my tests, if you're interested: - I installed the 64-bit Jessie 8.4 with Gnome 3, but I still had the problem. - I then tried LXDE and Xfce, but I experienced the same problem on both. - I've noticed that the problem does not occur using Iceweasel 38 that ships with Jessie -- the problem only occurs in Firefox 45. I also tried unchecking Hardware Acceleration in Firefox, but that did not help. - I decided to go with Cinnamon, as I like it the best (I definitely got in a nice test of the various desktops during this investigation!) and it makes life with my particular trackpad the easiest -- all the other desktops were too quirky regarding natural scrolling. Thanks again! Harris
Re: Choppy video on Youtube
On 04/07/2016 01:12 PM, Felix Miata wrote: If you'd like to continue with Firefox, turning off hardware acceleration might help. This was fixed upstream quite some time ago, but maybe that problem has returned. Edit -> Preferences -> Advanced -> General tab -> Browsing section -> unselect "Use hardware acceleration when available". Unfortunately this didn't help -- the problem is still there in Firefox. What's also interesting is that I observed in System Monitor that, with Chromium, the usage of my four CPUs is evidently much more balanced than with Firefox -- with Chromium, the line graph showing the four lines looks like a bunch of wires tightly wrapped together... whereas with Firefox, the graph looks basically like spaghetti, with the wires very loosely organized. Harris
Re: Choppy video on Youtube
Harris Paltrowitz composed on 2016-04-07 11:05 (UTC-0400): On 04/07/2016 10:25 AM, Sven Arvidsson wrote: If you do have hardware rendering: * What process uses the CPU? Firefox, Xorg or something else? * Does it happen with other browsers, like Chromium too? Very interesting -- the problem does NOT occur on Chromium! I have the latest Chromium ( Version 49.0.2623.108 Built on 8.3, running on Debian 8.4) and all videos I tried run perfectly... I also notice that the browser performance overall is snappier than Firefox, so it looks like I'll stick with Chromium -- although as another poster suggested that moving from the 32 bit version of Jessie to 64 could make my video performance better (as well as a possible switch from Gnome 3 to LXDE or Xfce) I may decide to make these changes as well. If you'd like to continue with Firefox, turning off hardware acceleration might help. This was fixed upstream quite some time ago, but maybe that problem has returned. Edit -> Preferences -> Advanced -> General tab -> Browsing section -> unselect "Use hardware acceleration when available". -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: Choppy video on Youtube
On Thursday 07 April 2016 16:05:51 Harris Paltrowitz wrote: > I didn't address your other questions, Sven, because this seems pretty > conclusive I shall note for my own use and retire! Glad you have got there. Lisi
Re: Choppy video on Youtube
On 04/07/2016 10:25 AM, Sven Arvidsson wrote: If you do have hardware rendering: * What process uses the CPU? Firefox, Xorg or something else? * Does it happen with other browsers, like Chromium too? Very interesting -- the problem does NOT occur on Chromium! I have the latest Chromium ( Version 49.0.2623.108 Built on 8.3, running on Debian 8.4) and all videos I tried run perfectly... I also notice that the browser performance overall is snappier than Firefox, so it looks like I'll stick with Chromium -- although as another poster suggested that moving from the 32 bit version of Jessie to 64 could make my video performance better (as well as a possible switch from Gnome 3 to LXDE or Xfce) I may decide to make these changes as well. I didn't address your other questions, Sven, because this seems pretty conclusive -- but let me know if you're still curious about those things. Thanks! Harris
Re: Choppy video on Youtube
On Wed, 2016-04-06 at 12:45 -0400, Harris Paltrowitz wrote: > Here's my problem -- when I stream certain videos on Youtube, I > consistently get choppy playback performance, whereby the video > freezes > and restarts randomly, with the audio getting out of sync from that > point forward. The problem is NOT due to the video still being > downloaded -- I know this because the progress bar shows that the > download is way ahead of my viewing progress. [...] > - When the choppiness is happening, System Monitor tells me that one > of > my four CPUs is maxing out at 100% at least half the time Output of glxinfo (from mesa-utils) would be interesting. If you have software GL, it would explain this. If you do have hardware rendering: * What process uses the CPU? Firefox, Xorg or something else? * Does it happen with other browsers, like Chromium too? * Does it happen if you download the video (youtube-dl or similar) and play it with a normal video player? -- Cheers, Sven Arvidsson http://www.whiz.se PGP Key ID 6FAB5CD5 signature.asc Description: This is a digitally signed message part
Re: Choppy video on Youtube
On Thursday 07 April 2016 14:14:15 Harris Paltrowitz wrote: > On 04/07/2016 09:04 AM, Lisi Reisz wrote: > > On Thursday 07 April 2016 13:12:45 Harris Paltrowitz wrote: > >> Intel Corporation Atom > >> Processor Z36xxx/Z37xxx Series Graphics > > > > What kernel have you got? > > > > $ uname -v > > My output from that command is: > > #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) > > > I have found this > > https://wiki.debian.org/InstallingDebianOn/Lenovo/s20-30 > > which seems to have same graphics, and "which kernel" seems to be the > > place to start. > > > > Sorry if you have already said. > > > > Lisi > > Thank you Lisi, but what exactly should I do with the info on this page? > :-) > > Harris Now I have the info I'll try to see if I can help - I got that far and thought: If it is something as simple as too old a kernel we're home and dry. You may get the full answer from someone else faster than you will from me - I am chasing my vendor for enough details about which version of my motherboard I have to enable me to flash it. But I _will_ look into it. I'll also try to tell you what I did!! Here's why I started by asking about your kernel: "This (the problem with the display) was resolved by upgrading to kernel 3.16." You have kernel 3.16, so that is no help. Lisi
Re: Choppy video on Youtube
On 04/07/2016 09:04 AM, Lisi Reisz wrote: On Thursday 07 April 2016 13:12:45 Harris Paltrowitz wrote: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics What kernel have you got? $ uname -v My output from that command is: #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) I have found this https://wiki.debian.org/InstallingDebianOn/Lenovo/s20-30 which seems to have same graphics, and "which kernel" seems to be the place to start. Sorry if you have already said. Lisi Thank you Lisi, but what exactly should I do with the info on this page? :-) Harris
Re: Choppy video on Youtube
On Thursday 07 April 2016 13:12:45 Harris Paltrowitz wrote: > Intel Corporation Atom > Processor Z36xxx/Z37xxx Series Graphics What kernel have you got? $ uname -v I have found this https://wiki.debian.org/InstallingDebianOn/Lenovo/s20-30 which seems to have same graphics, and "which kernel" seems to be the place to start. Sorry if you have already said. Lisi
Re: Choppy video on Youtube
On 04/06/2016 08:31 PM, Patrick Bartek wrote: Why did you install the 32-bit version? You have a 64-bit system, right? Well from what I had read, I saw my RAM as borderline (4gb) and I read something stating that with a low-end CPU, things should run faster with the 32-bit version. A few months ago, I installed Jessie 32-bit LXDE desktop in VirtualBox on a 64-bit host (Wheezy 64-bit) to test video streaming from different sources. Videos ran awful like what you describe. I reinstalled, but the 64-bit version. Videos streamed perfectly. Everything else remained the same. I just let the installer do its thing. I may very well try this! I don't mind doing a full reinstall, so this may be my next step. Why GNOME3? Could be it's the problem. I've never been able to try it on my systems. It won't run. My plain vanilla graphics cards just don't have support for it. I get the "fallback" desktop. Also, GNOME3 has become a bloated resource hog, IMHO. So, first try the 64-bit version with GANOME3, and if that doesn't solve the problem look to a lightweight desktop like LXDE or XFCE, or just a window manager. And, of course, check you've got the latest video driver installed. B The reason why I went with Gnome3 is that I thought I may pursue Android app development, and the Google Android system requirements page states that Gnome3 is required... I didn't have a preference anyway, so I just went with it. Sure it's a disorienting way of working with your system (I still keep looking for the clock in the upper right-hand corner!) but as I'm not sure about app development anyway, I don't mind going with LXDE or Xfce. I don't know how to determine whether I've got the "latest video driver"... I just replied to two other posts in this thread, listing the output of commands I ran -- perhaps that can show us this info? Thanks for your help. Harris
Re: Choppy video on Youtube
On 04/06/2016 03:11 PM, Felix Miata wrote: I don't see Bay Trail on https://en.wikipedia.org/wiki/List_of_Intel_chipsets which likely means your laptop's construction design predates Jessie's original release a year ago. Maybe Stretch has support for it? I unfortunately don't know how to determine this... Maybe switching between modesetting and intel X driver is what you need, depending on which is in use now. /var/log/Xorg.0.log will say which video driver is in use. If it's not intel or modesetting, X is running on an inferior fallback driver. That log file is huge, but the relevant section appears to be: [22.881] (II) Module ABI versions: [22.881] X.Org ANSI C Emulation: 0.4 [22.881] X.Org Video Driver: 18.0 [22.881] X.Org XInput driver : 21.0 [22.881] X.Org Server Extension : 8.0 [22.883] (II) xfree86: Adding drm device (/dev/dri/card0) [22.887] (--) PCI:*(0:0:2:0) 8086:0f31:1028:06ab rev 14, Mem @ 0xd000/4194304, 0xc000/268435456, I/O @ 0xf080/8 [22.902] (II) LoadModule: "glx" [22.905] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [23.383] (II) Module glx: vendor="X.Org Foundation" [23.383] compiled for 1.16.4, module version = 1.0.0 [23.383] ABI class: X.Org Server Extension, version 8.0 [23.383] (==) AIGLX enabled [23.383] (==) Matched intel as autoconfigured driver 0 [23.383] (==) Matched intel as autoconfigured driver 1 [23.384] (==) Matched modesetting as autoconfigured driver 2 [23.384] (==) Matched fbdev as autoconfigured driver 3 [23.384] (==) Matched vesa as autoconfigured driver 4 [23.384] (==) Assigned the driver to the xf86ConfigLayout [23.384] (II) LoadModule: "intel" [23.409] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [23.464] (II) Module intel: vendor="X.Org Foundation" [23.465] compiled for 1.15.99.904, module version = 2.21.15 [23.465] Module class: X.Org Video Driver [23.465] ABI class: X.Org Video Driver, version 18.0 [23.465] (II) LoadModule: "modesetting" [23.467] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [23.496] (II) Module modesetting: vendor="X.Org Foundation" [23.496] compiled for 1.16.4, module version = 0.9.0 [23.496] Module class: X.Org Video Driver [23.497] ABI class: X.Org Video Driver, version 18.0 [23.497] (II) LoadModule: "fbdev" [23.498] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [23.502] (II) Module fbdev: vendor="X.Org Foundation" [23.503] compiled for 1.15.99.904, module version = 0.4.4 [23.503] Module class: X.Org Video Driver [23.503] ABI class: X.Org Video Driver, version 18.0 [23.503] (II) LoadModule: "vesa" [23.505] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [23.521] (II) Module vesa: vendor="X.Org Foundation" [23.521] compiled for 1.15.99.904, module version = 2.3.3 [23.521] Module class: X.Org Video Driver [23.521] ABI class: X.Org Video Driver, version 18.0 [23.521] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics, HD Graphics 2000, HD Graphics 3000, HD Graphics 2500, HD Graphics 4000, HD Graphics P4000, HD Graphics 4600, HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100, HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200 [23.530] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [23.530] (II) FBDEV: driver for framebuffer: fbdev [23.530] (II) VESA: driver for VESA chipsets: vesa [23.530] (++) using VT number 7 [23.567] (WW) Falling back to old probe method for modesetting [23.567] (WW) Falling back to old probe method for fbdev [23.568] (II) Loading sub module "fbdevhw" [23.568] (II) LoadModule: "fbdevhw" [23.568] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [23.583] (II) Module fbdevhw: vendor="X.Org Foundation" [23.583] compiled for 1.16.4, module version = 0.0.2 [23.584] ABI class: X.Org Video Driver, version 18.0 [23.584] (WW) Falling back to old probe method for vesa [23.585] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [23.585] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [23.585] (==) intel(0): RGB weight 888 [23.585] (==) intel(0): Default visual is TrueColor [23.585] (--) intel(0): gen7 engineering sample [23.586] (**) intel(0): Relaxed fencing enabled [23.586] (**) intel(0): Wait on SwapBuffers? enabled [23.586] (**) intel(0): Triple buffering? enabled [23.586] (**) intel(0): Framebuffer tiled [
Re: Choppy video on Youtube
On 04/06/2016 02:16 PM, Ric Moore wrote: On 04/06/2016 12:45 PM, Harris Paltrowitz wrote: - Graphics: Intel Bay Trail x86/MMX/SSE2 I would love to receive help from this list... thanks much much in advance! Do you have your Intel video driver installed?? Video played back here just fine using HTML5. Ric Okay, it looks like I was able to figure out how to detect my video driver, using the following command: lspci -nnk | grep -i vga -A3 my output is: 00:02.0 VGA compatible controller [0300]: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display [8086:0f31] (rev 0e) Subsystem: Dell Device [1028:06ab] Kernel driver in use: i915 00:13.0 SATA controller [0106]: Intel Corporation Device [8086:0f23] (rev 0e) I hope this helps... thanks in advance gang!
Re: Choppy video on Youtube
On Wed, 06 Apr 2016, Harris Paltrowitz wrote: > Hi all, > > First, I'm asking for help on this list because I've observed this to > be a very august group :) and I'm actually a bit in awe to be in the > presence of Debian developers... I've only been using Debian for a > few weeks -- I'm not new to Linux or Unix, although I'm still a > relative beginner. > > Here's my problem -- when I stream certain videos on Youtube, I > consistently get choppy playback performance, whereby the video > freezes and restarts randomly, with the audio getting out of sync > from that point forward. The problem is NOT due to the video still > being downloaded -- I know this because the progress bar shows that > the download is way ahead of my viewing progress. > > Here are my specs: > > - Debian Jessie 32-bit (I had installed 8.3 and subsequently ran some > updates, but I don't know how to check to see if I'm up to 8.4) > - Gnome 3 > - Firefox 45.0.1 > - Flash is NOT installed > - flashplugin-nonfree is NOT installed > - neither gnash nor pepper are installed > - example of a video that gets choppy: > https://www.youtube.com/watch?v=R6Tok9KUjTw (the problem seems to > start during the "man on the street" segments) > - When the choppiness is happening, System Monitor tells me that one > of my four CPUs is maxing out at 100% at least half the time > > Hardware: > - Dell Inspiron 15 3000 Series (Intel(R)) - 3551 > - Intel Pentium CPU N3540 @ 2.16GHz x 4 (2M Cache, up to 2.66 GHz) > - 4GB Single Channel DDR3L 1600MHz (4GBx1) > - Graphics: Intel Bay Trail x86/MMX/SSE2 > > I would love to receive help from this list... thanks much much in > advance! Why did you install the 32-bit version? You have a 64-bit system, right? A few months ago, I installed Jessie 32-bit LXDE desktop in VirtualBox on a 64-bit host (Wheezy 64-bit) to test video streaming from different sources. Videos ran awful like what you describe. I reinstalled, but the 64-bit version. Videos streamed perfectly. Everything else remained the same. I just let the installer do its thing. Why GNOME3? Could be it's the problem. I've never been able to try it on my systems. It won't run. My plain vanilla graphics cards just don't have support for it. I get the "fallback" desktop. Also, GNOME3 has become a bloated resource hog, IMHO. So, first try the 64-bit version with GANOME3, and if that doesn't solve the problem look to a lightweight desktop like LXDE or XFCE, or just a window manager. And, of course, check you've got the latest video driver installed. B
Re: Choppy video on Youtube
Harris Paltrowitz composed on 2016-04-06 12:45 (UTC-0400): First, I'm asking for help on this list because I've observed this to be a very august group :) and I'm actually a bit in awe to be in the presence of Debian developers... I've only been using Debian for a few weeks -- I'm not new to Linux or Unix, although I'm still a relative beginner. Here's my problem -- when I stream certain videos on Youtube, I consistently get choppy playback performance, whereby the video freezes and restarts randomly, with the audio getting out of sync from that point forward. The problem is NOT due to the video still being downloaded -- I know this because the progress bar shows that the download is way ahead of my viewing progress. Here are my specs: - Debian Jessie 32-bit (I had installed 8.3 and subsequently ran some updates, but I don't know how to check to see if I'm up to 8.4) - Gnome 3 - Firefox 45.0.1 - Flash is NOT installed - flashplugin-nonfree is NOT installed - neither gnash nor pepper are installed - example of a video that gets choppy: https://www.youtube.com/watch?v=R6Tok9KUjTw (the problem seems to start during the "man on the street" segments) - When the choppiness is happening, System Monitor tells me that one of my four CPUs is maxing out at 100% at least half the time Hardware: - Dell Inspiron 15 3000 Series (Intel(R)) - 3551 - Intel Pentium CPU N3540 @ 2.16GHz x 4 (2M Cache, up to 2.66 GHz) - 4GB Single Channel DDR3L 1600MHz (4GBx1) - Graphics: Intel Bay Trail x86/MMX/SSE2 I would love to receive help from this list... thanks much much in advance! I don't see Bay Trail on https://en.wikipedia.org/wiki/List_of_Intel_chipsets which likely means your laptop's construction design predates Jessie's original release a year ago. Maybe Stretch has support for it? Maybe switching between modesetting and intel X driver is what you need, depending on which is in use now. /var/log/Xorg.0.log will say which video driver is in use. If it's not intel or modesetting, X is running on an inferior fallback driver. https://www.reddit.com/r/archlinux/comments/4cojj9/it_is_probably_time_to_ditch_xf86videointel/ could provide some insight on driver selection, but you still may need Xorg or video driver or both from unstable. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: Choppy video on Youtube
On Apr 6, 2016, at 2:16 PM, Ric Moore wrote: On 04/06/2016 12:45 PM, Harris Paltrowitz wrote: > - Graphics: Intel Bay Trail x86/MMX/SSE2 > > I would love to receive help from this list... thanks much much in advance! Do you have your Intel video driver installed?? Ric -- Hey Ric, can you tell me how to check this? thanks
Re: Choppy video on Youtube
On 04/06/2016 12:45 PM, Harris Paltrowitz wrote: - Graphics: Intel Bay Trail x86/MMX/SSE2 I would love to receive help from this list... thanks much much in advance! Do you have your Intel video driver installed?? Video played back here just fine using HTML5. Ric -- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. http://linuxcounter.net/user/44256.html
Choppy video on Youtube
Hi all, First, I'm asking for help on this list because I've observed this to be a very august group :) and I'm actually a bit in awe to be in the presence of Debian developers... I've only been using Debian for a few weeks -- I'm not new to Linux or Unix, although I'm still a relative beginner. Here's my problem -- when I stream certain videos on Youtube, I consistently get choppy playback performance, whereby the video freezes and restarts randomly, with the audio getting out of sync from that point forward. The problem is NOT due to the video still being downloaded -- I know this because the progress bar shows that the download is way ahead of my viewing progress. Here are my specs: - Debian Jessie 32-bit (I had installed 8.3 and subsequently ran some updates, but I don't know how to check to see if I'm up to 8.4) - Gnome 3 - Firefox 45.0.1 - Flash is NOT installed - flashplugin-nonfree is NOT installed - neither gnash nor pepper are installed - example of a video that gets choppy: https://www.youtube.com/watch?v=R6Tok9KUjTw (the problem seems to start during the "man on the street" segments) - When the choppiness is happening, System Monitor tells me that one of my four CPUs is maxing out at 100% at least half the time Hardware: - Dell Inspiron 15 3000 Series (Intel(R)) - 3551 - Intel Pentium CPU N3540 @ 2.16GHz x 4 (2M Cache, up to 2.66 GHz) - 4GB Single Channel DDR3L 1600MHz (4GBx1) - Graphics: Intel Bay Trail x86/MMX/SSE2 I would love to receive help from this list... thanks much much in advance! -Harris