Re: OldWorld ROM Macintoshes
On 9/19/25 5:20 PM, Cedar Maxwell wrote:
On 9/19/25 10:17 AM, Stan Johnson wrote:
On 9/18/25 9:13 PM, Cedar Maxwell wrote:
On 9/15/25 10:25 AM, Stan Johnson wrote:
Cedar,
Are you able to confirm that installing xserver-xorg-video-mach64
allows
X11 to work on your Wallstreet (passing the correct "video=atyfb..."
argument and unchecking "No video driver" in BootX)?
I already had xserver-xorg-video-mach64 installed, but Adrian's
suggestion of using "video=atyfb:off" from that old thread I linked
previously seems to have done the trick.
You appear to be running kernel 6.1.0-9-powerpc #1 Debian 6.1.27-1
(2023-05-08) ppc. That may fall in the range of kernels that had an
earlier issue on Wallstreet systems. In my tests, stock kernel 6.2-rc1
worked, using either "video=atyfb ..." or "video=ofonly".
When you say "worked" do you mean the mach64 driver functioned?
Yes.
Looking at my Xorg log with atyfb=off, it appears to be using the mach64
driver. Please help me understand what I would gain from being able to
pass in video=atyfb:vmode:14,cmode:32, etc. instead AND have the mach64
driver function.
I think I had the BootX video option wrong.
a) Using a custom 6.16.2 kernel (from www.kernel.org):
It looks like if you have xserver-xorg-video-mach64 installed, then Xorg
will use that regardless of the BootX kernel options.
And X11 works.
b) If I move /usr/lib/xorg/modules/drivers/mach64_drv.so out of the way:
# cd /usr/lib/xorg/modules/drivers
# mv mach64_drv.so ../mach64_drv.so.orig
and don't specify "video=atyfb:..." and leave "no video driver"
unchecked, then no video option is passed to the kernel, and X11 doesn't
work (text login only):
$ cat /proc/cmdline
root=/dev/sda12
c) If I check "no video driver" and do not pass "video=atyfb:...", then
"video=ofonly" is passed to the kernel, but I still see only a text login:
$ cat /proc/cmdline
root=/dev/sda12 video=ofonly
d) Moving mach64_drv.so.orig back to mach64_drv.so and booting Debian's
kernel and initrd (vmlinux-6.16.3+deb14-powerpc and
initrd.img-6.16.3+deb14-powerpc), and leaving "no video driver"
unchecked, the console goes blank (the backlight is on) and the system
appears to have hung (there is no network response).
e) Booting Debian's kernel and initrd with "no video driver" checked,
the results are the same as for d).
f) Booting the latest mainline kernel (v6.17-rc6):
$ cd <somewhere>/linux
$ git remote update
$ git checkout v6.17-rc6
$ cp ../config-6.17.0-rc4-pmac .config
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j4 clean oldconfig
$ make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- -j4 vmlinux
$ strings vmlinux | grep 'Linux version' | head -1 | awk '{print $3}'
6.17.0-rc6-pmac
$ cp vmlinux ../vmlinux-6.17.0-rc6-pmac
$ cp .config ../config-6.17.0-rc6-pmac
<copy kernel to Wallstreet>
With "no video driver" checked,
The Wallstreet boots to an X11 login.
$ uname -a
Linux mac-server 6.17.0-rc6-pmac #1 SMP Fri Sep 19 18:45:59 MDT 2025 ppc
GNU/Linux
$ cat /proc/cmdline
root=/dev/sda12 video=ofonly
But the Xorg log makes it clear that Mach64 is being used. So I think
that vindicates the atyfb (Mach64) driver, at least insofar as kernel
regressions are concerned. Why Mach64 isn't working with Debian's
6.16.3+deb14-powerpc kernel is a mystery.
If I move the atyfb (Mach64) driver out of the way again, the system
boots to a text login. So I think video=ofonly isn't working, Note that
Xorg.0.log still references Mach64, but that's from the previous boot (X
isn't running). If I try to start X manually, I get a new Xorg.0.log
(see attached), and X startup fails.
I think the errors in Xorg.0.log mean that the fbdev driver used for
video=ofonly isn't working, but I'll need advice from a kernel developer
about that (I'm still waiting for a response).
...
Using which kernel?
The latest 6.16.x from Debian. I'm just referring to the black screen
which started this whole thread.
Our results match, then, as before, using Debian's kernel. Note that
developers expect stock (mainline) kernels to be used for reporting
kernel regressions. My config file may not be what the developers want,
but I've offered to try any config file that they reommend. If their
config file works, then we'll need to work with Adrian to determine
whether a configuration option in Debian's config file may need to be
adjusted.[ 358.790]
X.Org X Server 1.21.1.15
X Protocol Version 11, Revision 0
[ 358.791] Current Operating System: Linux mac-server 6.17.0-rc6-pmac #1 SMP Fri Sep 19 18:45:59 MDT 2025 ppc
[ 358.791] Kernel command line: root=/dev/sda12 video=ofonly
[ 358.792] xorg-server 2:21.1.15-2 (https://www.debian.org/support)
[ 358.793] Current version of pixman: 0.44.0
[ 358.793] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 358.793] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 358.797] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 19 19:17:46 2025
[ 358.800] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 358.804] (==) No Layout section. Using the first Screen section.
[ 358.804] (==) No screen section available. Using defaults.
[ 358.804] (**) |-->Screen "Default Screen Section" (0)
[ 358.804] (**) | |-->Monitor "<default monitor>"
[ 358.807] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 358.808] (**) Allowing byte-swapped clients
[ 358.808] (==) Automatically adding devices
[ 358.808] (==) Automatically enabling devices
[ 358.808] (==) Automatically adding GPU devices
[ 358.808] (==) Automatically binding GPU devices
[ 358.809] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 358.809] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 358.809] Entry deleted from font path.
[ 358.809] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 358.809] Entry deleted from font path.
[ 358.810] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 358.810] Entry deleted from font path.
[ 358.810] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
built-ins
[ 358.810] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 358.810] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 358.810] (II) Loader magic: 0xca07b0
[ 358.810] (II) Module ABI versions:
[ 358.811] X.Org ANSI C Emulation: 0.4
[ 358.811] X.Org Video Driver: 25.2
[ 358.811] X.Org XInput driver : 24.4
[ 358.811] X.Org Server Extension : 10.0
[ 358.821] (++) using VT number 1
[ 359.055] (EE) systemd-logind: failed to get session: Launch helper exited with unknown return code 1
[ 359.070] (--) PCI:*(0@0:17:0) 1002:4c50:0000:0000 rev 220, Mem @ 0x82000000/16777216, 0xfd020000/4096, I/O @ 0x00000400/256, BIOS @ 0x????????/131072
[ 359.071] (II) LoadModule: "glx"
[ 359.074] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 359.095] (II) Module glx: vendor="X.Org Foundation"
[ 359.096] compiled for 1.21.1.15, module version = 1.0.0
[ 359.096] ABI class: X.Org Server Extension, version 10.0
[ 359.097] (==) Matched ati as autoconfigured driver 0
[ 359.097] (==) Matched modesetting as autoconfigured driver 1
[ 359.097] (==) Matched fbdev as autoconfigured driver 2
[ 359.097] (==) Assigned the driver to the xf86ConfigLayout
[ 359.097] (II) LoadModule: "ati"
[ 359.099] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[ 359.100] (II) Module ati: vendor="X.Org Foundation"
[ 359.101] compiled for 1.21.1.9, module version = 22.0.0
[ 359.101] Module class: X.Org Video Driver
[ 359.101] ABI class: X.Org Video Driver, version 25.2
[ 359.101] (II) LoadModule: "mach64"
[ 359.104] (WW) Warning, couldn't open module mach64
[ 359.104] (EE) Failed to load module "mach64" (module does not exist, 0)
[ 359.104] (II) LoadModule: "modesetting"
[ 359.105] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 359.107] (II) Module modesetting: vendor="X.Org Foundation"
[ 359.107] compiled for 1.21.1.15, module version = 1.21.1
[ 359.107] Module class: X.Org Video Driver
[ 359.107] ABI class: X.Org Video Driver, version 25.2
[ 359.108] (II) LoadModule: "fbdev"
[ 359.109] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 359.110] (II) Module fbdev: vendor="X.Org Foundation"
[ 359.110] compiled for 1.21.1.3, module version = 0.5.0
[ 359.110] Module class: X.Org Video Driver
[ 359.111] ABI class: X.Org Video Driver, version 25.2
[ 359.111] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 359.111] (II) FBDEV: driver for framebuffer: fbdev
[ 359.113] (EE) open /dev/dri/card0: No such file or directory
[ 359.113] (WW) Falling back to old probe method for modesetting
[ 359.113] (EE) open /dev/dri/card0: No such file or directory
[ 359.113] (WW) Falling back to old probe method for fbdev
[ 359.113] (II) Loading sub module "fbdevhw"
[ 359.114] (II) LoadModule: "fbdevhw"
[ 359.115] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 359.116] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 359.117] compiled for 1.21.1.15, module version = 0.0.2
[ 359.117] ABI class: X.Org Video Driver, version 25.2
[ 359.119] (EE) Screen 0 deleted because of no matching config section.
[ 359.119] (II) UnloadModule: "modesetting"
[ 359.119] (EE) Device(s) detected, but none match those in the config file.
[ 359.119] (EE)
Fatal server error:
[ 359.120] (EE) no screens found(EE)
[ 359.121] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 359.121] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 359.121] (EE)
[ 359.176] (EE) Server terminated with error (1). Closing log file.
Reply to: