ThinkPad 600e (NeoMagic MagicMedia 256AV (NM2200)) X11 - neo module not found

Thomas Vetere <[email protected]> Thu, 15 Apr 2021 09:05:51 -0400
Newsgroups gmane.os.openbsd.x11
Message-ID <[email protected]>
Hello everyone,

I am currently running OpenBSD 6.8 on an IBM ThinkPad 600e. I am using
the GENERIC kernel and the only modifications that I have to the system
is to disable

ACPI in rc.shutdown in order to circumvent KARL (this machine fails to
boot in ACPI mode so I have to use APM).

The other day I setup X11 with xenodm and when I tried to launch cwm I
kept getting the error message =E2=80=9CUnable to open display 0.0=E2=80=9D.

I read the manual pages for X11 and found where the logs were. After
reading through the logs, I can see that I have the message =E2=80=9CScreens
found but none have a usable configuration=E2=80=9D. Also within the logs, I
can see that it is not loading the proper module for my Graphics
processor. I made sure that my graphics processor is supported by OpenBSD
and you can see that it is here:

https://man.openbsd.org/neo.4

In the log it says this module =E2=80=9Cneomagic=E2=80=9D does not exist an=
d it falls
back on the vesa module it seems. If this module is loaded into the
kernel at the installation time of OpenBSD, could this be a hardware
detection issue? If so, is there a way that I can enable this module in
order to see if that will fix the issue in configuring the screen?

Here is the output of various log files:

Xorg

---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
----------------------------

[=C2 =C2 =C2  66.872] (--) checkDevMem: using aperture driver /dev/xf86

[=C2 =C2 =C2  66.980] (--) Using wscons driver on /dev/ttyC4

[=C2 =C2 =C2  67.151]

X.Org X Server 1.20.8

X Protocol Version 11, Revision 0

[=C2 =C2 =C2  67.151] Build Operating System: OpenBSD 6.8 i386

[=C2 =C2 =C2  67.151] Current Operating System: OpenBSD
thinkpad.fios-router.home 6.8 GENERIC#427 i386

[=C2 =C2 =C2  67.154] Build Date: 04 October 2020=C2  07:12:56PM

[=C2 =C2 =C2  67.154]=C2=20

[=C2 =C2 =C2  67.154] Current version of pixman: 0.38.4

[=C2 =C2 =C2  67.154] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  Before reporting=
 problems, check
http://wiki.x.org

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  to make sure t=
hat you have the latest
version.

[=C2 =C2 =C2  67.154] Markers: (--) probed, (**) from config file, (=3D=3D)=
 default
setting,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  (++) from comm=
and line, (!!) notice, (II)
informational,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  (WW) warning, =
(EE) error, (NI) not
implemented, (??) unknown.

[=C2 =C2 =C2  67.155] (=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Thu A=
pr 15
07:58:13 2021

[=C2 =C2 =C2  67.275] (=3D=3D) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"

[=C2 =C2 =C2  67.381] (=3D=3D) No Layout section.=C2  Using the first Scree=
n section.

[=C2 =C2 =C2  67.382] (=3D=3D) No screen section available. Using defaults.

[=C2 =C2 =C2  67.382] (**) |-->Screen "Default Screen Section" (0)

[=C2 =C2 =C2  67.382] (**) |=C2 =C2  |-->Monitor "<default monitor>"

[=C2 =C2 =C2  67.409] (=3D=3D) No monitor specified for screen "Default Scr=
een
Section".

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  Using a defaul=
t monitor configuration.

[=C2 =C2 =C2  67.409] (=3D=3D) Automatically adding devices

[=C2 =C2 =C2  67.409] (=3D=3D) Automatically enabling devices

[=C2 =C2 =C2  67.409] (=3D=3D) Not automatically adding GPU devices

[=C2 =C2 =C2  67.420] (=3D=3D) Max clients allowed: 256, resource mask: 0x1=
fffff

[=C2 =C2 =C2  67.884] (=3D=3D) FontPath set to:

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/misc/,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/TTF/,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/OTF/,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/Type1/,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/100dpi/,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  /usr/X11R6/lib=
/X11/fonts/75dpi/

[=C2 =C2 =C2  67.884] (=3D=3D) ModulePath set to "/usr/X11R6/lib/modules"

[=C2 =C2 =C2  67.884] (II) The server relies on wscons to provide the list =
of
input devices.

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  If no devices =
become available,
reconfigure wscons or disable AutoAddDevices.

[=C2 =C2 =C2  67.900] (II) Loader magic: 0x34d595bc

[=C2 =C2 =C2  67.901] (II) Module ABI versions:

[=C2 =C2 =C2  67.901] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  X.Org ANSI C Emu=
lation: 0.4

[=C2 =C2 =C2  67.901] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  X.Org Video Driv=
er: 24.1

[=C2 =C2 =C2  67.920] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  X.Org XInput dri=
ver : 24.1

[=C2 =C2 =C2  67.920] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  X.Org Server Ext=
ension : 10.0

[=C2 =C2 =C2  67.944] (--) PCI:*(1@0:0:0) 10c8:0005:1014:00dd rev 32, Mem @
0xe0000000/16777216, 0x70000000/4194304, 0x70400000/1048576

[=C2 =C2 =C2  67.945] (II) LoadModule: "glx"

[=C2 =C2 =C2  68.037] (II) Loading /usr/X11R6/lib/modules/extensions/libglx=
.so

[=C2 =C2 =C2  68.695] (II) Module glx: vendor=3D"X.Org Foundation"

[=C2 =C2 =C2  68.696] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  compiled for 1.2=
0.8, module version =3D
1.0.0

[=C2 =C2 =C2  68.696] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  ABI class: X.Org=
 Server Extension,
version 10.0

[=C2 =C2 =C2  68.697] (=3D=3D) Matched neomagic as autoconfigured driver 0

[=C2 =C2 =C2  68.697] (=3D=3D) Matched vesa as autoconfigured driver 1

[=C2 =C2 =C2  68.697] (=3D=3D) Assigned the driver to the xf86ConfigLayout

[=C2 =C2 =C2  68.697] (II) LoadModule: "neomagic"

[=C2 =C2 =C2  68.744] (WW) Warning, couldn't open module neomagic

[=C2 =C2 =C2  68.744] (EE) Failed to load module "neomagic" (module does not
exist, 0)

[=C2 =C2 =C2  68.744] (II) LoadModule: "vesa"

[=C2 =C2 =C2  68.749] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.=
so

[=C2 =C2 =C2  68.752] (II) Module vesa: vendor=3D"X.Org Foundation"

[=C2 =C2 =C2  68.752] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  compiled for 1.2=
0.8, module version =3D
2.3.4

[=C2 =C2 =C2  68.752] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  Module class: X.=
Org Video Driver

[=C2 =C2 =C2  68.752] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  ABI class: X.Org=
 Video Driver, version
24.1

[=C2 =C2 =C2  68.753] (II) VESA: driver for VESA chipsets: vesa

[=C2 =C2 =C2  68.755] (II) Loading sub module "vbe"

[=C2 =C2 =C2  68.755] (II) LoadModule: "vbe"

[=C2 =C2 =C2  68.764] (II) Loading /usr/X11R6/lib/modules/libvbe.so

[=C2 =C2 =C2  68.819] (II) Module vbe: vendor=3D"X.Org Foundation"

[=C2 =C2 =C2  68.819] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  compiled for 1.2=
0.8, module version =3D
1.1.0

[=C2 =C2 =C2  68.820] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  ABI class: X.Org=
 Video Driver, version
24.1

[=C2 =C2 =C2  68.820] (II) Loading sub module "int10"

[=C2 =C2 =C2  68.820] (II) LoadModule: "int10"

[=C2 =C2 =C2  68.829] (II) Loading /usr/X11R6/lib/modules/libint10.so

[=C2 =C2 =C2  68.879] (II) Module int10: vendor=3D"X.Org Foundation"

[=C2 =C2 =C2  68.879] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  compiled for 1.2=
0.8, module version =3D
1.0.0

[=C2 =C2 =C2  68.879] =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  ABI class: X.Org=
 Video Driver, version
24.1

[=C2 =C2 =C2  68.879] (II) VESA(0): initializing int10

[=C2 =C2 =C2  68.887] (II) VESA(0): Primary V_BIOS segment is: 0xc000

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA BIOS detected

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE Version 2.0

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE Total Mem: 2496 kB

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE OEM: MagicMedia 256AV=C2  48K

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE OEM Software Rev: 1.15

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE OEM Vendor: NeoMagic

[=C2 =C2 =C2  68.916] (II) VESA(0): VESA VBE OEM Product: MagicMedia 256AV

[=C2 =C2 =C2  68.917] (II) VESA(0): VESA VBE OEM Product Rev: 01.0

[=C2 =C2 =C2  68.935] (EE) VESA(0): Specified fbbpp (24) is not a permitted
value

[=C2 =C2 =C2  68.936] (II) UnloadModule: "vesa"

[=C2 =C2 =C2  68.936] (II) UnloadSubModule: "int10"

[=C2 =C2 =C2  68.936] (II) Unloading int10

[=C2 =C2 =C2  68.937] (II) UnloadSubModule: "vbe"

[=C2 =C2 =C2  68.937] (II) Unloading vbe

[=C2 =C2 =C2  68.937] (EE) Screen(s) found, but none have a usable
configuration.

[=C2 =C2 =C2  68.937] (EE)

Fatal server error:

[=C2 =C2 =C2  68.937] (EE) no screens found(EE)

[=C2 =C2 =C2  68.937] (EE)

Please consult the The X.Org Foundation support

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  =C2 at http://=
wiki.x.org

for help.

[=C2 =C2 =C2  68.938] (EE) Please also check the log file at
"/var/log/Xorg.0.log" for additional information.

[=C2 =C2 =C2  68.938] (EE)

[=C2 =C2 =C2  68.984] (EE) Server terminated with error (1). Closing log fi=
le.

XENODM

xenodm info (pid 7490): Starting

xenodm info (pid 7490): Starting X server on :0

X.Org X Server 1.20.8

X Protocol Version 11, Revision 0

Build Operating System: OpenBSD 6.8 i386

Current Operating System: OpenBSD thinkpad.fios-router.home 6.8
GENERIC#427 i386

Build Date: 04 October 2020=C2  07:12:56PM

Current version of pixman: 0.38.4

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  Before reporti=
ng problems, check
http://wiki.x.org

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  to make sure t=
hat you have the latest
version.

Markers: (--) probed, (**) from config file, (=3D=3D) default setting,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  (++) from comm=
and line, (!!) notice, (II)
informational,

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  (WW) warning, =
(EE) error, (NI) not
implemented, (??) unknown.

(=3D=3D) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 15 07:58:13 2021

(=3D=3D) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"

(EE)

Fatal server error:

(EE) no screens found(EE)

(EE)

Please consult the The X.Org Foundation support

=C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2 =C2  =C2 at http://=
wiki.x.org

for help.

(EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.

(EE)

(EE) Server terminated with error (1). Closing log file.

xenodm error (pid 7490): server unexpectedly died

xenodm error (pid 7490): Server for display :0 can't be started, session
disabled

xenodm info (pid 7490): Exiting

DMESG

OpenBSD 6.8 (GENERIC) #427: Sun Oct=C2  4 18:20:41 MDT 2020

=C2 =C2 =C2  [email protected]:/usr/src/sys/arch/i386/compile/GENERIC

real mem=C2  =3D 301285376 (287MB)

avail mem =3D 279494656 (266MB)

random: good seed from bootblocks

mpath0 at root

scsibus0 at mpath0: 256 targets

mainbus0 at root

bios0 at mainbus0: date 11/20/99, BIOS32 rev. 0 @ 0xfd820, SMBIOS rev.
2.2 @ 0xf6cf0 (55 entries)

bios0: vendor IBM version "INET35WW" date 11/20/1999

bios0: IBM 26454AU

acpi at bios0 function 0x0 not configured

apm0 at bios0: Power Management spec V1.2

pcibios0 at bios0: rev 2.1 @ 0xfd880/0x800

pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf9e20/112 (5 entries)

pcibios0: PCI Exclusive IRQs: 11

pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371AB PIIX4 ISA" rev
0x00)

pcibios0: PCI bus #5 is the last bus

bios0: ROM list: 0xc0000/0xc000

cpu0 at mainbus0: (uniprocessor)

cpu0: Intel Celeron ("GenuineIntel" 686-class, 256KB L2 cache) 364 MHz,
06-06-0a

cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,PER=
F,MELTDOWN

mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges

pci0 at mainbus0 bus 0: configuration mode 1 (bios)

pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x03

intelagp0 at pchb0

agp0 at intelagp0: aperture at 0x40000000, size 0x4000000

ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x03

pci1 at ppb0 bus 1

vga1 at pci1 dev 0 function 0 "Neomagic Magicgraph NM2200" rev 0x20

wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)

