[slackintosh-users] Re: g3 B&w install questions

  • From: Donovan Watteau <tsoomi@xxxxxxxxx>
  • To: slackintosh-users@xxxxxxxxxxxxx
  • Date: Wed, 11 Jan 2012 22:37:09 +0100

On Jan 11, 2012, Jesse St.John:
> cool i recieve in a few days i was wondering if you could take a lil time
> and explain the r128 patch to me, you had sent a link, but i didnt know what
> to do with the patch. i mean i can complie a kernel so that isnt an issue,
> but patching i tend to stay away from..... please please
Well, first: launch X without patching r128 or anything: it might work
as is.  I was having segfaults and Xorg wouldn't even start, but that might
not be your case.

If it does segfault for you as well, then:
- Download the latest version of xf86-video-r128 here:
  
http://cgit.freedesktop.org/xorg/driver/xf86-video-r128/snapshot/xf86-video-r128-6.8.1.tar.bz2
- tar xvjf xf86-video-r128-6.8.1.tar.bz2 && cd xf86-video-r128-6.8.1
- There's a "configure.ac" file, edit it this way (otherwise ./configure
  won't run); see line 37:
    XORG_MACROS_VERSION(1.2)
  change it to:
    XORG_MACROS_VERSION(1.1)
- Then, run:
    ./autogen.sh
- This is where you apply the patch.  You download it and you apply it this
  way:
    cat r128_driver.c.diff | patch -p3
- Then:
    make
- Then, copy the new driver this way, as root:
    install -m 755 -o root -g root src/.libs/r128_drv.so
/usr/lib/xorg/modules/drivers

Or I can send you the r128 package I use, and you'll only have to install
it.

Other related posts: