Corrupted web page rendering + broken menus on Trisquel 9.

72 Antworten [Letzter Beitrag]
northernarcher
Offline
Beigetreten: 12/24/2014

I've upgraded to Trisquel 9 on my Libreboot Thinkpad x60. The default web browser, while it is maximized, is really broken. If you don't scroll down at all then it's sometimes fine, but if you start to scroll web pages become all corrupted, looking like broken .JPG files. If you try to interact with any menus, like the right click menu, it appears semi broken and doesn't really respond to clicks.

Bizarrely, you know what somehow fixes this? If you resize your browser down to 1/4th of the screen resolution, it fixes all of this. So I guess if you're okay with looking at the Web through through a slit, then it's fine. Hahahaha. But I'm not okay with this, does anyone know what I can do about this? I'd really appreciate any help, I'm just an end-user, not a programmer.

northernarcher
Offline
Beigetreten: 12/24/2014

Here are some screenshots of what I mean.

Screenshot at 2020-12-10 11-23-25.png Screenshot at 2020-12-10 11-24-04.png
mr.r
Offline
Beigetreten: 07/16/2018

Hello northernarcher,

I experienced the problem in both 8.0, unresolved, and now 9.0.
I submitted to using a non-free browser.

northernarcher
Offline
Beigetreten: 12/24/2014

I also saw this back in version 8 as well, I never got it fixed and I just assumed it would be fixed in 9. I don't remember it happening in 7.

kenogo (nicht überprüft)
kenogo

This only happens with your browser? No such tearing in any other application?

northernarcher
Offline
Beigetreten: 12/24/2014

Correct, it's just web content.

kenogo (nicht überprüft)
kenogo

Try disabling hardware acceleration in Abrowser. Do this by clicking on the hamburger menu in the top right and then on "Preferences". Next, scroll down to "Performance". Remove the selection from "Use Recommended performance settings". Finally, remove the selection from "Use hardware acceleration when available". After that, restart Abrowser.

northernarcher
Offline
Beigetreten: 12/24/2014

I've done it, no change. All content still looks like this.

Screenshot at 2020-12-10 15-31-42.png
chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

This problem emerged after an Abrowser update in 2018. It appears to only affect X60 users, so it must in some way be hardware related, but no one has figured out how to fix it. My own X60 died over a year ago, after which I was unable to keep troubleshooting, but other users have continued to experience the issue.

=> https://trisquel.info/en/issues/23853

northernarcher
Offline
Beigetreten: 12/24/2014

I'm almost willing to pony up $20 to whoever will fix this. The X60 is/was one of the most popular Libreboot-able machines and people have sold Libreboot X60 with Trisquel preinstalled. It should be the most natural fit for it. We can't have a major bug in the web browser like this.

kenogo (nicht überprüft)
kenogo

Can you try booting up a Parabola life image and start Firefox there to see if the problem exists there, too?

northernarcher
Offline
Beigetreten: 12/24/2014

I've never tried Parabola, I'll start the download and try it out.

kenogo (nicht überprüft)
kenogo

I just read through the issue chaosmonk provided. I highly suspect that Firefox will simply work in Parabola, so it's not going to show us anything interesting. Sorry for sending you off in that direction. You don't need to try Parabola.

I would suggest trying

$ sudo apt install linux-image-5.3.0-69-generic

in a terminal. Then reboot and confirm you are running the newer kernel version with

$ uname -r

It should say "5.3.0-69-generic". Then try out Abrowser. If it doesn't work, then I don't think I'll be able to provide a fix.

northernarcher
Offline
Beigetreten: 12/24/2014

Ah. Well, I tried it and it doesn't boot past this screen anyway.

20201210_210915.jpg
northernarcher
Offline
Beigetreten: 12/24/2014

Woah, okay I just did what you said with trying a different kernel and it killed my wifi, the card doesn't seem to even be detected now. What did I do wrong?

20201210_220332.jpg
chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

What kind of WiFi card do you have?

If you have not run "apt autoremove" since upgrading your kernel, you can boot into the previous kernel by selecting "Advanced Options for Trisquel" at the GRUB menu and selecting the old kernel.

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

I do not think 'apt autoremove' removes the previous kernel, only the even older ones.

northernarcher
Offline
Beigetreten: 12/24/2014

It's this:
02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

And how do I get to that option? I don't see it at boot.

kenogo (nicht überprüft)
kenogo

You can get it back to working with the old kernel with chaosmonk's tip. Otherwise, to get started figuring out what went wrong with the wifi card with kernel 5.3.0, I need the output of