wsdisplay0: screen 1-5 added (80x25, vt100 emulation)

cbb0 at pci0 dev 2 function 0 "TI PCI1251 CardBus" rev 0x00: irq 11

cbb1 at pci0 dev 2 function 1 "TI PCI1251 CardBus" rev 0x00: irq 11

clcs0 at pci0 dev 6 function 0 "Cirrus Logic CS4610 SoundFusion" rev
0x01: irq 11

clcs0: codec ready timeout

pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02

pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility

wd0 at pciide0 channel 0 drive 0: <HTS548080M9AT00>

wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors

wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2

atapiscsi0 at pciide0 channel 1 drive 0

scsibus1 at atapiscsi0: 2 targets

cd0 at scsibus1 targ 0 lun 0: <MATSHITA, DVD-ROM SR-8171, 076B> removable

cd0(pciide0:1:0): using PIO mode 4, DMA mode 2

uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: irq 11

piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI

iic0 at piixpm0

cardslot0 at cbb0 slot 0 flags 0

cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0

pcmcia0 at cardslot0

cardslot1 at cbb1 slot 1 flags 0

cardbus1 at cardslot1: bus 5 device 0 cacheline 0x8, lattimer 0xb0

pcmcia1 at cardslot1

isa0 at pcib0

isadma0 at isa0

