Corrupted web page rendering + broken menus on Trisquel 9.

72 réponses [Dernière contribution]
northernarcher
Hors ligne
A rejoint: 12/24/2014

Okay, thank you. Sorry for replying late, I went away for the holidays and it took me a couple weeks to get back to be city.

I am back, I have done both the module installation commands and have rebooted back into the 5.3 kernel, the problem is back. I'm going to reboot into other ones as well.

Screenshot at 2021-01-05 22-03-04.png
chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

Wait, so

* With all the kernels you tried except for 5.3, you had the Abrowser issue.

* With 5.3, the Abrowser issue went away, but WiFi did not work because you were missing the ath9k module for that kernel.

* You just installed the ath9k module, which fixed WiFi for the 5.3 kernel, but brought back the Abrowser issue.

Do I understand that right? If so, it sounds like there is some correlation between the Abrowser issue and having the ath9k module loaded. That would be rather surprising to me, but if so it could be a clue. I would then be curious to try a few things.

1. Uninstall "linux-modules-extra-5.3.0-69-generic" and reboot into the 5.3 kernel. Confirm that WiFi does not work and Abrowser is not blurry. If not then this is a dead end. If so, then go onto the next step.

2. Reinstall "linux-modules-extra-5.3.0-69-generic" and reboot into the 5.3 kernel. Confirm that WiFi works again and the blurriness in Abrowser is back. If so, go onto the next step.

3. Uninstall the "modules-extra" package for your 4.15 kernel. The name of this package will be "linux-modules-extra-4.15.0-XXX-generic" where "XXX" is a three digit number, probably 128 but I'm not 100% sure. Reboot into the 4.15 kernel. Confirm that WiFi does not work and the blurriness is gone. If so, go onto the next step.

4. Reinstall the "modules-extra" package from your 4.15 kernel, but don't reboot right away. Close Abrowser, and run "sudo modprobe ath9k". See if WiFi starts working again. Open up Abrowser and see if it is blurry again. If WiFi is working again and Abrowser is blurry, follow all the remaining steps. If anything else happens, skip to step 7.

5. Close Abrowser again, and run "sudo modprobe -r ath9k". See if WiFi stops working. Open Abrowser, and see if the blurriness is gone. If yes, keep going. If not, skip to step 7.

6. Without closing Abrowser, run "sudo modprobe ath9k". This should bring WiFi back. See if it also brings the blurriness back. If not, see if refreshing or loading a new page brings it back.

7. Reboot into your 4.15 kernel, and confirm that WiFi works and the blurriness is back.

northernarcher
Hors ligne
A rejoint: 12/24/2014

And here's the 5.10 kernel.

Screenshot at 2021-01-05 22-27-06.png
chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

edit: removed duplicate post

mr.r
Hors ligne
A rejoint: 07/16/2018

Hello chaosmonk,

I clearly don't understand.

I have the same Abrowser font rendering problem in both Trisquel_8.0 and Trisquel_9.0, both 32-bit.
Neither Torbrowser, nor the other Mozilla browser I use exhibit the issue.

However, the OP reports that upgrade to kernel 5.3... fixes the problem.
You mention that Trisquel_9.0 uses that 5.3 kernel.

Is it only the Trisquel_9.0_i686 that uses the 4.15.0-121-generic as returned when I $find /lib/modules?

If the OP re-confirms that 5.3... fixes the Abrowser font rendering problem, would you suggest it could work for this Presario v3000?

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

Trisquel 9's default kernel is 4.15. There is also a 5.3 kernel in the repository, which the OP reports fixes Abrowser. However, that kernel appears to be missing the ath9k module, so Atheros WiFi cards do not work with it.

northernarcher
Hors ligne
A rejoint: 12/24/2014

Please forgive me for being ignorant, but is there no way to take the driver of this wifi card from this kernel, and this force it to be used with the 5.3 generic kernel?

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

Yes, by compiling the driver for the new kernel, but first see if installing those two packages I named works. I think there is a good chance it will.

mr.r
Hors ligne
A rejoint: 07/16/2018

Hello chaosmonk,
Thanks.

When I $sudo apt list linux-modules*, it returns various 4.15.0-(62-66) and 4.4.0-143.169+8,
but no 5.3.*.

When I $sudo apt list linux-image*, the same versions are returned.

I went to jxself.org and could not find that 5.3.* kernel or modules.

I do not wish to divert this thread if my question is better dealt with in a new post subject.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> When I $sudo apt list linux-modules*, it returns various 4.15.0-(62-66) and 4.4.0-143.169+8, but no 5.3.*.

Are you running Trisquel 8 or Trisquel 9? If you are running Trisquel 9, then 5.3 should be available.

=> http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe/

> I went to jxself.org and could not find that 5.3.* kernel or modules.

jxself does not have a 5.3 kernel. He has a 5.4 kernel, but the OP reports that it does not fix Abrowser like 5.3 does.

mr.r
Hors ligne
A rejoint: 07/16/2018

> Are you running Trisquel 8 or Trisquel 9? If you are running Trisquel 9, then 5.3 should be available.

I am running Trisquel 9 when I $sudo apt list linux-modules*.
I tried $sudo apt update, $sudo apt-get update.
Looking in the 'sources.list' and 'sources.list.save', I do not see that repository address.

I notice that is not https, but rather http. "eff" had convinced me to avoid the latter.

What is your advice on the trust issue?

