Author Topic: [resolved] strange glass cracked effect while scrolling down in firefox  (Read 656 times)

Offline manchedepelle

  • Newly Subscribed
  • *
  • Posts: 12
  • Karma: 2
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Dear Friends,


I'm new on Linux and before installing that distro I had an older PC that I've tried 3 or 4 distro ... and my final choice was on this one (I really like Peppermint)

On my older computer, I had the same issue than that the one I use ... so it's not an hardware issue that I've got ...

Also, I use another computer with the same monitor, and it's only on my Linux one that I got an issue, and it's only occur while i'm scoling down with the mouse roller a web page.


On my screen it's like a diagonal blurred line that appear like if theres a crack on a glass and it disapear almost immediatly.

I was wondering what could cause that strange effect and if it's possible to correct my problem.  I can lived with it but it's kinda annoying when reading fast a text on a web page.  i don't know if it's a firefox bug (got an update since that I used Peppermint, and nothings change) a driver issue, a not enough strong graphic card (it's onboard on my olde computer that I've try and that one), etc ...

thanks for your support


« Last Edit: July 21, 2020, 01:51:46 pm by manchedepelle »

Offline josephd

  • Administrator
  • Member
  • *****
  • Posts: 762
  • Karma: 270
  • Peppermint OS Website Admin
    • View Profile
    • LinuxBookPro
  • Peppermint version(s): Peppermint 10
Re: strange glass cracked effect while scrolling down in firefox
« Reply #1 on: July 16, 2020, 10:30:56 pm »
What you just described is know as "screen tearing" and its somewhat common and often depends on a mix of hardware.

Sometimes turning desktop effects on or off works... go to Peppermint Control Center and either uncheck or check Enable Desktop effects.



If you're using a Nvidia graphics card you can also try changing Nvidia driver, but that's only relevant with dedicated graphics card.
Joseph Dickson | www.linuxbookpro.com | www.joseph-dickson.com | https://twitter.com/joe4ska - "I also enjoy Debian Stable, Pop!_OS, and Trisquel."

Offline josephd

  • Administrator
  • Member
  • *****
  • Posts: 762
  • Karma: 270
  • Peppermint OS Website Admin
    • View Profile
    • LinuxBookPro
  • Peppermint version(s): Peppermint 10
Re: strange glass cracked effect while scrolling down in firefox
« Reply #2 on: July 16, 2020, 10:32:34 pm »
If  that doesn't work try adjusting your displays refresh rate


This video may also be helpful if you want to test your screen's refresh rate. Sometimes that can help but generally what Peppermint detects is the best option.

https://www.youtube.com/watch?v=MfL_JkcEFbE

« Last Edit: July 16, 2020, 10:42:03 pm by josephd »
Joseph Dickson | www.linuxbookpro.com | www.joseph-dickson.com | https://twitter.com/joe4ska - "I also enjoy Debian Stable, Pop!_OS, and Trisquel."

Offline manchedepelle

  • Newly Subscribed
  • *
  • Posts: 12
  • Karma: 2
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Re: strange glass cracked effect while scrolling down in firefox
« Reply #3 on: July 20, 2020, 08:17:34 pm »
thanks alot I


The first solution doesn't solve the problem.


With the youtube testing method, I got what they call screen tearing, you're absolutely right about it !!!  I click on configure new display when connected ... should Idisconnect and reconnect the montior ???


thanks for you help


n.b. I also try to change manually the refresh rate but i go only 60hz ... Also I got an onboard graphic card, so maybe that's why I got bad visual quality
« Last Edit: July 20, 2020, 08:27:39 pm by manchedepelle »

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2389
  • Karma: 632
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: strange glass cracked effect while scrolling down in firefox
« Reply #4 on: July 21, 2020, 12:55:17 am »

n.b. I also try to change manually the refresh rate but i go only 60hz ... Also I got an onboard graphic card, so maybe that's why I got bad visual quality


Hi manchedepelle,

That might be the problem -- however none of us is able to look inside of your computer, so you need to provide us with its hardware specs. To do that please follow the steps in this tutorial that was provided by our much missed guru PCNetSpec.

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline The Omen

  • Member
  • ***
  • Posts: 143
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Re: strange glass cracked effect while scrolling down in firefox
« Reply #5 on: July 21, 2020, 03:21:21 am »
Hi manchedepelle,

Please copy and paste the following command into your terminal and copy and paste the results back here.

I am looking specifically at which CPU that you are using, Intel, AMD, as well as if Nvidia is installed.

There are specific commands that can be used to get rid of your screen tearing problem based on your system.

Code: [Select]
inxi -Fxzd
Regards,

The Omen

Offline manchedepelle

  • Newly Subscribed
  • *
  • Posts: 12
  • Karma: 2
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Re: strange glass cracked effect while scrolling down in firefox
« Reply #6 on: July 21, 2020, 07:55:36 am »
Here the command result (I didn't know that trick ... it might be useful in the future)

System:    Host: jp-HP-Compaq-Elite-8300-SFF Kernel: 5.3.0-62-generic x86_64
           bits: 64 gcc: 7.5.0
           Desktop: N/A Distro: Peppermint Ten
Machine:   Device: desktop System: Hewlett-Packard product: HP Compaq Elite 8300 SFF serial: N/A
           Mobo: Hewlett-Packard model: 3397 serial: N/A
           BIOS: Hewlett-Packard v: K01 v02.98 date: 03/18/2015
CPU:       Quad core Intel Core i5-3470 (-MCP-)
           arch: Ivy Bridge rev.9 cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 25541
           clock speeds: max: 3600 MHz 1: 1597 MHz 2: 1599 MHz 3: 1599 MHz
           4: 1596 MHz
Graphics:  Card: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.20.8 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1)
           version: 4.2 Mesa 20.0.8 Direct Render: Yes
Audio:     Card Intel 7 Series/C216 Family High Def. Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k5.3.0-62-generic
Network:   Card: Intel 82579LM Gigabit Network Connection (Lewisville)
           driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1500.3GB (61.2% used)
           ID-1: /dev/sda model: ST500DM002 size: 500.1GB
           ID-2: /dev/sdb model: WDC_WD10EARS size: 1000.2GB
           Optical-1: /dev/sr0 model: hp DVD-ROM SH-116AB
           rev: HF20 dev-links: cdrom,dvd
           Features: speed: 40x multisession: yes
           audio: yes dvd: yes rw: none state: running
Partition: ID-1: / size: 458G used: 27G (7%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 32.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 192 Uptime: 7 days Memory: 1489.2/3810.3MB
           Init: systemd runlevel: 5 Gcc sys: 7.5.0
           Client: Shell (bash 4.4.201) inxi: 2.3.56



thanks again my friends !!!!

Offline The Omen

  • Member
  • ***
  • Posts: 143
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Re: strange glass cracked effect while scrolling down in firefox
« Reply #7 on: July 21, 2020, 01:24:21 pm »
Hi manchedepelle,

OK, These command codes work with my Intel i5 CPU and should work also for yours.

Just copy and paste these codes into your terminal and dont forget to reboot and then retest for screen tearing.

Report back and let us all know how it works out, I also included the code for undoing this as well, just incase it doesnt work for you.

Regards,

The Omen


Stop Screen Tearing: INTEL PROCESSORS ONLY!!!

Test screen tearing as a before and after using this site:

https://www.youtube.com/watch?time_continue=2&v=5xkNy9gfKOg


Open a terminal and run these commands in sequence (copy and paste)

 
Code: [Select]
sudo apt-get install mesa-utils
If it says its already installed, go to next step:

Then:

 
Code: [Select]
sudo mkdir -v /etc/X11/xorg.conf.d


Then: (This one is a very long code so run your cursor right up to the very end of the code tags until it stops and then click copy before you paste it in):
 
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

Now REBOOT to pick up the changes. It's IMPORTANT that you reboot to apply the changes.


To UNDO:

Open a terminal and run:

 
Code: [Select]
sudo rm -v /etc/X11/xorg.conf.d/20-intel.conf
Now REBOOT.
« Last Edit: July 21, 2020, 01:33:05 pm by The Omen »

Offline manchedepelle

  • Newly Subscribed
  • *
  • Posts: 12
  • Karma: 2
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
Re: strange glass cracked effect while scrolling down in firefox
« Reply #8 on: July 21, 2020, 01:51:17 pm »
WOW the Omen are you a god ???


Now it works perfectly thank you so much for all of you who help me !!!


Offline The Omen

  • Member
  • ***
  • Posts: 143
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
A "god" ?...Nope, just your average 18 year old kid with much to learn. (I will be 19 in September).

I am glad that it all works for you now.

Regards,

The Omen
« Last Edit: July 21, 2020, 01:59:14 pm by The Omen »

Offline manchedepelle

  • Newly Subscribed
  • *
  • Posts: 12
  • Karma: 2
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): 10
The Omen, you really impressed me !!!


Wish I had learned more about linux when I was in school ... here it's Microsoft product, everywhere ... so we learn computer on microsoft product, works with Microsoft product and pay for Microsoft product without knowing alternative ...

thanks again for your help !!!!

Offline The Omen

  • Member
  • ***
  • Posts: 143
  • Karma: 31
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 respin
Your welcome,

Also, I did not learn this in school but from a very good family friend who has been teaching me and my father all about linux for the last three years now, we all go to the same church, He is the true genius here.

Regards,

The Omen