Peppermint OS

Support => Software & Applications => Topic started by: giftsonpm on October 23, 2019, 12:38:14 am

Title: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 23, 2019, 12:38:14 am
Hello,

I recently installed Peppermint 10 on my Asus E200HA (Intel Atom processor), as it was painfully slow with Windows 10.
So far, I dont have any issues with the performance, however, I'm unable to play videos from any of the streaming sites.
I tried multiple browsers (Chrome/Firefox/Chomium/Opera, etc.), but the issue is not resolved yet.

Here's my experience with video playback:
Upon pressing play button, there is a brief pause, and then the video plays as if it's a slideshow, moving 4 seconds at a time.

I've tried every possible solution from all the forums available over internet, but none had fixed the issue.
I was able to make youtube videos work on the same device with Linux Mint & Sugar On A Stick OS, however none of those tricks are working in Peppermint.

Appreciate if someone could point me in the right direction towards the fix.

Thank you!
 
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: The Omen on October 23, 2019, 09:11:41 am
Could you copy and paste the code below so that we can see your system specs so we might better help you out with this issue?

If this link is accurate as to what i think you have, It may just be describing the problems you are having.

https://www.trustedreviews.com/reviews/asus-e200ha-performance-battery-and-verdict-page-2

Just go ahead and copy and paste this code to your terminal and post it back here to remove all doubt so we might be able to help.

 
Code: [Select]
inxi -Fxz
Regards,

The Omen
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on October 23, 2019, 09:17:28 am
Please open a terminal (Ctrl+T) and run the code The Omen just gave you .. then post the output back here.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 23, 2019, 02:38:22 pm
Thanks The Omen & PCNetSpec for your response.

Here's the requested details:
System:    Host: Asus-E200HA Kernel: 5.0.0-31-generic x86_64 bits: 64 gcc: 7.4.0
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: ASUSTeK product: E200HA v: 1.0 serial: N/A
           Mobo: ASUSTeK model: E200HA v: 1.0 serial: N/A
           UEFI: American Megatrends v: E200HA.303 date: 12/21/2016
Battery    BATC: charge: 13.5 Wh 81.1% condition: 16.6/19.0 Wh (88%)
           model: Intel SR 1 SR Real status: Discharging
CPU:       Quad core Intel Atom x5-Z8350 (-MCP-)
           arch: Airmont rev.4 cache: 1024 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 11520
           clock speeds: max: 1920 MHz 1: 526 MHz 2: 523 MHz 3: 554 MHz 4: 757 MHz
Graphics:  Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.20.4 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.06hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail)
           version: 4.5 Mesa 19.0.8 Direct Render: Yes
Audio:     Card Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
           Sound: Advanced Linux Sound Architecture v: k5.0.0-31-generic
Network:   Card: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 01:00.0
           IF: wlp1s0 state: up mac: <filter>
Drives:    HDD Total Size: NA (-)
           ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
           ID-2: /dev/mmcblk1 model: N/A size: 31.9GB
Partition: ID-1: / size: 29G used: 7.4G (28%) fs: ext4 dev: /dev/mmcblk0p2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 6280.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 213 Uptime: 5 min Memory: 505.4/3836.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.4.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56

On an additional note, the problem appears to be limited to browsers only.
I was able to stream a youtube video using VLC Network Stream (minus the audio - which is a separate issue).

Thanks again for your help!
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: The Omen on October 23, 2019, 05:15:25 pm
If it seems to be just a browser issue, I use 2 different browsers that do not seem to be a problem.

The first one is Brave Browser using the "startpage" search engine.

Terminal Install instructions for Brave Browser: 64 bit only:

 
Code: [Select]
sudo apt install curl
 
Code: [Select]
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key add -
 
Code: [Select]
UBUNTU_CODENAME=$( (grep DISTRIB_CODENAME /etc/upstream-release/lsb-release || grep DISTRIB_CODENAME /etc/lsb-release) 2>/dev/null | cut -d'=' -f2 )
 
Code: [Select]
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-bionic.list
Code: [Select]
sudo apt update
 
Code: [Select]
sudo apt install brave-browser brave-keyring

The second is "Slimjet" Browser using "duck duck go" search engine.

Scroll down until you see "Show All Platforms" and click on it and use the "Ubuntu & Debian" editions marked as ".deb" for use with Peppermint:

https://www.slimjet.com/en/dlpage.php

Hope this is of some small help and hoping it works for you.

Regards,

The Omen
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on October 24, 2019, 04:57:01 am
Have you tried disabling/enabling hardware acceleration in your web browser ?

