LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Direct Rendering Infrastructure DRI on VIA\S3 Savage (https://www.linuxquestions.org/questions/linux-hardware-18/direct-rendering-infrastructure-dri-on-via%5Cs3-savage-168951/)

janfy_fr 05-05-2004 01:13 PM

Thanks /bin/bash for your answer. This is what I get :

# modinfo via_agp
modinfo: could not find module via_agp

I created /dev/dri/card0 yesterday, and today it doesn't exist any more. Seems to have been automatically deleted by the system. but agpgart device exists:
# ls -l /dev/agpgart
crw-rw---- 1 root video 10, 175 Mar 5 10:03 /dev/agpgart

devfs vs udev : You make me discover a world I never heared about before! :o) My /boot/config file says :
# CONFIG_DEVFS_FS is not set
but nothing about UDEV...

However, I have a /etc/devfs/conf.d directory:

/etc/devfs/conf.d$ ls
alsa apm bluez irda libpisock8 scanner thinkpad tpb

/etc/devfs/conf.d$more alsa
# device permissions for ALSA sound devices.
REGISTER ^snd/.* PERMISSIONS root.audio 0660
REGISTER ^snd/controlC0 CFUNCTION GLOBAL symlink /proc/asound/oss/sndstat sndstat

Seems me I use devfs, but with no certitude. How can I be sure, and eventually change for udev? Seems me interesting to try... But I still have my via-agp module missing...

Thanks again. I give great importance to this DRI problem.

janfy_fr 05-05-2004 03:08 PM

"/dev file system support (OBSOLETE)" is unselected in my Filesystem section of menuconfig. So does it mean UDEV is implicitely used? How can Linux work alternativaly, without UDEV and DEVFS?

I found this URL : "http://www.vandekamer.com/linux/devfs.asp". Do you think configurind devfs may help to solve my DRI problem?

/bin/bash 05-06-2004 05:06 AM

Quote:

# modinfo via_agp
modinfo: could not find module via_agp
This is probably your problem. Check your kernel configuration with xconfig or menuconfig and select VIA chipset under the Agpgart selection in the Graphics driver. Then run make modules. You can copy the via_agp module to the prober /lib/modules/directory and do depmod -a. I can't tell you where the driver goes right now, but when I get home I'll look it up.

As for devfs vs udev I would not worry about that. It seems you are not using devfs and that is good because it is deprecated in the new 2.6 kernel. Udev is just a user program designed to work with hotplug and give the user a dynamic device interface that will create devices "on-the-fly" as needed.

/bin/bash 05-06-2004 05:22 AM

Another thing. After you startx run lsmod and make sure you have these modules running:
savage
via-agp
agpgart

janfy_fr 05-06-2004 12:32 PM

Hello! There's some pieces of news in my quest!

I checked my kernel config, built again the kernel and built again DRI. Now, I get this :

$ lsmod
Module Size Used by
ds 16004 2
apm 18092 2
via_rhine 21256 0
mii 5056 1 via_rhine
crc32 4352 1 via_rhine
hid 24960 0
snd_via82xx 25280 2
snd_pcm 99940 2 snd_via82xx
snd_timer 25860 1 snd_pcm
snd_ac97_codec 62724 1 snd_via82xx
snd_page_alloc 12164 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7872 1 snd_via82xx
snd_rawmidi 25120 1 snd_mpu401_uart
snd_seq_device 8136 1 snd_rawmidi
snd 55012 10 snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9888 1 snd
ehci_hcd 26564 0
uhci_hcd 32400 0
usbcore 105180 5 hid,ehci_hcd,uhci_hcd
yenta_socket 17152 0
pcmcia_core 70624 2 ds,yenta_socket
via_agp 7616 1
agpgart 32104 1 via_agp
joydev 9920 0
rtc 12664 0

As you see, the 'savage' module is not started. And the drm module has disappeared. But the via_agp module is there! Yes!
This time, before compiling the DRM module, I made a 'make dep' instead of 'make mrproper' in my /usr/src/linux directory. Has it done things going better or worst? I don't know.

/dev/agpgart still exists, but no /dev/dri/Card0 device...
ls -l /dev/agpgart
crw-rw---- 1 root video 10, 175 Mar 5 10:03 /dev/agpgart
$ ls -l /dev | grep dri
drwxr-xr-x 2 root root 4096 May 6 17:43 dri
$ cd /dev/dri
$ ls -al
total 32
drwxr-xr-x 2 root root 4096 May 6 17:43 .
drwxr-xr-x 15 root root 28672 May 6 17:43 ..

