weenie Great! But, wsfb(4)
is surely slow, right? Can you try the patched geode_drv
here?
--- xsrc/external/mit/xf86-video-geode/dist/src/geode_msr.c.orig 2017-05-30 15:54:38.000000000 +0000
+++ xsrc/external/mit/xf86-video-geode/dist/src/geode_msr.c 2025-10-09 07:08:08.668794638 +0000
@@ -104,6 +104,8 @@
*hi = args.data >> 32;
*lo = args.data & 0xffffffff;
+#elif defined __NetBSD__
+ return -1; /* fall back to assembly on NetBSD */
#else
unsigned int data[2];
int fd = _msr_open();
@@ -151,6 +153,8 @@
if (ioctl(fd, CPUCTL_WRMSR, &args) == -1)
FatalError("Unable to write MSR at address 0x%06x: %s\n", addr,
strerror(errno));
+#elif defined __NetBSD__
+ return -1; /* fall back to assembly on NetBSD */
#else
unsigned int data[2];
int fd = _msr_open();
Move the old geode_drv.so.2
driver in /usr/X11R7/lib/modules/drivers
out of the way, then copy the new one as root
:
ftp -Vo - https://termbin.com/4lw6 | base64 -d > geode_drv.tar.bz2
tar -xjvf geode_drv.tar.bz2
cp -p geode_drv.so.2 /usr/X11R7/lib/modules/drivers/.
Do startx
after moving the custom wsfb
Xorg config. file out of the way first.