[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFree86 DRI and SiS630



Paulo Lopes wrote:

Hi,

I've a debian woody stable system and would like to have DRI enabled on my XFree86. I'd like to install XFree86 4.2.1 but wich packages should i choose? i've tryed http://people.debian.org/~branden/ packages, but they are pre beta... then i've tryed http://www.fs.tum.de/~bunk/packages/ and they seam to work fine... but there's a problem...

I've downloaded the xfree driver from http://www.winischhofer.net/ and the DRI stuff doesn't work... how can i make it work?

Thanks for your time.


Hi, i have fix it :-) this is how i've done it (if anyone is interested of course):

I've started from scratch, i grabed my 7 cd set of debian woody 3.0r0 and installed it as usual only with stable packages.

Since i wasn't home and had only a dial up connection to the world i couldn't update my system with security.debian.org, i'll do it this week :-) (it would take to much time and money :-))

I had a cd with XFree86 4.2.1 (a mirror from http://people.debian.org/~braden/) and KDE3.0.5a and Thomas latest driver (at the moment) from 6 of January 2003.

I've installed all the XFree86 packages and KDE and then i've configured my XF86Config-4 with the Debian dpkg-reconfigure tool. At first i've choosen the default driver from the XFree packages.

Later on i've recompiled the linux kernel 2.4.18-5 with the sisfb patch, then i've started to look to XFree logs and then i've seen that that XFree version had already a SiS driver from Thomas (an old one) I've been reading the Thomas site and looked for the DRI module and all i've understood is that the file sis_dri.so is only needed because his X driver has a special C Struct that the DRI module needs to read. So i only aplied the new X-Driver and tested.

I've looked again in the Logs and tcharam:

(II) SIS(0): [drm] created "sis" driver at busid "PCI:1:0:0"
(II) SIS(0): [drm] added 8192 byte SAREA at 0xe08eb000
(II) SIS(0): [drm] mapped SAREA 0xe08eb000 to 0x40014000
(II) SIS(0): [drm] framebuffer handle = 0x88000000
(II) SIS(0): [drm] added 1 reserved context for kernel
(II) SIS(0): [drm] Registers = 0x80000000
(II) SIS(0): [drm] drmAgpEnabled succeeded
(II) SIS(0): [drm] failure adding irq 0 handler, stereo disabled
(II) SIS(0): [dri] visual configs initialized.
(II) SIS(0): Frame Buffer From (0,0) To (1024,6142)
(II) SIS(0): Using XFree86 Acceleration Architecture (XAA)
   Screen to screen bit blits
   Solid filled rectangles
   8x8 mono pattern filled rectangles
   Indirect CPU to Screen color expansion
   Solid Lines
   Dashed Lines
   Offscreen Pixmaps
   Setting up tile and stipple cache:
       32 128x128 slots
       26 256x256 slots
       12 512x512 slots
(==) SIS(0): Backing store disabled
(==) SIS(0): Silken mouse enabled
(**) Option "dpms"
(**) SIS(0): DPMS enabled
(II) SIS(0): Using SiS300/310/325 series HW Xv
(II) SIS(0): X context handle = 0x00000001
(II) SIS(0): [drm] installed DRM signal handler
(II) SIS(0): [DRI] installation complete
(II) SIS(0): Direct rendering enabled

DRI enabled :-)




Reply to: