Scrolling issues on Firefox and Chrome

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Scrolling issues on Firefox and Chrome

Post by Apollonius » Fri Oct 13, 2017 12:20 pm

I'm facing some scrolling issues on my Linux Mint 18.2 Cinnamon, while browsing with Firefox and Chrome...

The thing is I had to do a clean re-installation of my Mint, I don't really remember facing similar type of issue before. Firefox seems to be worse, scrolling is jerky, somewhat wavy; it stutters and trembles. The problems aren't continuous though, sometimes I do get smooth beautiful scrolling, then again(for example, I'm getting a very good scrolling experience most of the time here on our forums, but sometimes it stutters and gives similar problems)... I guess some of these is to expected now and then depending on the websites and content, but not this much! :(

Or am I just being a little fussy?!

It first caught my eye when I was testing Mint 18 Sarah Cinnamon from a live USB. Then I went on to try on my old live Mint 18.2, and noticed similar issue. I thought the outdated browser might be causing these, but now I'm completely in an installed system, and it's really bugging me out! :( :(

I didn't face any of the issues on Ubuntu 16.04 LTS, which I very recently had been using...

I tried enabling hardware acceleration, but that didn't work. Maybe switching to modesetting driver might solve it? :?

Also, I have the following updates available, can these be related somehow? As they are level 4 updates, I'm not really sure of applying them!

Image

Any help would be greatly appreciated... thanks in advance... :)

Update: I did a fresh install of another Cinnamon ISO and tested browsing on that- the problem occurs. Then I tested using the MATE environment, there I didn't find any issue- smooth scrolling. I like Cinnamon very much, but this is a deal-breaker. If there's no direct solution to this, I might have to switch to MATE...
Last edited by Apollonius on Sun Oct 15, 2017 4:02 am, edited 2 times in total.

User avatar
administrollaattori
Level 15
Level 15
Posts: 5901
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Scrolling issues on Firefox and Chrome

Post by administrollaattori » Fri Oct 13, 2017 2:53 pm

For knowing your hardware run a command inxi -Fxz and tell the result.

User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Re: Scrolling issues on Firefox and Chrome

Post by Apollonius » Fri Oct 13, 2017 2:57 pm

Here's the output:

Code: Select all

inxi -Fxz
System:    Host: apollonius Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: H81M-C v: Rev X.0x
           Bios: American Megatrends v: 3501 date: 10/21/2016
CPU:       Quad core Intel Core i5-4460 (-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25540
           clock speeds: max: 3400 MHz 1: 2586 MHz 2: 2575 MHz 3: 1609 MHz
           4: 3103 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1360x768@60.02hz
           GLX Renderer: Mesa DRI Intel Haswell Desktop
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (2.8% used)
           ID-1: /dev/sda model: TOSHIBA_DT01ACA0 size: 500.1GB
Partition: ID-1: / size: 41G used: 5.3G (14%) fs: ext4 dev: /dev/sda1
           ID-2: /home size: 73G used: 385M (1%) fs: ext4 dev: /dev/sda3
           ID-3: swap-1 size: 8.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda4
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 197 Uptime: 17 min Memory: 1106.7/7854.0MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

User avatar
administrollaattori
Level 15
Level 15
Posts: 5901
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Scrolling issues on Firefox and Chrome

Post by administrollaattori » Fri Oct 13, 2017 3:03 pm

When you use Firefox and scroll, open Terminal and run top and see if some process uses a lot of CPU.

User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Re: Scrolling issues on Firefox and Chrome

Post by Apollonius » Mon Oct 16, 2017 4:19 am

As it is, Firefox/Web content is using the most CPU, and while scrolling, right after these two, there's either Cinnamon or Xorg...
Image

User avatar
Pjotr
Level 21
Level 21
Posts: 13747
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Scrolling issues on Firefox and Chrome

Post by Pjotr » Mon Oct 16, 2017 4:32 am

Upgrade your kernel to the latest kernel of the 4.11 series:
Update Manager - panel: View - Linux kernels

Afterwards, reboot.

Then switch to the modesetting driver for your Intel graphics:
https://sites.google.com/site/easylinux ... l-graphics
(item 6, left column)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Re: Scrolling issues on Firefox and Chrome

Post by Apollonius » Mon Oct 16, 2017 11:45 am

Thanks Pjotr for your advice...

Updating the kernel and changing to modesetting may have made things a bit better, but I'm still getting some jerkiness and tremblings...

After asking in the forum and receiving no solution, I to switched to modesetting and used Mint with both the default kernel and an older LTS kernel(4.4.0-xx series), but the issues remained...

I'm now on a freshly installed Mint 18.2, applied all the security updates(even level 4 updates), except some level 3 and 4 software updates...

Image

Then I applied your solution. The

Code: Select all

inxi
utility didn't give any "modesetting" driver report, but I got the following outputs from

Code: Select all

grep modesetting /var/log/Xorg.0.log

Code: Select all

grep modesetting /var/log/Xorg.0.log
[    16.209] (==) Matched modesetting as autoconfigured driver 2
[    16.209] (II) LoadModule: "modesetting"
[    16.209] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    16.209] (II) Module modesetting: vendor="X.Org Foundation"
[    16.209] (==) Matched modesetting as autoconfigured driver 2
[    16.209] (II) LoadModule: "modesetting"
[    16.209] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    16.209] (II) Module modesetting: vendor="X.Org Foundation"
[    16.209] (II) UnloadModule: "modesetting"
[    16.209] (II) Unloading modesetting
[    16.209] (II) Failed to load module "modesetting" (already loaded, 0)
[    16.210] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    16.222] (WW) Falling back to old probe method for modesetting
Is it okay?
Is there anything else that should be done?

