Author Topic: Graphics not rendering fast and videos unplayable  (Read 602 times)

Offline OneOfTheJediChildren

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Graphics not rendering fast and videos unplayable
« on: January 12, 2020, 10:46:55 pm »
Hello everyone!

I got an Asus Mini Transformer from work. It came with Windows 10 and was simply too slow for me to do anything worthwhile (browsing was a pain too).

So I downloaded Peppermint and it is a joy to work with now (All I have done is install Peppermint from a USB and update the system. The problem existed both before and after the update).

A minor/major issue is, however, that I have yet to figure out why videos are unplayable and websites seem choppy when I scroll fast.

I suspect that it is a graphics card issue because websites act up too and not just youtube or netflix.

I see others with similar issues being asked to post some text from the terminal, so I'll post it beforehand.

Code: [Select]
System:    Host: n-T103HAF Kernel: 5.0.0-37-generic x86_64 bits: 64 gcc: 7.4.0
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: un-determined System: ASUSTeK product: T103HAF v: 1.0 serial: N/A
           Mobo: ASUSTeK model: T103HAF v: 1.0 serial: N/A
           UEFI: American Megatrends v: T103HAF.307 date: 01/17/2018
Battery    BATC: charge: 4.2 Wh 14.1% condition: 29.5/31.6 Wh (93%)
           model: Intel SR 1 SR Real status: Charging
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: 1585 MHz 2: 1694 MHz 3: 1498 MHz
           4: 1667 MHz
Graphics:  Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.20.4 ) driver: intel
           Resolution: 800x1280@60.10hz
           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-37-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: 125.1GB
Partition: ID-1: / size: 114G used: 7.0G (7%) 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: 198 Uptime: 17:20 Memory: 671.4/3774.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.4.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56

Offline clatterfordslim

  • Trusted User
  • Member
  • *****
  • Posts: 621
  • Karma: 146
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10, Nine Respin 2
Re: Graphics not rendering fast and videos unplayable
« Reply #1 on: January 13, 2020, 07:31:00 am »
Hello everyone!

I got an Asus Mini Transformer from work. It came with Windows 10 and was simply too slow for me to do anything worthwhile (browsing was a pain too).

So I downloaded Peppermint and it is a joy to work with now (All I have done is install Peppermint from a USB and update the system. The problem existed both before and after the update).

A minor/major issue is, however, that I have yet to figure out why videos are unplayable and websites seem choppy when I scroll fast.

I suspect that it is a graphics card issue because websites act up too and not just youtube or netflix.

I see others with similar issues being asked to post some text from the terminal, so I'll post it beforehand.

Code: [Select]
System:    Host: n-T103HAF Kernel: 5.0.0-37-generic x86_64 bits: 64 gcc: 7.4.0
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: un-determined System: ASUSTeK product: T103HAF v: 1.0 serial: N/A
           Mobo: ASUSTeK model: T103HAF v: 1.0 serial: N/A
           UEFI: American Megatrends v: T103HAF.307 date: 01/17/2018
Battery    BATC: charge: 4.2 Wh 14.1% condition: 29.5/31.6 Wh (93%)
           model: Intel SR 1 SR Real status: Charging
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: 1585 MHz 2: 1694 MHz 3: 1498 MHz
           4: 1667 MHz
Graphics:  Card: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.20.4 ) driver: intel
           Resolution: 800x1280@60.10hz
           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-37-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: 125.1GB
Partition: ID-1: / size: 114G used: 7.0G (7%) 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: 198 Uptime: 17:20 Memory: 671.4/3774.5MB
           Init: systemd runlevel: 5 Gcc sys: 7.4.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56

Hello One Of The Jedi Children,
Here is a solution for your screen tearing and scrolling things.

Open a Terminal and copy and paste
Code: [Select]
sudo mkdir -v /etc/X11/xorg.conf.d
This next one is the whole lot into Terminal
Code: [Select]
echo -e 'Section "Device"\n Identifier "Intel Graphics"\n Driver "Intel"\n Option "AccelMethod" "sna"\n Option "TearFree" "true"\nEndSection' | sudo tee /etc/X11/xorg.conf.d/20-intel.conf
Reboot your system and screen tearing should be gone.

DVD playing in Linux

In Terminal copy and paste
Code: [Select]
sudo apt-get install libdvd-pkg
Code: [Select]
First time install, use arrow keys to highlight yes push enter both times copy and paste line below in Terminal
Code: [Select]
sudo dpkg-reconfigure libdvd-pkg
Reboot your system

In Terminal copy and paste
Code: [Select]
sudo apt install ubuntu-restricted-extrasThese are needed for playing videos, these are the codecs needed for playing video and listening and making MP4's and MP3's
I hope this helps you out?  ;)
« Last Edit: January 13, 2020, 07:34:54 am by clatterfordslim »
Not only is Peppermint an addictive OS to use.
But so is this Forum :)

Offline The Omen

  • Member
  • ***
  • Posts: 131
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Re: Graphics not rendering fast and videos unplayable
« Reply #2 on: January 13, 2020, 02:25:19 pm »
The INTEL screen tearing script "fix" from clatterfordslim is perfect for the majority of the problem that you are experiencing "OneOfTheJediChildren".

One other thing that I also did was to use the very good, MPV player that uses very little resources to play my movies and music videos.

