PaleMoon problem with Ubuntu 22.04 upgrade

General project discussion.
Use this as a last resort if your topic does not fit in any of the other boards but it still on-topic.
Forum rules
This General Discussion board is meant for topics that are still relevant to Pale Moon, web browsers, browser tech, UXP applications, and related, but don't have a more fitting board available.

Please stick to the relevance of this forum here, which focuses on everything around the Pale Moon project and its user community. "Random" subjects don't belong here, and should be posted in the Off-Topic board.
tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-06, 21:31

I have a Dell Inspiron 1564 laptop running Ubuntu 20.04 & Pale Moon 29.4.6 that I use to check all updates before installing on my main desktop computers.
I recently upgraded Ubuntu 20.04 lts to 22.04 lts. No problems with upgrade to 22.04.

Firefox(which I rarely use) opens without any problems.

Tried to open Pale Moon. Browser page tried to open and immediately sent me to Ubuntu signin page to enter password. Tried several times with same results.

Removed Pale Moon and installed an older version of Pale Moon. Same result. New version or older version as soon as I click on icon, page flashes and sends me to password signn page.

Have never had this problem with other upgrades.

User avatar
ron_1
Moon Magic practitioner
Moon Magic practitioner
Posts: 2728
Joined: 2012-06-28, 01:20

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by ron_1 » 2022-05-06, 23:59

Did you try it in a new clean profile?

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-07, 02:42

ron_1--Thanks for replying.
Can not make a new profile as the screen flashes and then disappears before I can move my mouse. The next time it opens in safe mode screen with the 5 options. I have tried one at a time and all 5 at once.
Results is the same as PM page flashes then disappears before I can move mouse.
I think I have downloaded a beta version of LTS as I just read the main LTS version will be 22.04.1 in August for main upgrade.
I am going to go back to 20.04 and wait for 20.04.1 and see if that corrects problem.

Thanks for replying.

User avatar
The Squash
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2021-03-19, 19:39

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by The Squash » 2022-05-07, 04:18

22.04.1 is not the main release of 22.04 -- 22.04 is the main one; 22.04.1 is the first major update release.

As for the crash on hand, it sounds like you're getting logged out of your session pretty soon after starting Pale Moon; is that correct?

If so, please log in, launch Pale Moon, and when the crash occurs, log back in, open the file /var/log/Xorg.0.log.old and paste the contents of it into a post here (within code tags, please).
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

User avatar
Pentium4User
Keeps coming back
Keeps coming back
Posts: 838
Joined: 2019-04-24, 09:38

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by Pentium4User » 2022-05-07, 04:46

The Squash wrote:
2022-05-07, 04:18
22.04.1 is not the main release of 22.04 -- 22.04 is the main one; 22.04.1 is the first major update release.
22.04.1 isn't even released, so he can't use it now. I use Pale Moon on Ubuntu 22.04 with Xorg, I don't have this problem (yet).
I still use a 64 bit capable Pentium 4 670 processor with Pale Moon.

User avatar
The Squash
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2021-03-19, 19:39

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by The Squash » 2022-05-08, 00:17

OK, correction: 22.04.1 will be the first update release.

As for the subject matter itself, it's unsurprising that you don't run into this issue yourself, Pentium4User. I find it unlikely that you are running an Intel Nehalem processor with first-generation HD Graphics (on-chipset instead of on-CPU), and/or one of two discrete ATI graphics chips, in a 13-year-old laptop. Believe me, if past experience is any guide, these logouts are graphics-card- and graphics-driver- specific.

