Vanilla Dpup 10 - beta

Moderators: dimkr, Forum moderators

JimE
Posts: 7
Joined: Sat Jun 17, 2023 6:04 pm

Re: Vanilla Dpup 10 - beta

Post by JimE »

Brilliant! With your change it starts up as expected. Thank you very much and sorry for the lack of important detail in my initial post.

d-pupp
Posts: 204
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 113 times
Been thanked: 42 times

Re: Vanilla Dpup 10 - beta

Post by d-pupp »

Re issue with random slow Firefox startup

I am using 10.0.18 as my daily driver
Firefox 102.13.0esr 64 bit
Custom local home page
auto update add-ons turned off
I have noticed that randomly Firefox will be very slow to start up. Sometimes 20-30 seconds
I have tried opening a terminal and looking at top but it shows nothing
This time I did a ps | grep

Code: Select all

ps | grep firefox
 5493 spot      0:00 /usr/lib/firefox-esr/firefox-esr.bin
 5529 spot      0:00 [firefox-esr.bin]
 5656 root      0:00 grep --color=auto firefox

and

Code: Select all

dmesg | grep firefox
[  240.105720] firefox-esr.bin[5531]: segfault at 7fa1810fef38 ip 00007fa18154c5ba sp 00007fa1810fef40 error 7 likely on CPU 1 (core 1, socket 0)

A search online has not shown any results

Is anyone else having this issue?

User avatar
rockedge
Site Admin
Posts: 5898
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2123 times
Been thanked: 2230 times
Contact:

Re: Vanilla Dpup 10 - beta

Post by rockedge »

I am also seeing this behavior in both F96-CE_4 (102.13.0esr), KLV-Airedale-sr2 and KLV-Spectr-beta2 (115.0.2).

bigpuppyfan
Posts: 76
Joined: Fri Feb 12, 2021 1:20 pm
Has thanked: 13 times
Been thanked: 15 times

Re: Vanilla Dpup 10 - beta

Post by bigpuppyfan »

Undoubtedly on behalf of the puppy user community, many thanks to all developers for their continued efforts, hosts, and dimkr for creating and maintaining vanilla dpup.

Just my feedback on what I found, don't expect any fixes, it's just in case someone else has had one of these problems and knows of a solution

- It booted fine (v10, wayland). One of the first things I tried was to run redshift. I saw a post earlier in that the shortcut is there, but not the program itself, so installed the .pet. While it launches, moving the bar on the gamma or brightness doesn't do anything. This is on nouveau that is included in the zdrv. Tried installing the full version of redshift and running it on terminal (mode - wayland). Still nothing.

- I thought maybe the problem is with nouveau not being fully ready for wayland. I was going to change to nvidia anyway. But I only run puppy in mode 5. To compile an nvidia driver in this mode, the way I usually do it is blacklisting nouveau at boot first. However, when doing this, I'm unable to start the desktop environment (forgot what is called now, but the equivalent to xwin). It just quits to a prompt when started.

- I also tried the retro version. Installed the devx.sfs from fossa 9.5 and an updated gcc. However, the devx, as a loaded sfs (through the aufs simulation), does not seem functional and can't compile

- Also noticed that sandbox.sh comes included, but is not functional of course (it is what I would have used to know which files were created by the compiler, to merge with zdrv). Not sure if there is anything equivalent

- Finally, tried using the kernel I used with fossa (5.4.249) and zdrv (renamed accordingly, already included the nvidia driver), but wouldn't work with vanilla (no mouse, vesa only). Presumably because the kernel is aufs so I'm guessing only the main sfs really loaded

dimkr
Posts: 2051
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 39 times
Been thanked: 945 times

Re: Vanilla Dpup 10 - beta

Post by dimkr »

bigpuppyfan wrote: Mon Aug 07, 2023 12:36 am

- It booted fine (v10, wayland). One of the first things I tried was to run redshift.

Redshift doesn't support Wayland, and some alternatives work only with certain Wayland compositors.

bigpuppyfan wrote: Mon Aug 07, 2023 12:36 am

- I thought maybe the problem is with nouveau not being fully ready for wayland. I was going to change to nvidia anyway. But I only run puppy in mode 5. To compile an nvidia driver in this mode, the way I usually do it is blacklisting nouveau at boot first. However, when doing this, I'm unable to start the desktop environment (forgot what is called now, but the equivalent to xwin). It just quits to a prompt when started.

Yes, you must have some KMS-capable GPU driver to start the compositor. Install the NVIDIA driver first, then disable nouveau, if you don't want to do this from the terminal.

bigpuppyfan wrote: Mon Aug 07, 2023 12:36 am

- I also tried the retro version. Installed the devx.sfs from fossa 9.5 and an updated gcc. However, the devx, as a loaded sfs (through the aufs simulation), does not seem functional and can't compile

The devx and the kernel from 9.5 won't work, because the structure is different and there's a 3 years gap in terms of package versions. And if you only take zdrv from 9.5, this won't do anything, because the kernel is different and can't use the old drivers.

If you want to build something and use it in the retro flavor, your best bet is to use one of the other flavors (after apt update && apt install gcc libc6-dev, etc') to build, then use the build output with the retro flavor.

bigpuppyfan
Posts: 76
Joined: Fri Feb 12, 2021 1:20 pm
Has thanked: 13 times
Been thanked: 15 times

Re: Vanilla Dpup 10 - beta

Post by bigpuppyfan »

Thanks for your kind input dimkr

And if you only take zdrv from 9.5, this won't do anything, because the kernel is different and can't use the old drivers.

I had used the kernel I use with fossa (5.4.249) with the accompanying zdrv

But dwl wouldn't launch. On further inspection, it seems that the stack is not created correctly. At boot, the main sfs, zdrv, fdrv, etc are loaded into ram (under this aufs kernel). But immediately after, the new zram function fails to load (when using this kernel, not the original).

On terminal, I see that while losetup lists the sfs's, none of their content, aside from the main sfs, is visible. eg. /lib/modules is empty. /initrd/ does not have pup_z (or _f, etc). Thus it's not possible to modprobe anything, and dwl of course fails without an appropriate video driver

So I've had a look at init and rc.sysinit to see if there were any changes. The error occurs before zram (as it cannot modprobe it), so I would presume it would be within the init script. I couldn't find anything in particular in the new changes (but I'm not a programmer). Plus, I even tried booting (with the above aufs kernel / zdrv) using the fossa9.5 initrd.gz (only updated DISTRO_SPECS), but the same result: sfs's load into ram, but seemingly not into the stack, so presumably the issue really is not in init either. But am clueless as to where the issue may be.

All the above can be made irrelevant if it were possible to build and use the nvidia driver in PUPMODE 5 with overlay, but am not seeing how, which is why aufs seems to be necessary. In this mode, I build the driver under the sandbox (sandbox.sh script), and merge thereafter the new files in the sandbox with zdrv.

dimkr
Posts: 2051
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 39 times
Been thanked: 945 times

Re: Vanilla Dpup 10 - beta

Post by dimkr »

I wouldn't be surprised if that kernel is way too old for a modern Wayland compositor.

And you need to rebuild zdrv: move /lib/modules to /usr/lib/modules.

Post Reply

Return to “Vanilla Dpup”