For Firefox, see "option 2" here
https://support.mozilla.org/en-US/kb/hardware-acceleration-and-windowblinds-crash



Note to self:- If this doesn't work, maybe there's a way we can force the intel graphics driver instead of modesetting
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 24, 2019, 10:34:58 pm
If it seems to be just a browser issue, I use 2 different browsers that do not seem to be a problem.

The first one is Brave Browser using the "startpage" search engine.

Terminal Install instructions for Brave Browser: 64 bit only:

 
Code: [Select]
sudo apt install curl
 
Code: [Select]
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key add -
 
Code: [Select]
UBUNTU_CODENAME=$( (grep DISTRIB_CODENAME /etc/upstream-release/lsb-release || grep DISTRIB_CODENAME /etc/lsb-release) 2>/dev/null | cut -d'=' -f2 )
 
Code: [Select]
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-bionic.list
Code: [Select]
sudo apt update
 
Code: [Select]
sudo apt install brave-browser brave-keyring

The second is "Slimjet" Browser using "duck duck go" search engine.

Scroll down until you see "Show All Platforms" and click on it and use the "Ubuntu & Debian" editions marked as ".deb" for use with Peppermint:

https://www.slimjet.com/en/dlpage.php

Hope this is of some small help and hoping it works for you.

Regards,

The Omen

Thanks The Omen!
I tried both browsers, but the issue still exists.

Appreciate your help with this.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 24, 2019, 10:37:57 pm
Have you tried disabling/enabling hardware acceleration in your web browser ?

For Firefox, see "option 2" here
https://support.mozilla.org/en-US/kb/hardware-acceleration-and-windowblinds-crash



Note to self:- If this doesn't work, maybe there's a way we can force the intel graphics driver instead of modesetting


Thanks Mark!
I tried the above, but the issue still exists.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on October 26, 2019, 09:07:52 am
Okay let's try a little experiment

BUT FIRST MAKE SURE YOU HAVE A LIVEUSB HANDY IN CASE YOUR SYSTEM DOESN'T BOOT AND YOU NEED TO REMOVE THE FILE WE'RE ABOUT TO CREATE.

Okay open a terminal and run:
Code: [Select]
gksudo /usr/share/X11/xorg.conf.d/20-intel.confwhen a BLANK file opens, make it read:-
Code: [Select]
Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
EndSection
SAVE the file and exit the text editor.

REBOOT to test .. if the machine does boot, please post the output from:
Code: [Select]
inxi -Fzagain.

and let us know if video improved.



If the machine refuses to boot to a graphical desktop, either

a) Drop to a console from the login screen (Ctrl+Alt+F3), log in in text mode, then run:
Code: [Select]
sudo rm /usr/share/X11/xorg.conf.d/20-intel.confthen
Code: [Select]
sudo reboot
or

b) Use the LiveUSB to delete the
/usr/share/X11/xorg.conf.d/20-intel.conf
file .. then reboot.



This link is here for my future reference
https://discourse.ubuntu.com/t/enable-dri3-by-default-in-18-04/1253/8
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 31, 2019, 12:55:48 am
Okay let's try a little experiment

BUT FIRST MAKE SURE YOU HAVE A LIVEUSB HANDY IN CASE YOUR SYSTEM DOESN'T BOOT AND YOU NEED TO REMOVE THE FILE WE'RE ABOUT TO CREATE.

Okay open a terminal and run:
Code: [Select]
gksudo /usr/share/X11/xorg.conf.d/20-intel.confwhen a BLANK file opens, make it read:-
Code: [Select]
Section "Device"
    Identifier "Intel Graphics"
    Driver "intel"
EndSection
SAVE the file and exit the text editor.

REBOOT to test .. if the machine does boot, please post the output from:
Code: [Select]
inxi -Fzagain.

and let us know if video improved.



If the machine refuses to boot to a graphical desktop, either

a) Drop to a console from the login screen (Ctrl+Alt+F3), log in in text mode, then run:
Code: [Select]
sudo rm /usr/share/X11/xorg.conf.d/20-intel.confthen
Code: [Select]
sudo reboot
or

b) Use the LiveUSB to delete the
/usr/share/X11/xorg.conf.d/20-intel.conf
file .. then reboot.



This link is here for my future reference
https://discourse.ubuntu.com/t/enable-dri3-by-default-in-18-04/1253/8

Thanks Mark!
I tried the above, but unfortunately there is no improvement yet.