(BTW, the above was a description of the system the OP is using, as far as I could ascertain from the laptop's specs sheet from Intel.)
Off-topic:
That must have been a really expensive laptop...
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-08, 23:40

The Squash----Thanks for the reply.
My laptop was given to me so long ago I can't remember when. I knew it was on its last legs but it would run Ubuntu 20.04.

I upgraded Ubuntu 22.04 on one of my desktop computer and even though it upgraded to 22.04, Pale Moon still would not open.

I then upgraded another desktop that is uefi and has W11 on it. Upgrade was fine and Pale Moon works fine on it. I am typing on it now.

So you are right in your evaluation as it seems the graphics cards in the older machines will let Ubuntu 22.04 run but not Pale Moon.

So it seems that I must eventually upgrade to uefi computers to get PaleMoon to run in Ubuntu 22.04.

Thanks for everyone's replys.

User avatar
The Squash
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2021-03-19, 19:39

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by The Squash » 2022-05-11, 01:11

Whoa, not so fast.

I'm going to get myself in trouble for even suggesting this, but if you're having trouble with graphics issues and Pale Moon, try disabling Pale Moon's use of GPU acceleration (the Pale Moon GPU acceleration implementation is known to be buggy on Linux). There's now an entry in the Pale Moon Preferences dialog for that (actually two entries), but since you can't even open Pale Moon, it looks like you are going to have to do this the quick-and-dirty way. Run this series of terminal commands (as your normal user, not as sudo):

Code: Select all

for PROFILE_PATH in $(grep '^Path=' \
 ~/.moonchild\ productions/pale\ moon/profiles.ini | \
 sed -E 's/^Path=//g'); do
    echo -e 'user_pref("layers.acceleration.enabled", false);\n'\
'user_pref("layers.acceleration.force-enabled", false);' \
 >> ~/.moonchild\ productions/pale\ moon/${PROFILE_PATH}/prefs.js
done
Then try starting Pale Moon again. If it still won't start / logs the system out, I'd at least like to see the contents of your /var/log/Xorg.0.log.old; if nothing else, it's information for future users who come across this issue.

Thanks in advance.
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-11, 02:35

The Squash--I have never done anything like that but I am willing to try because I always clone my HD's before trying anything.

I have already restored 20.04 on the two computers that I tried 22.04. I have some family matters that need my attention so it might be toward the end of the week before I can try this. Should be quite interesting.

So I copy and paste your code in the terminal and run it?

What steps do I do to get the /var/log/Xorg.0.log.old log.

I have never tried to find logs as I don't understand them.

Sorry to be so dense.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3954
Joined: 2015-12-09, 15:45
Contact:

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by moonbat » 2022-05-11, 04:06

The Squash wrote:
2022-05-11, 01:11
I'm going to get myself in trouble for even suggesting this
Why would you? Toggling hardware acceleration is the first thing to try if you face any video related issues.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
The Squash
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2021-03-19, 19:39

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by The Squash » 2022-05-11, 22:38

tman801 wrote:
2022-05-11, 02:35
So I copy and paste your code in the terminal and run it?
Correct.
tman801 wrote:
2022-05-11, 02:35
What steps do I do to get the /var/log/Xorg.0.log.old log
Open your favourite text editor, use the Open feature in your text editor to open the file, then paste the contents of the file into a post here (it would be very much appreciated if you surrounded the pasted text in code tags, by selecting the pasted text in the post editor and clicking the "</>" button above the post editor).

You can instead use your file manager to navigate to the folder /var/log, and then double-click on the file called Xorg.0.log.old, if you'd prefer.

Finally, if the above two methods say that you don't have the necessary permission to read the file (I'm not sure why this would happen, but just in case), you can instead run this command in the terminal:

Code: Select all