#modprobe -l | grep agp
/lib/modules/2.6.4/kernel/drivers/char/agp/via-agp.ko
/lib/modules/2.6.4/kernel/drivers/char/agp/agpgart.ko
# modprobe -l | grep drm
# modprobe -l | grep savage
# modprobe agpgart
# modprobe via-agp
#

# more /boot/config | grep AGP
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
CONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not set

# more /etc/modules.conf | grep agp
alias char-major-10-175 agpgart
# more /etc/modules.conf | grep savage
# more /etc/modules.conf | grep drm
# more /etc/modules.conf | grep dri

# modinfo via_agp
license: GPL and additional rights
author: Dave Jones <davej@codemonkey.org.uk>
vermagic: 2.6.4 preempt K7 gcc-3.3
depends: agpgart
alias: pci:v00001106d*sv*sd*bc06sc00i00*

Much better than yesterday! But still no savage module. I still need to be advised!
Thanks again /bin/bash for your precious help!

janfy_fr 05-06-2004 02:17 PM

I've send my previous message much too fast. Things go better and better. But glxgears ang glxinfo still show DRI off :

# lsmod
Module Size Used by
savage 52644 2
via_agp 7616 1
agpgart 32104 2 via_agp

$cat /var/log/XFree86.0.log | grep SAVAGE
.....................
(II) SAVAGE(0): [junkers] status:map:0x00000000
(II) SAVAGE(0): [junkers] sarea_priv_offset:0x00000898
(II) SAVAGE(0): Direct rendering enabled
(**) SAVAGE(0): XvMC is enabled

# glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No

Any idea?

/bin/bash 05-06-2004 03:31 PM

Try this:
grep EE /var/log/XFree86.0.log

That should print any errors you had while X was starting. Also try this:

dmesg|grep drm

janfy_fr 05-06-2004 04:08 PM

$ grep EE /var/log/XFree86.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER

$dmesg|grep drm
[drm] Initialized savage 1.0.0 20011023 on minor 0: S3 Inc. VT8375 [ProSavage8 KM266/KL266]

... and that's all. I'm wondering if X starts before all the modules are loaded?..

There are these errors at the end of dmesg :
$ dmesg
.......................
[drm] Initialized savage 1.0.0 20011023 on minor 0: S3 Inc. VT8375 [ProSavage8 KM266/KL266]
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 0x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 0x mode
mtrr: base(0x92000000) is not aligned on a size(0x5000000) boundary
mtrr: base(0x9157e000) is not aligned on a size(0xa80000) boundary
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.

fransemail 05-06-2004 04:11 PM

i2c-prosavage
 
try:

modprobe i2c-prosavage

have fun!

janfy_fr 05-06-2004 04:48 PM

Hi Fransemail, and thank you for your answer.

modprobe i2c-prosavage returned me "FATAL : etc"
So I enabled it in menuconfig/Device Drivers/I2C_config/I2C_support and I enabled I2C Hardware Bus support/ S3/VIA (Pro)Savage.
Exit, make modules, make modules_install, reboot -> DRI still doesn't load.

I have then also chosen I2C Hardware Sensors Chip support/VIA686A (in case of), installed the modules, rebooted -> DRI doesn't load, and I see in lsmod that the savage module is not loaded any more...

Any suggestion for me? I can feel that fun is not far away! ;o)

janfy_fr 05-06-2004 05:01 PM

The previous compilation had deleted the /lib/modules/2.6.4/kernel/drivers/char/drm directory, which contains savage.ko. After creation of drm, copy of savage.ko, depmod -a, reboot, I have my 3 precious modules again in lsmod.

But still no Direct Rendering...

fransemail 05-06-2004 06:21 PM

look this....
 
hello janfy_fr. Look this site http://www.probo.com/timr/savage40.html. However if your problem persist search in viaarena ( http://forums.viaarena.com/categorie...d=28&forumid=1 )forum. There is a linux section where you can find a lot of interesting threads for your problem. I've found there the solution for a problem with my VIA KM400!

/bin/bash 05-07-2004 05:17 AM

Quote:

... and that's all. I'm wondering if X starts before all the modules are loaded?..
Put these in your /etc/modprobe.preload file.
via_agp
agpgart
savage