Here is the output from inxi:
System:    Host: E200HA Kernel: 5.0.0-32-generic x86_64 bits: 64
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: laptop System: ASUSTeK product: E200HA v: 1.0 serial: N/A
           Mobo: ASUSTeK model: E200HA v: 1.0 serial: N/A
           UEFI: American Megatrends v: E200HA.303 date: 12/21/2016
Battery    BATC: charge: 15.6 Wh 94.6% condition: 16.5/19.0 Wh (87%)
CPU:       Quad core Intel Atom x5-Z8350 (-MCP-) cache: 1024 KB
           clock speeds: max: 1920 MHz 1: 1024 MHz 2: 1269 MHz 3: 556 MHz
           4: 546 MHz
Graphics:  Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers
           Display Server: x11 (X.Org 1.20.4 ) driver: intel
           Resolution: 1366x768@60.06hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail)
           version: 4.5 Mesa 19.0.8
Audio:     Card Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
           Sound: Advanced Linux Sound Architecture v: k5.0.0-32-generic
Network:   Card: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
           driver: ath10k_pci
           IF: wlp1s0 state: up mac: <filter>
Drives:    HDD Total Size: NA (-)
           ID-1: /dev/mmcblk0 model: N/A size: 31.3GB
           ID-2: /dev/mmcblk1 model: N/A size: 31.9GB
Partition: ID-1: / size: 29G used: 7.8G (29%) fs: ext4 dev: /dev/mmcblk0p2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 6280.0C mobo: N/A
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 215 Uptime: 0 min Memory: 501.2/3836.7MB
           Client: Shell (bash) inxi: 2.3.56

Thanks again for your help!
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: Slim.Fatz on October 31, 2019, 01:08:51 am
Hi giftsonpm,

When asked for a password you must then type in your user (=administrator) password. Note that you will not be shown output as you type in the password! Nevertheless it is being entered. Only after correctly entering the password will the text editor start.  ;)

Regards,

-- Slim
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 31, 2019, 09:42:50 am
Hi giftsonpm,

When asked for a password you must then type in your user (=administrator) password. Note that you will not be shown output as you type in the password! Nevertheless it is being entered. Only after correctly entering the password will the text editor start.  ;)

Regards,

-- Slim

Hi Slim,

Thanks for your response.
The problem was not with the password, but likely something to do with the default editor.
I was able to update the file using sudo nano, instead of gksudo.
However, the issue still remains even after the edit.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on October 31, 2019, 05:37:04 pm
Are you up for trying a different version of Peppermint that has some tweaks specifically for cherrytrail CPU's ?
(may also sort out your audio)

If so, try this one
https://peppermintos.info/pm9r-testing/Peppermint-9-20190102-32bit-efi-amd64.iso
MD5: a1b0731db64976b62c23f299efcbb5cb
SHA256: 9f17afefe2ef5d1bd98d53ad0682f1f1b1edb3a3d12b8b77faeb18db3e844cb8

I know it's Peppermint 9, but if it performs well we can upgrade it to Peppermint 10 following this tutorial
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on October 31, 2019, 09:43:38 pm
Are you up for trying a different version of Peppermint that has some tweaks specifically for cherrytrail CPU's ?
(may also sort out your audio)

If so, try this one
https://peppermintos.info/pm9r-testing/Peppermint-9-20190102-32bit-efi-amd64.iso
MD5: a1b0731db64976b62c23f299efcbb5cb
SHA256: 9f17afefe2ef5d1bd98d53ad0682f1f1b1edb3a3d12b8b77faeb18db3e844cb8

I know it's Peppermint 9, but if it performs well we can upgrade it to Peppermint 10 following this tutorial
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655

Thanks Mark!
I did write this iso as a bootable stick, but for some reason, it is not recognized during boot.
I had the same issue with Peppermint 10 installation, and had to disable Secure Boot.
However, the changes doesn't seem to have any effect with this image.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: rayzer on November 02, 2019, 12:36:05 am
try the h264ify browser addon for firefox, may or may not help. id also try adding ublock origin to stop hidden stuff from loading on the sites youre trying to stream from. 
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 05, 2019, 09:22:41 pm
try the h264ify browser addon for firefox, may or may not help. id also try adding ublock origin to stop hidden stuff from loading on the sites youre trying to stream from.

Thanks Rayzer!
Unfortunately, this dint help either.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 05, 2019, 09:23:22 pm
Are you up for trying a different version of Peppermint that has some tweaks specifically for cherrytrail CPU's ?
(may also sort out your audio)