fdc0 at isa0 port 0x3f0/6 irq 6 drq 2

com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo

pckbc0 at isa0 port 0x60/5 irq 1 irq 12

pckbd0 at pckbc0 (kbd slot)

wskbd0 at pckbd0: console keyboard, using wsdisplay0

pms0 at pckbc0 (aux slot)

wsmouse0 at pms0 mux 0

sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02

midi0 at sb0: <SB MIDI UART>

audio0 at sb0

opl at sb0 not configured

pcppi0 at isa0 port 0x61

spkr0 at pcppi0

lpt2 at isa0 port 0x3bc/4: polled

npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

usb0 at uhci0: USB revision 1.0

uhub0 at usb0 configuration 1 interface 0 "Intel UHCI root hub" rev
1.00/1.00 addr 1

rl0 at cardbus0 dev 0 function 0 "D-Link DFE-690TXD" rev 0x10: irq 11,
address 00:0d:88:3f:a8:14

rlphy0 at rl0 phy 0: RTL internal PHY

bwi0 at cardbus1 dev 0 function 0 "Broadcom BCM4318" rev 0x02: irq 11,
address 00:22:6b:60:4f:10

umass0 at uhub0 port 1 configuration 1 interface 0 "PNY Technologies USB
2.0 FD" rev 2.00/11.00 addr 2

umass0: using SCSI over Bulk-Only

scsibus2 at umass0: 2 targets, initiator 0

sd0 at scsibus2 targ 1 lun 0: <PNY, USB 2.0 FD, 1100> removable
serial.154b005b000000008194

sd0: 7722MB, 512 bytes/sector, 15814656 sectors

vscsi0 at root

scsibus3 at vscsi0: 256 targets

softraid0 at root

scsibus4 at softraid0: 256 targets

root on wd0a (3f8daad60940ac0a.a) swap on wd0b dump on wd0b

Here is also some further documentation on the base specs of the machine:
https://www.cnet.com/products/ibm-thinkpad-600e-2645-13-3-pii-win98-64-mb-r=
am-6-4-gb-hdd-series/

Thank you for your help!