janfy_fr 05-08-2004 04:32 PM

Hello /bin/bash and Fransemail!

At this time, graphics are still running without DRI.
Do you have an idea of what can make modules load without errors, DRI being said enabled, and only glxinfo ang glxgears telling it is wrong?

This is my XFree86.0.log file after I ran NeverWinterNights (which starts, but is unplayable) :

# more /var/log/XFree86.0.log


XFree86 Version 4.3.99.12 (DRI trunk)
Release Date: 10 September 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.4 i686 [ELF]
Current Operating System: Linux medion 2.6.4 #4 Thu May 6 10:50:21 CEST 2004 i686
Build Date: 06 May 2004
Changelog Date: 10 September 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat May 8 22:48:26 2004
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "LCD Monitor"
(**) | |-->Device "S3 ProSavage DDR-K"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "fr"
(**) XKB: layout: "fr"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/lib/X11/fonts/CID" does not exist.
Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unsca
led,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.7
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) PCI: Probing config type using method 1
.....................
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 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="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 2.0.4
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.13.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension RECORD
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.2
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "savage"
(II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o
(II) Module savage: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.27
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(II) SAVAGE: driver (version 1.1.27a) for S3 Savage chipsets: Savage4,
Savage3D, Savage3D-MV, Savage2000, Savage/MX-MV, Savage/MX,
Savage/IX-MV, Savage/IX, ProSavage PM133, ProSavage KM133,
ProSavage PN133, ProSavage KN133, SuperSavage/MX 128,
SuperSavage/MX 64, SuperSavage/MX 64C, SuperSavage/IX 128,
SuperSavage/IX 128, SuperSavage/IX 64, SuperSavage/IX 64,
SuperSavage/IXC 64, SuperSavage/IXC 64, ProSavage DDR,
ProSavage DDR-K
(II) Primary Device is: PCI 01:00:0
(--) Chipset ProSavageDDR found
(II) resource ranges after xf86ClaimFixedResources() call:
............................................................
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.7
(**) SAVAGE(0): Depth 16, (--) framebuffer bpp 16
(==) SAVAGE(0): RGB weight 565
(==) SAVAGE(0): Default visual is TrueColor
(II) SAVAGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) SAVAGE(0): Using AGP 1x mode
(II) SAVAGE(0): Using 16 MB AGP aperture
(==) SAVAGE(0): Using HW cursor
(==) SAVAGE(0): Using video BIOS to set modes
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) SAVAGE(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Reloading /usr/X11R6/lib/modules/libvbe.a
(II) SAVAGE(0): VESA BIOS detected
(II) SAVAGE(0): VESA VBE Version 3.0
(II) SAVAGE(0): VESA VBE Total Mem: 31680 kB
(II) SAVAGE(0): VESA VBE OEM: S3 Graphics ProSavage DDR Family BIOS
(II) SAVAGE(0): VESA VBE OEM Software Rev: 2.0
(II) SAVAGE(0): VESA VBE OEM Vendor: S3 Garphics Incorporated.
(II) SAVAGE(0): VESA VBE OEM Product: VBE 3.0
(II) SAVAGE(0): VESA VBE OEM Product Rev: Rev 0.0
(--) SAVAGE(0): Chip: id 8d04, "ProSavage DDR-K"
(--) SAVAGE(0): Engine: "ProSavageDDR"
(--) SAVAGE(0): mapping MMIO @ 0xe0000000 with size 0x80000
(==) SAVAGE(0): Using gamma correction (1.0, 1.0, 1.0)
(--) SAVAGE(0): probed videoram: 32768k
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(--) SAVAGE(0): No DDC signal
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.2.0
ABI class: XFree86 Video Driver, version 0.7
(II) SAVAGE(0): I2C bus "I2C bus" initialized.
(II) SAVAGE(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(II) SAVAGE(0): I2C device "I2C bus:ddc2" removed.
(--) SAVAGE(0): Detected current MCLK value of 14.318 MHz
(--) SAVAGE(0): 1024x768 TFT LCD panel detected and active
(--) SAVAGE(0): - Limiting video mode to 1024x768
(II) SAVAGE(0): LCD Monitor: Using hsync range of 30.00-60.00 kHz
(II) SAVAGE(0): LCD Monitor: Using vrefresh range of 50.00-75.00 Hz
(II) SAVAGE(0): Clock range: 10.00 to 250.00 MHz
(II) SAVAGE(0): Not using default mode "1024x768" (hsync out of range)
(II) SAVAGE(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
(II) SAVAGE(0): Not using default mode "1024x768" (hsync out of range)
(--) SAVAGE(0): Found 13 modes at this depth:
[10e] 320 x 200, 70Hz
[133] 320 x 240, 72Hz
[143] 400 x 300, 72Hz
[153] 512 x 384, 70Hz
[11d] 640 x 400, 70Hz
[111] 640 x 480, 60Hz, 75Hz, 85Hz, 100Hz, 160Hz
[114] 800 x 600, 60Hz, 75Hz, 85Hz
[117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 100Hz, 130Hz
[17a] 1280 x 768, 60Hz
[14f] 1280 x 960, 60Hz, 85Hz
[11a] 1280 x 1024, 60Hz, 75Hz, 85Hz, 100Hz
[13c] 1400 x 1050, 60Hz, 75Hz
[122] 1600 x 1200, 60Hz
(--) SAVAGE(0): Virtual size is 1024x768 (pitch 1024)
(**) SAVAGE(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) SAVAGE(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
..................................................;
(==) SAVAGE(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
......................................................................
(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 3.0
(II) SAVAGE(0): VESA VBE Total Mem: 31680 kB
(II) SAVAGE(0): VESA VBE OEM: S3 Graphics ProSavage DDR Family BIOS
(II) SAVAGE(0): VESA VBE OEM Software Rev: 2.0
(II) SAVAGE(0): VESA VBE OEM Vendor: S3 Garphics Incorporated.
(II) SAVAGE(0): VESA VBE OEM Product: VBE 3.0
(II) SAVAGE(0): VESA VBE OEM Product Rev: Rev 0.0
(--) SAVAGE(0): mapping framebuffer @ 0x90000000 with size 0x2000000
(==) SAVAGE(0): Write-combining range (0x90000000,0x2000000)
(II) SAVAGE(0): Splitting WC range: base: 0x92000000, size: 0x5000000
(II) SAVAGE(0): Splitting WC range: base: 0x94000000, size: 0x3000000
(==) SAVAGE(0): Write-combining range (0x96000000,0x1000000)
(==) SAVAGE(0): Write-combining range (0x94000000,0x3000000)
(==) SAVAGE(0): Write-combining range (0x92000000,0x5000000)
(II) SAVAGE(0): map aperture:0x423a9000
(--) SAVAGE(0): Chose mode 117 at 75Hz.
(II) SAVAGE(0): 4740 kB of Videoram needed for 3D; 32768 kB of Videoram available
(II) SAVAGE(0): Sufficient Videoram available for 3D
(II) SAVAGE(0): [drm] bpp: 16 depth: 16
(II) SAVAGE(0): [drm] Sarea 2200+872: 3072
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) SAVAGE(0): [drm] loaded kernel module for "savage" driver
(II) SAVAGE(0): [drm] DRM interface version 1.2
(II) SAVAGE(0): [drm] created "savage" driver at busid "pci:0000:01:00.0"
(II) SAVAGE(0): [drm] added 8192 byte SAREA at 0xce8a6000
(II) SAVAGE(0): [drm] mapped SAREA 0xce8a6000 to 0x473a9000
(II) SAVAGE(0): [drm] framebuffer handle = 0x90000000
(II) SAVAGE(0): [drm] added 1 reserved context for kernel
(II) SAVAGE(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x3156; Card 0x5333/0x8d04]
(II) SAVAGE(0): [agp] 16384 kB allocated with handle 0x00000001
(II) SAVAGE(0): [agp] agpTextures microcode handle = 0xa0000000
(II) SAVAGE(0): [agp] agpTextures mapped at 0x00000000
(II) SAVAGE(0): [drm] aperture handle = 0x92000000
(II) SAVAGE(0): [drm] Status handle = 0xce8ac000
(II) SAVAGE(0): [agp] Status page mapped at 0x473ab000
(II) SAVAGE(0): [dri] visual configs initialized
(**) SAVAGE(0): DRI is enabled
(II) SAVAGE(0): virtualX:1024,virtualY:768
(II) SAVAGE(0): bpp:16,tiledwidthBytes:2048,tiledBufferSize:1572864
(II) SAVAGE(0): bpp:16,widthBytes:2048,BufferSize:1572864
(II) SAVAGE(0): videoRambytes:0x02000000
(II) SAVAGE(0): textureSize:0x0195f000
(II) SAVAGE(0): textureSize:0x0195f000
(II) SAVAGE(0): textureOffset:0x00680000
(II) SAVAGE(0): depthOffset:0x00500000,depthPitch:2048
(II) SAVAGE(0): backOffset:0x00380000,backPitch:2048
(II) SAVAGE(0): Memory manager initialized to (0,0) (1024,1791)
(II) SAVAGE(0): Largest offscreen area available: 1024 x 1023
(II) SAVAGE(0): Reserved back buffer at offset 0x380000
(II) SAVAGE(0): Reserved depth buffer at offset 0x500000
(II) SAVAGE(0): Reserved 25980 kb for textures at offset 0x680000
(II) SAVAGE(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
Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
28 128x128 slots
7 256x256 slots
(==) SAVAGE(0): Backing store disabled
(**) Option "dpms"
(**) SAVAGE(0): DPMS enabled
(II) SAVAGE(0): X context handle = 0x00000001
(II) SAVAGE(0): [drm] installed DRM signal handler
(II) SAVAGE(0): [DRI] installation complete
(II) SAVAGE(0): [junkers]pSAVAGEDRIServer:
(II) SAVAGE(0): [junkers] reserved_map_agpstart:0x00000000
(II) SAVAGE(0): [junkers] reserved_map_idx:0x00000000
(II) SAVAGE(0): [junkers] sarea_priv_offset:0x00000000
(II) SAVAGE(0): [junkers] chipset:0x00000000
(II) SAVAGE(0): [junkers] sgram:0x00000000
(II) SAVAGE(0): [junkers] frontbufferSize:0x00180000
(II) SAVAGE(0): [junkers] frontOffset:0x00000000
.............................
(II) SAVAGE(0): [junkers] sarea_priv_offset:0x00000898
(II) SAVAGE(0): Direct rendering enabled
(**) SAVAGE(0): XvMC is enabled
(==) RandR enabled
.....................................................
(II) Configured Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0
SetClientVersion: 0 7
...........................................
(--) SAVAGE(0): Chose mode 114 at 60Hz.
SwitchToMode - Succeeded
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
SwitchToMode - scrn: 0 clock: 78800
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
Checking against clock: 78800 (78800)
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(--) SAVAGE(0): Chose mode 117 at 75Hz.
SwitchToMode - Succeeded
GetModeLine - scrn: 0 clock: 78800
.........................
Checking against clock: 36000 (36000)
hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
(--) SAVAGE(0): Chose mode 114 at 60Hz.
SwitchToMode - Succeeded
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
SwitchToMode - scrn: 0 clock: 78800
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
Checking against clock: 78800 (78800)
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(--) SAVAGE(0): Chose mode 117 at 75Hz.
SwitchToMode - Succeeded
GetModeLine - scrn: 0 clock: 78800
..................................................................
(--) SAVAGE(0): Chose mode 114 at 60Hz.
SwitchToMode - Succeeded
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
GetModeLine - scrn: 0 clock: 36000
GetModeLine - hdsp: 800 hbeg: 824 hend: 896 httl: 1024
vdsp: 600 vbeg: 601 vend: 603 vttl: 625 flags: 5
SwitchToMode - scrn: 0 clock: 78800
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
Checking against clock: 78800 (78800)
hdsp: 1024 hbeg: 1040 hend: 1136 httl: 1312
vdsp: 768 vbeg: 769 vend: 772 vttl: 800 flags: 5
(--) SAVAGE(0): Chose mode 117 at 75Hz.
SwitchToMode - Succeeded


Sorry for the length of the text. Hope you'll be able to give me pieces of advices. Thanks.

fransemail 05-08-2004 09:39 PM

check if kernel dri is enabled
 
hello! First of all check if kernel dri module is enabled:

cat /proc/dri/0/name

if your kernel doesn't have this feature, you cannot use dri module! If you have this module ( and output of 'cat' is like 'via 0xe200 PCI:1:0:0 ), under X see the output of glxinfo ( use a virtual terminal like xterm and type 'glxinfo | less' ) and check for direct rendering. What are your distro? However check your OpenGL and update it if necessary. Post results.


All times are GMT -5. The time now is 08:14 PM.