You can install it easy from the terminal by copying and paste-ing the code underneath this message into the terminal and then just setting it as the default player.

Code: [Select]
sudo apt install mpv
I also have "ubuntu-restricted-extras" installed too.

Warm Regards,

The Omen
« Last Edit: May 14, 2020, 04:50:57 pm by The Omen »

Offline OneOfTheJediChildren

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Graphics not rendering fast and videos unplayable
« Reply #3 on: January 13, 2020, 11:32:42 pm »
To both of you, thank you for the help.

The screen tearing is gone. It is so much better now :-D

As for the videos, they do not want to play still.

I have tried playing videos on youtube, netflix, and I have downloaded an mp4 and tried playing it in the media player. None of these attempts would allow me to play a video.

I can skip to any frame and it will show it in perfect HD. But when I press the play button, it either buffers (on youtube) or it does nothing (on netflix and the video player).

For good measure, I tried to use Spotify's webapp to see if I could play sound, but the problem persists here too, I press the play button, but nothing happens after that. It stops at 00:00 and never moves on.

Is my case doomed?

(For Omen's question about being mentored by someone. No, sadly not. My name is a reference to the scene with Anakin and the Jedi children).

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2173
  • Karma: 455
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Graphics not rendering fast and videos unplayable
« Reply #4 on: January 14, 2020, 12:43:45 am »
I suspect it's actually a Cherrytrail audio issue. If your audio is broken sometimes it will mean that videos never begin. See here, which suggests trying different kernels and a Linuxium workaround.

https://askubuntu.com/questions/970211/ubuntu-17-10-no-sound-on-cherry-trail-laptop

Offline OneOfTheJediChildren

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Graphics not rendering fast and videos unplayable
« Reply #5 on: January 14, 2020, 02:33:40 am »
I suspect it's actually a Cherrytrail audio issue. If your audio is broken sometimes it will mean that videos never begin. See here, which suggests trying different kernels and a Linuxium workaround.

https://askubuntu.com/questions/970211/ubuntu-17-10-no-sound-on-cherry-trail-laptop
Thank you for the reply. I don't follow completely. Is the suggestion to just try random Kernels until it might work?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2173
  • Karma: 455
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Graphics not rendering fast and videos unplayable
« Reply #6 on: January 14, 2020, 02:39:19 am »
The 4.19 kernel is mentioned, or you can try the Linuxium tweaks for Cherrytrail devices.

Offline OneOfTheJediChildren

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Graphics not rendering fast and videos unplayable
« Reply #7 on: January 14, 2020, 04:03:37 am »
The 4.19 kernel is mentioned, or you can try the Linuxium tweaks for Cherrytrail devices.


The 4.19 Kernel is not amongst my list of Linux Kernels. It goes from 4.18.0-25 to 5.0.0-15.

As for the tweaks, I don't seem to be able to create files in the etc/modprobe.d folder. Am I missing something in order to do so?

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2173
  • Karma: 455
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Graphics not rendering fast and videos unplayable
« Reply #8 on: January 14, 2020, 04:43:08 am »
Yes, if you right-click the folder and click on Open as root you should be able to.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Graphics not rendering fast and videos unplayable
« Reply #9 on: January 14, 2020, 04:43:13 am »
The 4.19 kernel is mentioned, or you can try the Linuxium tweaks for Cherrytrail devices.


The 4.19 Kernel is not amongst my list of Linux Kernels. It goes from 4.18.0-25 to 5.0.0-15.

As for the tweaks, I don't seem to be able to create files in the etc/modprobe.d folder. Am I missing something in order to do so?

You need to create files in this folder with elevated privileges.  Open your Nemo file manager.  In the left column select File System.  Select etc.  Scroll down to the folder modprobe.d and right click on it.  From the pop up menu select, Open as Root.  Enter your password where asked.  In the new window, you'll be able to add new files and edit them.  Alternatively you can open a terminal window with the following keystrokes:

Ctrl+Alt+t

Enter (Copy & Paste) the following command into the terminal window:
Code: [Select]
sudo xed /etc/modprob.d/{Name of File}Hit enter and enter your password, hit enter.  A new empty file will open with elevated privileges.  You can populate this and save it.  I hope this helps  ;).

Note: {Name of File} is the name you choose to call the file. 
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline OneOfTheJediChildren

  • Newly Subscribed
  • *
  • Posts: 5
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Re: Graphics not rendering fast and videos unplayable
« Reply #10 on: January 15, 2020, 02:41:20 am »
The linuxium fix would not run.

I feel that Peppermint just might not work on this machine after all then.

Am I too soon to give it up?

Update:
When I run
Code: [Select]
cat /proc/asound/cards
It tells me that I have no soundcards. Is this something?
« Last Edit: January 15, 2020, 04:58:50 am by OneOfTheJediChildren »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1243
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Graphics not rendering fast and videos unplayable
« Reply #11 on: February 06, 2020, 06:44:19 am »
Hello OneOfTheJediChildren, boot into a live version of Peppermint and try playing a video there. If a video doesn't play, make a bootable media of a different Ubuntu distro and try that. Let us know what happens. Are you able to play music files in your installed version or either of the live versions? I'm thinking if murrayment is correct, he usually is, we need to narrow down where your sound is broken before writing off your machine.
What was I thinking?

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1243
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
What was I thinking?