User avatar
Pjotr
Level 21
Level 21
Posts: 13747
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Scrolling issues on Firefox and Chrome

Post by Pjotr » Mon Oct 16, 2017 12:51 pm

The three last lines of that output seem to suggest that all is well anyway. But to be honest I'm not quite sure.

Anyway: if it works better now than before, I'd count my blessings.... :wink:
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Re: Scrolling issues on Firefox and Chrome

Post by Apollonius » Tue Oct 17, 2017 1:52 am

I'm always comfortable using an LTS kernel like 4.4.0-xx series, and the first time I installed Mint 18.2 and used it for a couple of months, I used 4.4.0-89, as far as I can remember. The strangest things is I don't remember facing this scrolling issue then. The only difference now is that:

1. I'm not on a dual-boot, just Mint
2. I updated my BIOS

This issue is really bugging me out, as I use the internet very often for my programming and study...

User avatar
Pjotr
Level 21
Level 21
Posts: 13747
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Scrolling issues on Firefox and Chrome

Post by Pjotr » Tue Oct 17, 2017 4:09 am

Try if it helps when you install the level 3 and 4 updates you've avoided.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Apollonius
Level 2
Level 2
Posts: 61
Joined: Tue Jul 25, 2017 2:02 am
Location: Bangladesh

Re: Scrolling issues on Firefox and Chrome

Post by Apollonius » Wed Oct 25, 2017 8:44 am

Pjotr wrote:Try if it helps when you install the level 3 and 4 updates you've avoided.
I applied those updates, but I'm still facing issues...

Here's one other thing- I faced somewhat similar issue when I tried Xubuntu. There, I changed some settings on "Window manager tweaks"- disabled the display compositing and maybe changed something on "synchronize drawing to the vertical blank". I don't remember the exact changes that I made, but that got me out of scrolling issue...

Can something similar be tried on Mint Cinnamon?

I know there's an option to disable display compositing on full-screen windows here on Cinnamon, but I've already tried that. If there's something more detailed option like Xubuntu, then I could look into that...

biohazr
Level 1
Level 1
Posts: 1
Joined: Tue May 28, 2019 6:27 am

Re: Scrolling issues on Firefox and Chrome

Post by biohazr » Tue May 28, 2019 6:45 am

I had the same problem of scrolling issues on Firefox and Chrome in Linux Mint 19.1 with Cinnamon. I've resolved it going to

Mint Start Menu > System Settings > Preferences > General > Compositor Options

and disable the parameter "Activate VBlank". You must restart Cinnamon to save changes.

I've found this solution here

viewtopic.php?t=277267
:D

Now in Spanish :wink:

Tenía problemas de glitches al hacer scrolling tanto en Firefox como en Chrome cuando actualicé a Linux Mint 19.1. La solución que he encontrado es entrar en

Menú de inicio > Preferencias > General

y en las Opciones de compositor he desactivado la opción Activar VBlank (requiere reiniciar Cinnamon)

La solución la encontré en el link que he puesto arriba.

Un saludo

LuH
Level 1
Level 1
Posts: 1
Joined: Sun Sep 22, 2019 5:29 am

Re: Scrolling issues on Firefox and Chrome

Post by LuH » Tue Oct 15, 2019 11:20 pm

biohazr wrote:
Tue May 28, 2019 6:45 am
I had the same problem of scrolling issues on Firefox and Chrome in Linux Mint 19.1 with Cinnamon. I've resolved it going to

Mint Start Menu > System Settings > Preferences > General > Compositor Options

and disable the parameter "Activate VBlank". You must restart Cinnamon to save changes.
Thanks for the pointer!

On Mint 19.2 Cinnamon, it is named slightly differently: System Settings > Preferences > General > Compositor Options > VSync method - choose None (it was misbehaving with Presentation Time method selected).

Post Reply

Return to “Software & Applications”