Debian Buster/Sid PPC64

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 11080
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Debian Buster/Sid PPC64

Post by xeno74 »

Hypex wrote: Mon Apr 28, 2025 8:46 am I've got SeaLion working on my Debian 64!

I needed the libffi6 package. I didn't need the libjpeg8 package but I located it just in case. I've found a snapshot for both PPC32 and PPC64.

FFI6:
https://snapshot.debian.org/archive/deb ... _ppc64.deb
https://snapshot.debian.org/archive/deb ... owerpc.deb

JPEG8:
https://snapshot.debian.org/archive/deb ... _ppc64.deb
https://snapshot.debian.org/archive/deb ... owerpc.deb
Thank you for the links and for testing SeaLion. :-)
User avatar
sailorMH
Posts: 288
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

Yesterday I upgraded my Debian Sid Bookworm installation to Debian Sid/forky ( snapshot from 2025-08-21 19:45 ).
After installation xserver not started:

Code: Select all

[    54.753] (EE) 
[    54.753] (EE) Backtrace:
[    54.754] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.755] (EE) 0: /usr/lib/xorg/Xorg (?+0x0) [0x11dbd4b1c]
[    54.756] (EE) 1: linux-vdso64.so.1 (?+0x0) [0x3fff81182464]
[    54.757] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.757] (EE) 2: /usr/lib/xorg/modules/drivers/radeon_drv.so (?+0x0) [0x3fff7fc698dc]
[    54.758] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.758] (EE) 3: /usr/lib/xorg/Xorg (?+0x0) [0x11da2b738]
[    54.759] (EE) 4: /usr/lib/xorg/Xorg (AddScreen+0xf0) [0x11d9d0fc0]
[    54.760] (EE) 5: /usr/lib/xorg/Xorg (InitOutput+0x348) [0x11da2d978]
[    54.761] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.761] (EE) 6: /usr/lib/xorg/Xorg (?+0x0) [0x11d9d679c]
[    54.762] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.762] (EE) 7: /usr/lib/xorg/Xorg (?+0x0) [0x11d9b5af0]
[    54.764] (EE) unw_get_proc_name failed: no unwind info found [-10]
[    54.764] (EE) 8: /lib/powerpc64-linux-gnu/libc.so.6 (?+0x0) [0x3fff80756c84]
[    54.765] (EE) 9: /lib/powerpc64-linux-gnu/libc.so.6 (__libc_start_main+0x1c8) [0x3fff80756ee8]
[    54.766] (EE) 
[    54.766] (EE) Segmentation fault at address 0xc
[    54.766] (EE) 
Fatal server error:
[    54.766] (EE) Caught signal 11 (Segmentation fault). Server aborting
I "solved" this with renaming /usr/lib/xorg/modules/libglamoregl.so, now I can log to desktop, but without 2D acceleration. Do somebody know, how to fix it?
Maybe this Mesa fix will work? viewtopic.php?p=60770#p60770
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
sailorMH
Posts: 288
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

Mesa fix works on ppc-64 with little changes:
apt-mark hold instead of apt hold and problem with keys --allow-unauthenticated --allow-insecure-repositories

Code: Select all

echo '## MintPPC64 additional repository
deb [signed-by=/etc/apt/keyrings/MintPPC64_additional_repository.asc] http://u58733p55594.web0093.zxcs-klant.nl/mesa-64 ./' >> /etc/apt/sources.list
apt update --allow-unauthenticated --allow-insecure-repositories
apt install libegl-mesa0=24.1.6-1 libgbm1=24.1.6-1 libgl1-mesa-dri=24.1.6-1 \
libglx-mesa0=24.1.6-1 mesa-va-drivers=24.1.6-1 mesa-vdpau-drivers=24.1.6-1 \
mesa-vulkan-drivers=24.1.6-1
sudo apt-mark hold libegl-mesa0=24.1.6-1 libgbm1=24.1.6-1 libgl1-mesa-dri=24.1.6-1 \
libglx-mesa0=24.1.6-1 mesa-va-drivers=24.1.6-1 mesa-vdpau-drivers=24.1.6-1 \
mesa-vulkan-drivers=24.1.6-1
Image

Unfortunatelly, in my snapshot are broken gimp so I have to find snapshot where it works...
Did somebody know, which snapshot is best to use? I.e. with minimum broken packages.
I am used mainly Libre Office and Gimp ;-)
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 11080
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Debian Buster/Sid PPC64

Post by xeno74 »

sailorMH wrote: Sat Mar 07, 2026 6:04 pm Mesa fix works on ppc-64 with little changes:
apt-mark hold instead of apt hold and problem with keys --allow-unauthenticated --allow-insecure-repositories
Good to know. Thank you.
sailorMH wrote: Sat Mar 07, 2026 6:04 pm Unfortunatelly, in my snapshot are broken gimp so I have to find snapshot where it works...
Did somebody know, which snapshot is best to use? I.e. with minimum broken packages.
I am used mainly Libre Office and Gimp ;-)
Do you mean a screenshot utility? I use gnome-screenshot on MintPPC32.
User avatar
sailorMH
Posts: 288
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