$ lspci

and

$ ip a

and

$ sudo dmesg

These should be run and saved into files while you are booted into kernel 5.3.0. You can save the command outputs to files by appending "> filename" to each command (filename should be replaced with different names for the files). So the commands would become

$ lspci > lspci.log
$ ip a > ip.log
$ sudo dmesg > dmesg.log

Then send us the three .log files.

northernarcher
Offline
Beigetreten: 12/24/2014

Thank you, I will try this now and come back.

northernarcher
Offline
Beigetreten: 12/24/2014

This is lspci.log

https://ghostbin.co/paste/7ajq9

This is ip.log

https://ghostbin.co/paste/b3jet

This is dmesg.log

https://ghostbin.co/paste/t5h8w

So, what should be made of this and what should I do?

rxs
rxs
Offline
Beigetreten: 11/30/2020

Hi!

I found someone who may have the same issue on Firefox. Link goes to a Linux Mint forum post that shows how to resolve it: https://tknk.io/PDkc

Instead of deleting the 3 files, I would suggest moving them elsewhere temporarily.

Note: I am not an X60 user as I'm on an X200T with Trisquel 9 64Bit.
I hope this helps!

mr.r
Offline
Beigetreten: 07/16/2018

Hello chaosmonk,
Thanks.

Presario v3000.

nadebula.1984
Offline
Beigetreten: 05/01/2018

Not only X60, but also other 945GM-based systems, such as T60, R60 and Z61t. I believe this is related to the legacy GPU.

aloniv

I am a translator!

Offline
Beigetreten: 01/11/2011

Is it related to this issue (which has since been fixed in UXP browsers)?
https://forum.palemoon.org/viewtopic.php?f=37&t=19941&sid=457bf84526319106435c0e027a5d9d95
Also reported by me in Hyperbola.
https://issues.hyperbola.info/index.php?do=details&task_id=1168
See attached image.

Screenshot at 2019-03-09 06-55-19.png
northernarcher
Offline
Beigetreten: 12/24/2014

This is lspci.log

https://ghostbin.co/paste/7ajq9

This is ip.log

https://ghostbin.co/paste/b3jet

This is dmesg.log

https://ghostbin.co/paste/t5h8w

So, what should be made of this and what should I do?

mr.r
Offline
Beigetreten: 07/16/2018

Hello,

I tried both of the fixes on the links provided by aloniv to no avail. One of the methods did mess with the desktop, but did not change the corrupted text in the abrowser.

I was able to somewhat clean up the problem by messing with different fonts and settings from the desktop 'appearance' options. To the point where I can see gray hinting in the broken sections of the individual letters.
I can also see a horizontal rippling effect through the center of the browser window as I scroll repeatedly rocking up and down a short distance. But at least the text can be read now.

I am wondering about the kernel as a suspect because of another issue I was dealing with possibly informing to this.

In another post, I could not successfully download a functioning torbrowser.
When I resolved that issue directly from the torproject website, the torbrowser now works.

It seems that torbrowser is modified from a similar base (mozilla firefox). It does not exhibit the issue of corrupted letters when scrolling pages.

Also, another mozilla browser I have tried does not exhibit the issue either.
All on this same hardware, Presario v3000.
Thanks.

northernarcher
Offline
Beigetreten: 12/24/2014

Modprobe says this, but I don't know what do do about it or what it means.

modprobe ath9k modprobe: FATAL: Module ath9k not found in directory /lib/modules/5.3.0-69-generic

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Please run

$ find /lib/modules | grep ath9k

and copy/paste the output.

northernarcher
Offline
Beigetreten: 12/24/2014

Okay, it came out with this:

grey@x60:~$ find /lib/modules | grep ath9k
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
grey@x60:~$

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

I think you may be missing the headers for the new kernel version.

$ sudo apt install linux-headers-5.3.0-69-generic

and try again.

northernarcher
Offline
Beigetreten: 12/24/2014

Do I just reboot after that?

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Yes. If your WiFi still doesn't work try modprobe and the find command again.

northernarcher
Offline
Beigetreten: 12/24/2014

I did the install of those header files and rebooted. Wifi still does not work or show up. I've done those other two commands again and this is what they output:

grey@x60:~$ modprobe ath9k
modprobe: FATAL: Module ath9k not found in directory /lib/modules/5.3.0-69-generic
grey@x60:~$ find /lib/modules | grep ath9k
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
/lib/modules/4.15.0-121-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
grey@x60:~$