sudo gedit /var/log/Xorg.0.log.old
(If even that doesn't work, replace gedit with the name of your favourite text editor. Chances are, though, since you're using [ I assume ] stock Ubuntu, you'll have GEdit.)
* * *
Off-topic:
moonbat wrote:
2022-05-11, 04:06
The Squash wrote:
2022-05-11, 01:11
I'm going to get myself in trouble for even suggesting this
Why would you?
Because it's generally frowned upon to edit the prefs.js file by hand, as the aforementioned command would do. I don't see any other way to go about this, though, so the "frowned upon" method may just be the only method.
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-11, 23:53

Thanks The Squash---I learned something new today.

Will try to attempt this maybe this weekend.

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-13, 15:39

OK update:
I updated Palemoon to 31.0 and all of my extensions including Password Backup Tool 1.4.1 and Zoom Page 15.8 all work. My theme Walnutty would not so I will have to wait for an update on it.
I then upgraded one of my old desktops from Ubuntu 20.04 to 22.04. It upgraded fine. However PaleMoon still would not work.
Tried what The Squash suggested on running his code. No difference.
Tried everything The Squash posted on finding (/var/log/Xorg.0.log.old ) always got no file.
Tried the sudo command and got a blank popup.

User avatar
The Squash
Apollo supporter
Apollo supporter
Posts: 37
Joined: 2021-03-19, 19:39

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by The Squash » 2022-05-13, 18:28

I'm out of ideas. Anybody?
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

User avatar
andyprough
Fanatic
Fanatic
Posts: 236
Joined: 2020-05-31, 04:33

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by andyprough » 2022-05-13, 20:28

I've never used Ubuntu and I don't use distro version auto-upgrades. On antiX I back up the user data and wipe the partitions clean and install the new version from scratch, but since that's only necessary once every 2 years it's not much trouble. Wiping and re-installing is what I would be doing if I were the OP at this point, but there's probably some technical solution the OP can find somewhere if they have enough time to keep looking.
Self-compiled Pale Moon on Libre-antiX GNU/Linux respin, 32-bit and 64-bit, and on Hyperbola GNU/Linux 64-bit

vannilla
Board Warrior
Board Warrior
Posts: 1911
Joined: 2018-05-05, 13:29

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by vannilla » 2022-05-16, 20:41

Try running

Code: Select all

find ~ -name 'Xorg*log*'
just in case. If you are not sure how to interpret the results (assuming it prints anything) just post here.

User avatar
kanro828
New to the forum
New to the forum
Posts: 1
Joined: 2022-05-18, 21:25

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by kanro828 » 2022-05-18, 21:45

This sounds very much like X crashing under the newer Mesa 22.x that Ubuntu 22.04 ships with, due to Mesa 22.x using the newer "crocus" driver instead of the "i965" driver in Mesa 21.x. It only happens on older Intel graphics hardware.

I'm experiencing the same issue (X crashing e.g. when clicking an icon in Palemoon) under Gentoo with Palemoon 31.0.0 (though I don't think it matters whether it is 29.x or 31.x) on my Dell Latitude E6510. On another AMD Ryzen machine I don't experience any crashes.

This bug report has more details https://bugs.gentoo.org/843272 - I've resolved it for now by downgrading to Mesa 21.x on Gentoo. I don't know if this is possible to do easily in Ubuntu 22.04.

You can tell if you are using the newer crocus Mesa 22.x driver as you will have this line in /var/log/Xorg.0.log :
(II) modeset(0): [DRI2] DRI driver: crocus

whereas with the Mesa 21.x i965 driver that does not crash it will be:
(II) modeset(0): [DRI2] DRI driver: i965

If it is the same issue the OP will find this exact error if they look at the very bottom of their /var/log/Xorg.0.log from the crashed session:

Code: Select all

Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

Program source:
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#define RepeatNone                        0
#define RepeatNormal                     1
#define RepeatPad                        2
#define RepeatReflect                    3
#define RepeatFix                     10
uniform int          source_repeat_mode;
uniform int          mask_repeat_mode;
vec2 rel_tex_coord(vec2 texture, vec4 wh, int repeat)
{
   vec2 rel_tex;
   rel_tex = texture * wh.xy;
   if (repeat == RepeatFix + RepeatNone)
      return rel_tex;
   else if (repeat == RepeatFix + RepeatNormal)
      rel_tex = floor(rel_tex) + (fract(rel_tex) / wh.xy);
   else if (repeat == RepeatFix + RepeatPad) {
      if (rel_tex.x >= 1.0)
         rel_tex.x = 1.0 - wh.z * wh.x / 2.;
      else if (rel_tex.x < 0.0)
         rel_tex.x = 0.0;
      if (rel_tex.y >= 1.0)
         rel_tex.y = 1.0 - wh.w * wh.y / 2.;
      else if (rel_tex.y < 0.0)
         rel_tex.y = 0.0;
      rel_tex = rel_tex / wh.xy;
   } else if (repeat == RepeatFix + RepeatReflect) {
      if ((1.0 - mod(abs(floor(rel_tex.x)), 2.0)) < 0.001)
(EE)
Fatal server error:
(EE) GLSL compile failure
(EE)
(EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/jack/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.

tman801
Fanatic
Fanatic
Posts: 125
Joined: 2014-10-26, 18:50
Location: Gilbert, Wv.

Re: PaleMoon problem with Ubuntu 22.04 upgrade

Unread post by tman801 » 2022-05-22, 21:00

Thanks for replying Kanro828.
I found where my xorg was at and on upgraded 22.04 machines it shows the crocus driver. After updating Pm to 31.0 it works fine on both computers.
On my dell 960 ubuntu 22.04 it doesn't matter if PM is updated to 31. It still crashes when opened. The driver is crocus.
I only use this computer for testing things like now.

Is there a way to revert this computer back to mesa 21 i965 driver and still use 22.04?
Thanks.

Post Reply