Can I merely add that repository to the 'sources.list' and 'sources.list.save' files? (I'll try it while awaiting.)
And will apt then make use of that repository as well as those already in the files and uncommented?

mr.r
Hors ligne
A rejoint: 07/16/2018

I added http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe/ to the 'sources.list'.

Then when I $ sudo apt update:

Ign:1 http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe etiona InRelease
Err:2 http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe etiona Release
404 Not Found [IP: 209.51.188.51 80]
Reading package lists... Done
E: The repository 'http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe etiona Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> Looking in the 'sources.list' and 'sources.list.save', I do not see that repository address.

It's not a repository address. It's a subdirectory of the "pool" directory of Trisquel's repository. I linked to it to demonstrate that it contains

* linux-modules-5.3.0-62-generic_5.3.0-62.56~18.04.1+9.0trisquel1_amd64.deb
* linux-modules-extra-5.3.0-62-generic_5.3.0-62.56~18.04.1+9.0trisquel1_amd64.deb
* linux-image-5.3.0-62-generic_5.3.0-62.56~18.04.1+9.0trisquel1_amd64.deb

which appear to be 5.3 kernel packages for Trisquel 9. I also just booted into a Trisquel 9 system to confirm that those packages are available in apt.

> I notice that is not https, but rather http. "eff" had convinced me to avoid the latter.

HTTP is insecure on its own. On the web, it is better to use HTTPS, which adds encryption (making the data unreadable during transit) and authentication (verifying that the data has not been tampered with in transit) via TLS. Encryption is important if you are transferring sensitive information. Authentication is important for preventing MITM attacks.

When installing a package from an apt repository, apt uses PGP for authentication, which protects you from MITM attacks. Therefore, TLS is not needed for authentication in this particular situation. The only advantage of using HTTPS here would be encryption. Since the information in Trisquel's repositories is public, it is not sensitive, so encryption is not crucial. HTTPS+PGP would be more secure if, for instance, you were worried about an attacker knowing what packages you are installing. For a typical threat model though, HTTP+PGP is good enough.

mr.r
Hors ligne
A rejoint: 07/16/2018

I see this http://archive.trisquel.info/trisquel/pool/main/l/linux-hwe/
block-modules-5.3.0-69-generic-di_5.3.0-69.65+9.0trisquel2_i386.udeb

Obviously, I am giving a bad command on the terminal commandline.
I will have to study for a while until I stumble upon something related and hopefully an epiphany as to how apt is able to be used.

Thank you for your efforts in assisting me.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

$ sudo apt install linux-image-5.3.0-62-generic linux-modules-5.3.0-62-generic linux-modules-extra-5.3.0-62-generic

Does that really not work? If not, post the output of

$ cat /etc/apt/sources.list

mr.r
Hors ligne
A rejoint: 07/16/2018

Thanks.
I try to figure out what is going to be 'installed' before I give the command, but since this is still a test of this new version, I went ahead.
I am still looking for a resolution to the initial Abrowser font rendering problem. Which, by the way, I find is resolved when the viewable browser screen realestate (not including the menus) is reduced to approximately 60% of the full monitor screen size. Because of this and other clues, I am still skeptical about it being either the graphic card, driver or the kernel. But we must also trial by...

Presario v3000
Trisquel_9.0_i686
Note: i686 not amd64

$ sudo apt install linux-image-5.3.0-62-generic linux-modules-5.3.0-62-generic linux-modules-extra-5.3.0-62-generic
[sudo] password for :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-image-5.3.0-62-generic
E: Couldn't find any package by glob 'linux-image-5.3.0-62-generic'
E: Couldn't find any package by regex 'linux-image-5.3.0-62-generic'
E: Unable to locate package linux-modules-5.3.0-62-generic
E: Couldn't find any package by glob 'linux-modules-5.3.0-62-generic'
E: Couldn't find any package by regex 'linux-modules-5.3.0-62-generic'
E: Unable to locate package linux-modules-extra-5.3.0-62-generic
E: Couldn't find any package by glob 'linux-modules-extra-5.3.0-62-generic'
E: Couldn't find any package by regex 'linux-modules-extra-5.3.0-62-generic'

$ cat /etc/apt/sources.list
# deb cdrom:[Trisquel 9.0 _etiona_ - Release i686 (20201018)]/ etiona main

# Trisquel repositories for supported software and updates
deb https://archive.trisquel.info/trisquel/ etiona main
deb https://archive.trisquel.info/trisquel/ etiona-security main
# deb https://archive.trisquel.info/trisquel/ etiona-backports main
# deb-src https://archive.trisquel.info/trisquel/ etiona-backports main

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

You are missing Trisquel's "updates" repository. Add the following line to your sources.list:

deb https://archive.trisquel.info/trisquel/ etiona-updates main

mr.r
Hors ligne
A rejoint: 07/16/2018

Hello chaosmonk,

I added the "updates" repository to the sources.list and was able to install 5.3.0-62-generic for i686.
I rebooted and checked to see on the boot menu that the top (default) selection is 5.3.0-62-generic, and booted.

The return on $ 'uname -a':
5.3.0-62-generic #56~18.04.1+9.0trisquel1 SMP Thu Jul 16 19:43:16 UTC 2020 i686 i686 i686 GNU/Linux

Alas, the Abrowser font rendering is still the same, broken text. As above, the problem resolves when the viewable browser window is shrunk, but now to about 50% (5" out of the 10" verticle).
Also, the sound test fails to produce sound. I don't remember having tested sound with the original kernel. I'll try it and confirm result.

update: I reverted to 4.15.0-121-generic #123+9.0trisquel6 SMP Sun Oct 18 01:06:22 UTC 2020 i686 i686 i686 GNU/Linux.
The sound test produce good sound with this kernel.

Now, I will try to change the default kernel boot order.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> Now, I will try to change the default kernel boot order.

Just remove the 5.3 kernel if you don't want to use it.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> Now, I will try to change the default kernel boot order.

Just remove the 5.3 kernel if you don't want to use it.

mr.r
Hors ligne
A rejoint: 07/16/2018

Thanks.
I do not know the command to completely remove the newer kernel. I'll read up on it.

Meanwhile, trying to figure out how to change either the grub entry order, or to prefer the second choice over the first, I have yet to succeed or find an adequate reference how to.

However, on this last unsuccessful try, after it booted the 5.3* kernel, the sound works. I don't know if it was something I did.
Further confirmation of I have a lot more to learn.

update: I used apt-get purge to remove three packages.
So I successfully arrived at what looks like where I started, but at a later time.

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> I do not know the command to completely remove the newer kernel.

Just "sudo apt remove" the kernel packages that you "sudo apt install"ed. The only reason I suggested you try the 5.3 kernel was that the OP reported that it helped. Since it didn't help you, you might as well just stick with 4.15.

Since I don't have a working X60, I can't help troubleshoot any further. Sorry.