What do I do now?

Screenshot at 2020-12-17 00-43-41.png
chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Ok, so it looks like Ubuntu 18.04 (and therefore Trisquel 9) has a 5.3 kernel, but there's only an ath9k module for the 4.15 kernel?

=> https://packages.ubuntu.com/search?suite=bionic&arch=any&mode=filename&searchon=contents&keywords=ath9k

I'm not sure why, but if you want a newer kernel than 4.15 I guess you could try 5.4 or 5.10 from jxself's repo.

=> https://packages.ubuntu.com/search?suite=bionic&arch=any&mode=filename&searchon=contents&keywords=ath9k

Did upgrading to 5.3 fix the Abrowser issue though? That was the original reason for this, right? If not you might as well just revert to 4.15.

northernarcher
Offline
Beigetreten: 12/24/2014

It did in fact fix the issue! Yes! I can actually see the web now! Everything looks normal! Thank you very much!

But then what do I do about the wifi if I can only actually see the web on a kernel that that doesn't work with the wifi card? Which way do I go?

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Did you try installing a kernel from jxself's repo?

northernarcher
Offline
Beigetreten: 12/24/2014

>Did you try installing a kernel from jxself's repo

I would very much like to try. I genuinely don't know what that repo is, where it is, or what specific kernel would fix this. Do you know? Thank you for reading.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Sorry, I made a copy/paste error in my earlier post. I meant to provide this link:

=> https://jxself.org/linux-libre/

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

He provides both a 5.4 and a 5.10 kernel. If the issue affecting Abrowser was fixed in 5.3, then either of these should work too. The reason your WiFi doesn't work with the 5.3 kernel is that it lacks an ath9k module for some reason, but jxself's kernels should have that module.

northernarcher
Offline
Beigetreten: 12/24/2014

Okay, thank you. I will go through the instructions on that page and try installing 5.4 and rebooting. I'll see what happens.

northernarcher
Offline
Beigetreten: 12/24/2014

After reboot I have the 5.4 kernel and the wifi does indeed work again! It is visible on the menu and works again! Thank you very much!!!
The web is back to looking like corrupt JPGs again. See screenshot.

So, with the default Trisquel 9 kernel the wifi works but web is corrupt. With the 5.3.0-69-generic kernel another user suggested the wifi doesn't work but the web is fixed. With the 5.4 libre kernel the wifi works again but the web is back to being corrupt.

It's good that the dead wifi is no longer dead, but I am back where I started. What do you think?

Screenshot at 2020-12-17 02-44-03.png
chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Are you 100% sure that Abrowser was working with the 5.3 kernel?

northernarcher
Offline
Beigetreten: 12/24/2014

It stopped having the corruption problem when I, like kenogo suggested, did this

$ sudo apt install linux-image-5.3.0-69-generic

Now, maybe it's because it's the generic one? I don't know, but after I did that and the wifi died, I got on ethernet and the web looked fine then. When I installed that kernel from the other repo like you suggested, the wifi worked again but the web became corrupt again.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Try installing "linux-modules-5.3.0-69-generic" and "linux-modules-extra-5.3.0-69-generic" and then reverting to the 5.3 kernel, on the off chance that one of these packages will provide an ath9k module for the 5.3 kernel.

If not, you may need to compile the ath9k driver against the 5.3 kernel yourself in order in order to get WiFi working with that kernel.

northernarcher
Offline
Beigetreten: 12/24/2014

Okay, idiot question, how do I revert between different kernels I have installed? Libreboot doesn't seem to give me any option like that when it's menu pops up.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

On my librebooted X200, the first menu that pops up has a "load operating system" option, which leads to a second menu with an "advanced options for trisquel" option, which allows me to select a kernel.

northernarcher
Offline
Beigetreten: 12/24/2014

Oh. Mine never gives me that option. It goes straight from libreboot to login screen.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Edit "/etc/default/grub" and change "GRUB_TIMEOUT=0" to "GRUB_TIMEOUT=5". Then run

$ sudo update-grub

The next time you reboot, you should get the second menu for 5 seconds.

northernarcher
Offline
Beigetreten: 12/24/2014

Sorry for the late reply.

So I changed it to 5 seconds, and nothing changed from how it normally goes from the Libreboot menu to the Trisquel login screen. I changed it to 9 seconds and rebooted with no change. So, here is my grub file. Would the "hidden" thing have anything to do with this?

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=9
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

Yes, change it to

GRUB_TIMEOUT_STYLE=menu