If so, try this one
https://peppermintos.info/pm9r-testing/Peppermint-9-20190102-32bit-efi-amd64.iso
MD5: a1b0731db64976b62c23f299efcbb5cb
SHA256: 9f17afefe2ef5d1bd98d53ad0682f1f1b1edb3a3d12b8b77faeb18db3e844cb8

I know it's Peppermint 9, but if it performs well we can upgrade it to Peppermint 10 following this tutorial
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655

Thanks Mark!
I did write this iso as a bootable stick, but for some reason, it is not recognized during boot.
I had the same issue with Peppermint 10 installation, and had to disable Secure Boot.
However, the changes doesn't seem to have any effect with this image.

Mark,

Do you have any other suggestions?

Thanks!
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on November 06, 2019, 06:54:40 am
Which version of Mint worked ?
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 06, 2019, 12:59:10 pm
Which version of Mint worked ?

I believe it was Cinnamon.
The current issue I have is bootable USB is not even detected during boot.
I tried images of Peppermint 9 that you provided, in addition to Linux Lite (regular & UEFI), but none are detected.

Thanks!
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on November 06, 2019, 01:04:38 pm
No I mean which version (not the DE) .. eg. Mint 18.3
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 20, 2019, 07:59:44 pm
No I mean which version (not the DE) .. eg. Mint 18.3

Hi Mark,

Apologies for the late response.
The Mint version I used is 18.3

Thank you!
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on November 20, 2019, 08:06:23 pm
Mint 18.3 was based on 16.04.3 .. and according to this
https://www.linuxmint.com/rel_sylvia_cinnamon_whatsnew.php
shippped with the 4.10 kernel series.

Maybe you should try Peppermint 9 which has the 4.15 kernel series (as opposed to Pep10's 5.0 kernel series).

If Pep9 works, you can manually upgrade it to Pep10 (but keep the 4.15 kernel) by following these instructions:
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655

Might be worth just trying it on a LiveUSB first though.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 20, 2019, 09:12:32 pm
Mint 18.3 was based on 16.04.3 .. and according to this
https://www.linuxmint.com/rel_sylvia_cinnamon_whatsnew.php
shippped with the 4.10 kernel series.

Maybe you should try Peppermint 9 which has the 4.15 kernel series (as opposed to Pep10's 5.0 kernel series).

If Pep9 works, you can manually upgrade it to Pep10 (but keep the 4.15 kernel) by following these instructions:
https://forum.peppermintos.com/index.php/topic,8442.msg86655.html#msg86655

Might be worth just trying it on a LiveUSB first though.

Thanks Mark!
Unfortunately, as mentioned in my earlier post, bootable stick is not being recognized.
I tried with Peppermint 9 regular version as well as UEFI, but it's not recognized during boot.

In windows, I was able to do this through UEFI restart. Not sure how to enable that option in Peppermint.

Thanks again for your continued help with this.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: alynur on November 21, 2019, 11:58:48 am
hello giftsonpm, are you using Peppermint's usb image writer to make your bootable usb sticks?
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on November 21, 2019, 01:43:45 pm
As Alynur is suggesting .. if you already have Pep10 installed

a) In Peppermint 10 use USB Stick Formatter - to format the USB stick.

then

b) In Peppermint 10 use USB Image Writer - to write the ISO image to the USB stick.

both USB Stick Formatter and USB Image Writer are in the main menu of Peppermint 10 (under the System category).
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 21, 2019, 03:00:09 pm
hello giftsonpm, are you using Peppermint's usb image writer to make your bootable usb sticks?

Thanks Anylur for the response.
I tried both Etcher and Rufus. Will try peppermint usb writer and see if it works.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: giftsonpm on November 21, 2019, 03:00:47 pm
As Alynur is suggesting .. if you already have Pep10 installed

a) In Peppermint 10 use USB Stick Formatter - to format the USB stick.

then

b) In Peppermint 10 use USB Image Writer - to write the ISO image to the USB stick.

both USB Stick Formatter and USB Image Writer are in the main menu of Peppermint 10 (under the System category).

Thanks Mark!
Will try it and update.
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: PCNetSpec on November 21, 2019, 05:45:29 pm
Personally I've never had those two apps fail to make a working LiveUSB .. hopefully you'll have the same experience :)
(he says, hoping he's now not jinxed the whole thing)
Title: Re: Choppy Video playback on Youtube/Daily Motion or any streaming sites
Post by: Dyl on November 26, 2019, 12:07:59 am
was just about to post this. yes ive also had issues with pep 10 stuttering sometimes but h264ify helped.