[Savage40] No dri with CVS Build?

Joel Cornuz jcornuz at worldonline.ch
Tue Jan 25 02:17:01 PST 2005


The end story:
I had forgotten to put

#define BuildDevelDRIDrivers YES

in host.def - the driver works like a charm now. Thanks again for your 
patience / help / good work (tick what is relevant, you can have more than 
one :)

Joel
----- Original Message ----- 
From: "Alex Deucher" <agd5f at yahoo.com>
To: "Joel Cornuz" <jcornuz at worldonline.ch>
Cc: <savage40 at probo.com>
Sent: Friday, January 21, 2005 3:16 PM
Subject: Re: [Savage40] No dri with CVS Build?


>
> --- Joel Cornuz <jcornuz at worldonline.ch> wrote:
>
>> OK, thanks for the pointer - and thanks for your availability...
>>
>> As it appears, I have stuff like
>>
>> (II) Loading sub module "int10"
>> (II) LoadModule: "int10"
>> (II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
>> (II) SAVAGE(0): initializing int10
>> (II) SAVAGE(0): Primary V_BIOS segment is: 0xc000
>> (II) SAVAGE(0): VESA BIOS detected
>> (II) SAVAGE(0): VESA VBE Version 2.0
>> (II) SAVAGE(0): VESA VBE Total Mem: 31680 kB
>> (II) SAVAGE(0): VESA VBE OEM: S3 Incorporated. Twister BIOS
>> (II) SAVAGE(0): VESA VBE OEM Software Rev: 1.0
>> (II) SAVAGE(0): VESA VBE OEM Vendor: S3 Incorporated.
>> (II) SAVAGE(0): VESA VBE OEM Product: VBE 2.0
>> (II) SAVAGE(0): VESA VBE OEM Product Rev: Rev 1.1
>>
>> In my xorg.log. so it looks like the savage_dri module is not used.
>> I guess I need to recheck my host.def and redo a X build (yuck).
>>
>
> Look for lines in your log that start with [drm] or [agp].  If you
> rebuild from source, make sure you use xorg/mesa/drm from cvs.  xorg
> 6.8.x does not have 3d support for savages.  This guide should get you
> going:
> http://dri.freedesktop.org/wiki/Building
>
>
> Alex
>
>> Cheers.
>>
>> Joel
>> ----- Original Message ----- 
>> From: "Alex Deucher" <agd5f at yahoo.com>
>> To: "Joel Cornuz" <jcornuz at worldonline.ch>; <savage40 at probo.com>
>> Sent: Thursday, January 20, 2005 7:08 PM
>> Subject: Re: [Savage40] No dri with CVS Build?
>>
>>
>> >
>> > --- Joel Cornuz <jcornuz at worldonline.ch> wrote:
>> >
>> >> Hi there,
>> >>
>> >> First of all, THANKS to Felix and Alex for your good work on the
>> >> Savage
>> >> driver :-)
>> >>
>> >> Now on to my problems :-/
>> >>
>> >> I tried to build the driver for my TwisterK. Xorg, Mesa and drm
>> build
>> >> fine.
>> >> I need to echo "disable=XX" > /proc/mtrr a couple of time before
>> >> modprobe -k
>> >> savage. Dmesg tells me:
>> >>     [drm] Initialized drm 1.0.0 20040925
>> >>     ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 11 (level, low) ->
>> IRQ
>> >> 11
>> >>     mtrr: base(0x92000000) is not aligned on a size(0x5000000)
>> >> boundary
>> >>     [drm] Initialized savage 2.1.2 20050110 on minor 0: S3 Inc.
>> >> VT8636A
>> >> [ProSavage KN133] AGP4X VGA Controller (TwisterK)
>> >>
>> >> which is fine, as far as I can tell. Then I startx but glxinfo
>> >> reports no
>> >> dri enabled !? Am I missing something obvious?
>> >> Here is an extract from Xorg.log - looks fine but it doesn't
>> report
>> >> loading
>> >> savage_dri ??
>> >>
>> >> (II) LoadModule: "glx"
>> >> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
>> >> (II) Module glx: vendor="X.Org Foundation"
>> >> compiled for 6.8.1.99, module version = 1.0.0
>> >> ABI class: X.Org Server Extension, version 0.2
>> >> (II) Loading sub module "GLcore"
>> >> (II) LoadModule: "GLcore"
>> >> (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
>> >> Skipping
>> >> "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No
>>
>> >> symbols found
>> >> Skipping
>> >> "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_norm.o": No
>>
>> >> symbols found
>> >> Skipping
>> >> "/usr/X11R6/lib/modules/extensions/libGLcore.a:m_debug_xform.o":
>> No
>> >> symbols found
>> >> (II) Module GLcore: vendor="X.Org Foundation"
>> >> compiled for 6.8.1.99, module version = 1.0.0
>> >> ABI class: X.Org Server Extension, version 0.2
>> >> (II) Loading extension GLX
>> >> (II) LoadModule: "dri"
>> >> (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
>> >> (II) Module dri: vendor="X.Org Foundation"
>> >> compiled for 6.8.1.99, module version = 1.0.0
>> >> ABI class: X.Org Server Extension, version 0.2
>> >> (II) Loading sub module "drm"
>> >> (II) LoadModule: "drm"
>> >> (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
>> >> (II) Module drm: vendor="X.Org Foundation"
>> >> compiled for 6.8.1.99, module version = 1.0.0
>> >> ABI class: X.Org Server Extension, version 0.2
>> >> (II) Loading extension XFree86-DRI
>> >> (II) LoadModule: "savage"
>> >> (II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
>> >> (II) Module savage: vendor="X.Org Foundation"
>> >> compiled for 6.8.1.99, module version = 2.0.0
>> >> Module class: X.Org Video Driver
>> >> ABI class: X.Org Video Driver, version 0.7
>> >>
>> >> Well, if you have an idea, I would appreciate...
>> >>
>> >> Thanks
>> >>
>> >> Joel
>> >>
>> >
>> > does your xorg log report that direct rendering is enabled?  If so
>> it's
>> > probably a problem with libGL.  Take a look at this page for more
>> > information on debugging DRI problems:
>> > http://dri.freedesktop.org/wiki/DriTroubleshooting
>> >
>> > Alex
>> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> Savage40 mailing list
> Savage40 at probo.com
> http://www.probo.com/mailman/listinfo/savage40 



More information about the Savage40 mailing list