...or get killed at user logonNow to keep it from starting up automatically....
...or get killed at user logonNow to keep it from starting up automatically....
error while loading shared libraries: libatomic.so.1: wrong ELF class: ELFCLASS32
Thanks for the reply.Interesting. I'll have to look in to that next time i fire up the dual G5. It's working on that machine, but i haven't installed any void updates in months. It's possible that some update broke it, or possibly i packaged the wrong version.
I never built spidermail for void 64 as it already has a recent thunderbird. You could build it if you'd like, sure. Download this archive which contains the source for spiderweb/spidermail/interweb and faded orb. Then grab this archive which is the modified UXP (mozilla) backend code. The packages you'll need to build it would be gcc, yasm, autoconf213, python27 and ccache and whatever voids equivalent to debians "build-essential" package would be, which included most of the basic -dev packages needed to build stuff. Like gtk2-dev, glibc-dev etc.
To get *some* old firefox/palemoon add-ons/extensions to work you need to modify the extensions install.rdf and add or change the min/max version numbers and the browsers ID. See this thread. Spiderweb uses PM's ID (the first one in the photo linked), the second is firefox/basilisk, and the third is seamonkey. Hope that helps.
Cheers
sudo xbps-install -S rsync gtk+-devel python-devel autoconf213 yasm gcc glibc-devel ccache autoconf automake clang clang-analyzer clang-tools-extra libgcc-devel make zip libconfig++-devel bzip2 perl tar xz fakeroot gnupg dpkg-devel binutils-devel doxygen librpm-devel libatomic-devel GConf-devel libvpx-devel alsa-lib-devel libXt-devel python-dbus-devel wget cairo-devel cairomm-devel python-cairo-devel python3-cairo-devel libvpx5-devel libvpx-tools libpulseaudio pulseaudio-devel
tar -xvf wicknix-ppc-browser-src.tar.bz2
tar -xvf UXP4PPC32-2.2.tar.gz
cd good-source/spider-src/
rsync -av /home/dextructor/UXP/UXP4PPC32-2.2/ /home/dextructor/UXP/good-source/spider-src/
nano /home/dextructor/UXP/good-source/spider-src/.mozconfig
export CC="gcc"
export CXX="g++"
...
ac_add_options --target=powerpc64-unknown-linux-gnu
ac_add_options --host=powerpc64-unknown-linux-gnu
./mach build
3:15.40 Elapsed: 1.07s; From dist/bin: Kept 821 existing; Added/updated 0; Removed 4 files and 0 directories.
3:15.64 mozilla-config.h
3:16.76 buildid.h
3:17.80 source-repo.h
3:19.14 In file included from /usr/include/features.h:489,
3:19.14 from /usr/include/bits/libc-header-start.h:33,
3:19.15 from /usr/include/stdio.h:27,
3:19.15 from /home/dextructor/UXP/good-source/spider-src/config/nsinstall.c:10:
3:19.16 /usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file or directory
3:19.17 8 | # include <gnu/stubs-32.h>
3:19.18 | ^~~~~~~~~~~~~~~~
3:19.21 compilation terminated.
3:19.22
3:19.22 In the directory /home/dextructor/UXP/good-source/spider-src/obj-spidermail-dbg/config
3:19.23 The following command failed to execute properly:
3:19.23 /bin/gcc -m32 -std=gnu99 -o host_nsinstall.o -c -DXP_UNIX -MD -MP -MF .deps/host_nsinstall.o.pp -O2 -DNDEBUG=1 -DTRIMMED=1 -D_UNICODE -DUNICODE -I/home/dextructor/UXP/good-source/spider-src/config -I/home/dextructor/UXP/good-source/spider-src/obj-spidermail-dbg/config -I/home/dextructor/UXP/good-source/spider-src/obj-spidermail-dbg/dist/include -I/home/dextructor/UXP/good-source/spider-src/obj-spidermail-dbg/dist/include/nspr /home/dextructor/UXP/good-source/spider-src/config/nsinstall.c
3:19.23 make[5]: *** [/home/dextructor/UXP/good-source/spider-src/config/rules.mk:846: host_nsinstall.o] Error 1
3:19.24 make[4]: *** [/home/dextructor/UXP/good-source/spider-src/config/recurse.mk:71: config/host] Error 2
3:19.25 make[3]: *** [/home/dextructor/UXP/good-source/spider-src/config/recurse.mk:33: export] Error 2
3:19.25 make[2]: *** [/home/dextructor/UXP/good-source/spider-src/config/rules.mk:503: default] Error 2
3:19.26 make[1]: *** [/home/dextructor/UXP/good-source/spider-src/client.mk:414: realbuild] Error 2
3:19.26 make: *** [client.mk:170: build] Error 2
3:19.29 0 compiler warnings present.
3:19.46 Failed to parse ccache stats output: secondary config (readonly) /etc/ccache.conf
278:43.90 In file included from /usr/include/features.h:489,
278:43.90 from /usr/include/sys/types.h:25,
278:43.92 from secport.h:42,
278:43.93 from seccomon.h:27,
278:43.94 from secasn1.h:17,
278:43.98 from quickder.c:10:
278:44.00 /usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-32.h: No such file or directory
278:44.00 8 | # include <gnu/stubs-32.h>
278:44.01 | ^~~~~~~~~~~~~~~~
278:44.02 compilation terminated.
278:44.04 make[7]: *** [../../coreconf/rules.mk:393: /home/dextructor/UXP/good-source/spider-src/obj-af-dbg/security/nss/lib/util/quickder.o] Error 1
278:44.08 make[6]: *** [../coreconf/rules.mk:101: libs] Error 2
278:44.09 make[5]: *** [Makefile:458: libs-nss/lib] Error 2
278:44.09 make[4]: *** [/home/dextructor/UXP/good-source/spider-src/config/recurse.mk:71: config/external/nss/target] Error 2
278:44.12 make[3]: *** [/home/dextructor/UXP/good-source/spider-src/config/recurse.mk:33: compile] Error 2
278:44.28 make[2]: *** [/home/dextructor/UXP/good-source/spider-src/config/rules.mk:503: default] Error 2
278:44.38 make[1]: *** [/home/dextructor/UXP/good-source/spider-src/client.mk:414: realbuild] Error 2
278:44.46 make: *** [client.mk:170: build] Error 2
278:44.63 271 compiler warnings present.
278:50.69 Failed to parse ccache stats output: secondary config (readonly) /etc/ccache.conf
Ok, I already edited the .mozconfig file and about the headers I already had the "kernel-libc-headers" and just installed "linux-headers" and "python3-cppy" but I don't know if I'm missing something. In the meantime I'll just compile. Thanks for the help so far. =)Yeah, 2.5gb ram with at least 1gb swap will be enough to build it. However i can't seem to replicate your build error. To me it looks like your system is missing some dev headers yet. Here is my .mozconfig for interweb and a screenshot of interweb working on void-ppc64 (built with gcc-9.3).
Did you check if you package the right version?It's possible that some update broke it, or possibly i packaged the wrong version.
Yep, I had the same error on my A1139 after don't using for a few months and this unit have a battery that won't last 10 minutes so the time/date it's always wrong the first time, so I boot to OSX to adjust time/date and latter boot to Void for long use. I should installed some time sync deamon but with more time I'll make it right.<DOH> my date is 1970 ...
DHCP, NTP? Ever heard of such things?<DOH> my date is 1970 ...
Anybody that can give me a hint or help ,pretty please ?Looks like my PPC Linux is a bit rusty.
I don't seem to have any acceleration with this iBook G4 12" , 800Mhz, Radeon 9200 32Mb VRAM, I can see also in dmesg that it complains about a ROM not being found.
Sound ? do I use snd_powermac (which seems to work) ?
Do I add these modules to /etc/rc.conf ? or what is /etc/modules-load.d/ for ?
BCM43 WiFi is super slow but yeah guess there's not much to do there.
Overal impressed, I'm at 56 MB of RAM being used, just with st as an terminal and zsh running.
This might help for wifi. There are 2 firmware versions available. Try the other firmware. Sound just needs PCM to be unmuted. If that doesn't solve it install Quasmixer.
Cheers
I'm assuming that you installed a very minimal base system, so you need to configure it all. Assuming that you installed all things xorg related (xorg-minimal xf86-video-ati) you may have to configure it. Since I follow "old school" tutorials some parts maybe aren't so needed in modern versions ahead but works for my machines so far =)And the Radeon 9200 , anybody got any clues for that ?
lspci -v | egrep -i --color 'vga|3d|2d'
0000:04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV380 [Radeon X550/X600] (prog-if 00 [VGA controller])
sudo mkdir /etc/X11/xorg.conf.d
cd /etc/X11/xorg.conf.d
sudo nano 20-radeon.conf
Section "Device"
Identifier "Radeon"
Driver "radeon"
BusID "PCI:04:00:0" (This won't work on AGP devices and I didn't have time to search so delete this line)
Option "TearFree" "on"
EndSection
sudo xbps-install -S glxinfo mesa-demos inxi
vblank_mode=0 glxgears
inxi -G
[uz3r@snailbook ~]$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment
*********************************WARN_ONCE*********************************
File ../src/mesa/drivers/dri/r200/radeon_dma.c function r200_radeonReleaseDmaRegions line 372
Leaking dma buffer object!
***************************************************************************
514 frames in 5.0 seconds = 102.638 FPS
301 frames in 5.0 seconds = 60.030 FPS
299 frames in 5.0 seconds = 59.749 FPS
300 frames in 5.0 seconds = 59.890 FPS
^C
[uz3r@snailbook ~]$ inxi -G
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] RV280/M9+ [Mobility Radeon 9200 AGP] driver: radeon v: kernel
Display: server: X.Org 1.20.11 driver: loaded: ati,radeon unloaded: modesetting resolution: 1024x768~60Hz
OpenGL: renderer: Mesa DRI R200 (RV280 5C63) DRI2 v: 1.3 Mesa 21.1.4
[uz3r@snailbook ~]$ glinfo | grep -i render
GL_RENDERER: Mesa DRI R200 (RV280 5C63) DRI2
[uz3r@snailbook ~]$ glinfo | grep -i vendor
GL_VENDOR: Mesa Project
[uz3r@snailbook ~]$ sudo dmesg | grep -i radeon
[ 15.242156] [drm] radeon kernel modesetting enabled.
[ 15.242424] fb0: switching to radeondrmfb from OFfb ATY,Via_A
[ 15.244822] fb1: switching to radeondrmfb from OFfb ATY,Via_B
[ 15.248228] radeon 0000:00:10.0: vgaarb: deactivate vga console
[ 15.248678] radeon 0000:00:10.0: enabling device (0006 -> 0007)
[ 15.253306] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[ 15.253351] radeon 0000:00:10.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000
[ 15.253367] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS ROM
[ 15.254412] radeon 0000:00:10.0: VRAM: 128M 0x0000000098000000 - 0x000000009FFFFFFF (32M used)
[ 15.254430] radeon 0000:00:10.0: GTT: 512M 0x0000000078000000 - 0x0000000097FFFFFF
[ 15.261654] [drm] radeon: 32M of VRAM memory ready
[ 15.261670] [drm] radeon: 512M of GTT memory ready.
[ 15.273300] radeon 0000:00:10.0: WB disabled
[ 15.273326] radeon 0000:00:10.0: fence driver on ring 0 use gpu addr 0x0000000078000000
[ 15.274635] [drm] radeon: irq initialized.
[ 15.279145] [drm] radeon: ring at 0x0000000078001000
[ 15.680839] [drm] radeon legacy LVDS backlight initialized
[ 15.680865] [drm] Radeon Display Connectors
[ 16.989400] radeon 0000:00:10.0: [drm] fb0: radeondrmfb frame buffer device
[ 17.003252] [drm] Initialized radeon 2.50.0 20080528 for 0000:00:10.0 on minor 0
[uz3r@snailbook ~]$ mpv Raised.by.Wolves.S01E01.WEBRip.x264-ION10.mp
(+) Video --vid=1 (*) (h264 720x400 23.976fps)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
File tags:
Comment: RARBG - Raised.by.Wolves.S01E01.WEBRip.x264-ION10
Title: RARBG - Raised.by.Wolves.S01E01.WEBRip.x264-ION10
error: XDG_RUNTIME_DIR not set in the environment.
[vo/gpu/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required.
error: XDG_RUNTIME_DIR not set in the environment.
[vo/gpu/vulkan/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): V
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
error: XDG_RUNTIME_DIR not set in the environment.
[vo/xv] Warning: this legacy VO has bad quality and performance, and wil
ur graphics drivers, or not force the xv VO.
AO: [alsa] 44100Hz stereo 2ch float
VO: [xv] 720x400 => 720x405 yuv420p
AV: 00:00:01 / 00:53:07 (0%) A-V: 0.402
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
For what I'm aware after kernel 3.x the suspend/sleep it's broken I don't use as much when in PPC machines, but if you miss this feature the Lubuntu 12.04 Remix-v4 even with the "new kernel" works but for the throttle it's governor config in kernel. It's interesting when you try to have more battery autonomy but it's out of my knowledge.Closing the lid, seems to suspend or hibernate the iBook but I can't get it to wake-up again, also wondering where I can check cpu-throttling
I was testing last year mpv on my A1139 (DLSD 17'') and even with the 1.67GHz G4 and Radeon 9700 I couldn't get a great performance with stock configs for mpv, it will need to tweak the VO with XV, framedrops and something more that I don't remember now. This player has aims to quality and it gets when your hardware can process it, so the Void maintainer @q66_ told me trough email that mplayer and vlc with some tweaks could perform better and mplayer with framedrops, cache XV really it's more "watchable", but since the few free time that I have now I spent on my iMac G5 because of the better CPU because according to Wikipedia article about the X600 XT: "They were nearly identical to the chips used in Radeon 9550 and 9600, only differing in that they were native PCI Express offerings" but I managed to have a better performance with mpv at 720p 60fps h264 tweaked in this machine that with the G4.But either I'm assuming incorrectly but I thought I should be able to playback 360p video using mpv with a decent playback speed, no lags ? Or not ?
I couldn't find exactly the answer but musl and nouveau aren't good friends and @wicknix Lubuntu thread have instructions for your card using yaboot and older kernel (lower than 5.x):Is it possible to install Void64 (with GUI) on a PowerMac G5 with a 6800 Ultra?
The GUI of the Live CD ist hanging with this:
'live video=TV-1:d video=TV-2:d video=offb:off nosplash'