okay, let's get down to brass tacks here. I am not too knowledgeable, maybe someone can help me with the bits i don't know... from
Thomas Winischhofer's site:
quote:
Variant 2: I want sisfb compiled as a module. I want to use X with a depth of 24 and with DRI.
Download the latest sisfb source code and decompress the archive to /usr/src/linux/drivers/video/sis/ (or whereever your kernel source tree is located).
Copy the file sisfb.h over the old one in /usr/src/linux/include/linux.
Configure the kernel to use the SiS framebuffer as a module; do only select SiS 300/630 support, not SiS 315 (unless your machine has a 315/550/650/740.
Apply the DRM kernel patch, choose the DRM module to be compiled as a module (not into the kernel) and re-compile the kernel. (The patch is not required as of 2.4.18-rc2.)
Before starting X, do insmod sisfb mode=none mem=12288 to start the framebuffer driver without changing the console mode.
Using mode:none is up to your preference; if you like a graphical console and sisfb works on your machine, specify a valid mode instead of mode=none, such as mode=1024x768x16.
Download the latest X driver and place it to /usr/X11R6/lib/modules/drivers/
Set up the X config file (in most cases /etc/X11/XF86Config-4) with a depth of 24 (DefaultDepth 24 in the Screen section) and specify Option "MaxXFBMem" "12288" in the Device section.
Set the video memory to at least 32MB in the BIOS.
Reboot.
That's it!
okay, i have the latest sisfb source code and i have decompressed them. I have copied sisfb.h over the old one in /usr/src/linux/include/linux.
Now how do i configure the kernel
to use the SiS framebuffer as a module? and how and where do i only select SiS 300/630 support?
I don't think i need the DRM module, since i am now running mandrake 8.0 and i think the kernel is recent enough, but i still would not know how to apply it if i did need to. Does this involve "make config"? if so, do you need to be in a certain directory for that to work?
Now, i am told to do insmod sisfb mode=none mem=12288 to start the framebuffer driver without changing the console mode, but is this necessary every time i want to startx? if so, where can i put it to make sure i don't need to type it on every boot?
Using mode:none is apparently up to my preference, but how should i know if i want to specify a valid mode instead of mode=none, such as mode=1024x768x16? will i see some picture improvement? by this stage in the instructions i am totally lost.
Now i haven't downloaded the latest X driver to /usr/X11R6/lib/modules/drivers/
and i haven't set up the X config file with a depth of 24 and Device, "MaxXFBMem" "12288" because i don't know how to do the steps before this. Nor have i set the video memory to at least 32MB in the BIOS, though i don't expect i will need to change the BIOS.
I should be able to easily do all those last things though, provided that the values given are correct, but it's just all that configuring and recompiling in the middle that foxes me. Can anybody help with this? I know it is possible, as i had it working before. A mate of mine got it working though, and I really need to be able to do it myself.
Thank you in advance...
[ April 25, 2002: Message edited by: Calum ]