xeno74 wrote: Sun Mar 08, 2026 7:03 am
sailorMH wrote: Sat Mar 07, 2026 6:04 pm Unfortunatelly, in my snapshot are broken gimp so I have to find snapshot where it works...
Did somebody know, which snapshot is best to use? I.e. with minimum broken packages.
I am used mainly Libre Office and Gimp ;-)
Do you mean a screenshot utility? I use gnome-screenshot on MintPPC32.
I mean Debian snapshots https://snapshot.debian.org/archive/deb ... 0T014110Z/.
I am used them in apt/sources.list instead of plain unstable. Because unstable has very often broken packages dependencies, for me is better to point at some exact snapshot and have my main working linux fixed here.
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 972
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Debian Buster/Sid PPC64

Post by Hypex »

sailorMH wrote: Sun Mar 08, 2026 10:19 am I am used them in apt/sources.list instead of plain unstable. Because unstable has very often broken packages dependencies, for me is better to point at some exact snapshot and have my main working linux fixed here.
Is this Mint install base? As I see some Mint repos in your sources list. I gave on up Mint because some packages are broken and have some kind of Clang error. For example Zenity won't work. Gives some kind of relocation error associated to Clang or something similar.

OTOH Debian Sid works well enough. I have no major issues and it works quite well and stable. But, almost opposite to Linux PPC in general, there's too many updates! However, my system lacks a history buffer in terminals, as it's wiped on every boot. I don't know why, as my terminal settings have it activated, so I kinda gave up on using it more as annoying things not working are not worth my time trying to fix.

Lately I've been spending more time testing kernels which can be time consuming enough and more so if I test it across different installs I have. :-)
User avatar
sailorMH
Posts: 288
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

Hypex wrote: Sun Mar 08, 2026 4:54 pm Is this Mint install base? As I see some Mint repos in your sources list. I gave on up Mint because some packages are broken and have some kind of Clang error. For example Zenity won't work. Gives some kind of relocation error associated to Clang or something similar.
No, it is Debian Sid. Mint in sources.list is only for Mesa downgrade.
Hypex wrote: Sun Mar 08, 2026 4:54 pm OTOH Debian Sid works well enough. I have no major issues and it works quite well and stable. But, almost opposite to Linux PPC in general, there's too many updates! However, my system lacks a history buffer in terminals, as it's wiped on every boot. I don't know why, as my terminal settings have it activated, so I kinda gave up on using it more as annoying things not working are not worth my time trying to fix.

Lately I've been spending more time testing kernels which can be time consuming enough and more so if I test it across different installs I have. :-)
Do you have in sources.list unstable ?
I had unstable there some time, but I often ended with broken packages or non-working apps like Libre office or Gimp.
Now I am using instead of directly unstable some exact snapshot. Mostly that one where JP Adrian Glaubitz made installation snapshot.
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 972
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Debian Buster/Sid PPC64

Post by Hypex »

sailorMH wrote: Sun Mar 08, 2026 8:48 pm No, it is Debian Sid. Mint in sources.list is only for Mesa downgrade.
Okay, I have both Debian and Mint installed, but only Mint has those Mint sources. I applied the apt pin to hold back Mesa but don't recall where now. Would be on here somewhere.
Do you have in sources.list unstable ?
I had unstable there some time, but I often ended with broken packages or non-working apps like Libre office or Gimp.
Now I am using instead of directly unstable some exact snapshot. Mostly that one where JP Adrian Glaubitz made installation snapshot.
Yes I do. I realised after rereading my post it would have been beneficial to post my Debian sources.list. So here it is. Apt also keeps telling me about converting it to a modern list. But, I tried that once, and it broke my sources, so I went back to a classic list.

Code: Select all

# deb cdrom:[Debian GNU/Linux 12.0.0 _Sid_ - Unofficial ppc64 NETINST 20240225-20:36]/ sid main

# binary default
deb http://ftp.ports.debian.org/debian-ports/ unstable main
deb http://incoming.ports.debian.org/buildd/ unstable main
deb http://ftp.ports.debian.org/debian-ports/ unreleased main

# contrib and non-free arch:all packages (i.e. firmware)
deb [arch=all] http://ftp.debian.org/debian/ unstable non-free-firmware non-free contrib

# source
deb-src http://ftp.debian.org/debian/ unstable main
deb-src http://incoming.debian.org/debian-buildd/ buildd-unstable main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
User avatar
sailorMH
Posts: 288
Joined: Wed Aug 28, 2013 7:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

Thanks! I will try and look if something will be broken.
I am using:

Code: Select all

deb [trusted=yes] https://snapshot.debian.org/archive/debian-ports/20250810T014110Z/ sid main contrib
deb [trusted=yes] http://ftp.de.debian.org/debian-ports/ sid non-free non-free-firmware
## MintPPC64 additional repository
deb [signed-by=/etc/apt/keyrings/MintPPC64_additional_repository.asc] http://u58733p55594.web0093.zxcs-klant.nl/mesa-64 ./
in this snapshot not works Gimp and some minor things, others works
Mintppc repo is for downgrade mesa
A1200, Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, Sam460LE, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
Post Reply