LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-15-2004, 07:45 AM   #106
blubz
LQ Newbie
 
Registered: Nov 2004
Distribution: LFS, Slackware
Posts: 14

Rep: Reputation: 0

the URL for the snapshots is now http://www.freedesktop.org/dri/snapshots/ (instead of ~dri) but since the site's attack in november the snapshots are temporarily removed (see the README)
 
Old 12-18-2004, 05:37 AM   #107
mpoos
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
I have installed latest snapshots deb pkg 2004.11.23 but cant get XvMC enabled

I get

(II) SAVAGE(0): Direct rendering enabled
(--) SAVAGEInitMC: Cannot add map to drm!
(**) SAVAGE(0): XvMC is not enabled
(==) RandR enabled

everything is great except for this.
mem is

(II) SAVAGE(0): 9348 kB of Videoram needed for 3D; 32768 kB of Videoram available
(II) SAVAGE(0): Sufficient Videoram available for 3D
(II) SAVAGE(0): [drm] bpp: 32 depth: 24
(II) SAVAGE(0): [drm] Sarea 2200+872: 3072
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)

it all looks ok.
how much mem do I need?
cheers
mpoos
 
Old 01-04-2005, 12:59 PM   #108
rainerh
LQ Newbie
 
Registered: Dec 2004
Location: Austria
Distribution: Debian
Posts: 4

Rep: Reputation: 0
Hi, before I install these drivers I would like to know if they also enable other functions like the graphical output to a beamer or lcd monitor?
As far as I understood only the DRI module and nothing else is supported, isn't it?
 
Old 01-09-2005, 06:43 PM   #109
azeemarif
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
Quote:
Originally posted by mpoos
I have installed latest snapshots deb pkg 2004.11.23 but cant get XvMC enabled

I get

(II) SAVAGE(0): Direct rendering enabled
(--) SAVAGEInitMC: Cannot add map to drm!
(**) SAVAGE(0): XvMC is not enabled
(==) RandR enabled

everything is great except for this.
mem is

(II) SAVAGE(0): 9348 kB of Videoram needed for 3D; 32768 kB of Videoram available
(II) SAVAGE(0): Sufficient Videoram available for 3D
(II) SAVAGE(0): [drm] bpp: 32 depth: 24
(II) SAVAGE(0): [drm] Sarea 2200+872: 3072
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)

it all looks ok.
how much mem do I need?
cheers
mpoos

Your color depth is set to 24 (32bpp). You can reduce it to 16 (24bpp) in your /etc/X11/XFree86.conf or /etc/X11/Xorg.conf. It will not only solve your DRI problem but also increase X speed.
 
Old 01-24-2005, 08:52 PM   #110
bodymind
LQ Newbie
 
Registered: Dec 2004
Distribution: gentoo 2.6
Posts: 28

Rep: Reputation: 15
if anyone could help.. please!

http://www.linuxquestions.org/questi...hreadid=280959
 
Old 01-31-2005, 05:31 PM   #111
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
I'm not sure this will work with your chip. Look HERE

This is your chip:
(--) PCI:*(1:0:0) S3 Inc. VT8375 [ProSavage8 KM266/KL266] rev 0



Quote:
Savage

Supported chips:

* Savage3D
* SavageMX/IX
* Savage4
* Supersavage
* Prosavage/Twister/DDR
Also from your post:
(II) SAVAGE: driver (version 1.1.27) 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
 
Old 01-31-2005, 06:48 PM   #112
bodymind
LQ Newbie
 
Registered: Dec 2004
Distribution: gentoo 2.6
Posts: 28

Rep: Reputation: 15
http://www.linuxquestions.org/hcl/sh...p?product=1908 i guess you're not right.. maybe it uses another driver.. anybody knows anything about this? =|
 
Old 01-31-2005, 06:58 PM   #113
bodymind
LQ Newbie
 
Registered: Dec 2004
Distribution: gentoo 2.6
Posts: 28

Rep: Reputation: 15
http://ubuntuforums.org/archive/index.php/t-11400.html -> i've found something.. anyone knows about this patch?
 
Old 02-02-2005, 09:02 PM   #114
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
Quote:
i guess you're not right.. maybe it uses another driver..
I didn't say the card would not work at all, I just dont think the savage dri driver will work with it. It will probably work with the generic svga driver.

Good luck.
 
Old 02-12-2005, 07:25 PM   #115
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
OK bodymind you were right. This should work with your chips.

It should work as written in the first post without any patches.

Remember as I stated in post #1 this is a work-in-progress and as such it is constantly changing. Also the documentation is constantly changing. You should always check the dri homepage for the latest documentation.

I'm terribly sorry about the mistake. Good-Luck.
 
Old 07-25-2005, 11:56 PM   #116
knowerrors
LQ Newbie
 
Registered: Dec 2004
Distribution: SimplyMepis 3.3.1 (Debian 2.6.11.6)
Posts: 12

Rep: Reputation: 0
prosavage8 ddr dri on Debian, no go

Using debian with a 2.6.11.6 kernel with DRM and savage enabled (seemingly), and trying to get DRI installed for S3 Prosavage8 DDR card. Im using X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-3) which is supposedly xorg, though Ive heard it may be some mutant version of xfree86. After running install.sh, I get-

Compiling...
ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

Please help me find whats wrong here, really want 3D to work. Any ideas?
Thanks,
KE
 
Old 07-30-2005, 09:27 PM   #117
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
Look in dri.log and se if there are any errors listed.

Make sure you have the kernel-sources installed properly (many post here explain that). You should make sure your kernel has DRM enabled

ls /lib/modules/`uname -r`/kernel/drivers/char/drm

If you don't have a drm.ko module then check if it is built into the kernel:
grep -i drm /usr/src/linux/.config
CONFIG_DRM=m #Yours may say CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
 
Old 07-30-2005, 09:34 PM   #118
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
BTW I am currently running SimplyMEPIS, kernel 2.6.12.2
X Window System Version 6.8.2 (Debian 6.8.2.dfsg.1-4)

And I have direct rendering working, on my ProSavage8 DDR. So don't give up.
 
Old 07-31-2005, 11:21 PM   #119
knowerrors
LQ Newbie
 
Registered: Dec 2004
Distribution: SimplyMepis 3.3.1 (Debian 2.6.11.6)
Posts: 12

Rep: Reputation: 0
Hi /bin/bash, thanks for looking, had some problems with gcc versions, so I changed to 3.3 from 4.0, and tried installing again, here is my dri.log:

make DRM_MODULES=savage.o modules
make[1]: Entering directory `/home/flow/dripkg/drm/linux-core'
make -C /lib/modules/2.6.11.6.050620.2/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.11.6'
CC [M] /home/flow/dripkg/drm/linux-core/drm_auth.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_bufs.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_context.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_dma.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_drawable.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_drv.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_fops.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_ioctl.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_irq.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_lock.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_memory.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_proc.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_stub.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_vm.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_sysfs.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_pci.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_agpsupport.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_scatter.o
CC [M] /home/flow/dripkg/drm/linux-core/drm_memory_debug.o
CC [M] /home/flow/dripkg/drm/linux-core/ati_pcigart.o
CC [M] /home/flow/dripkg/drm/linux-core/savage_drv.o
CC [M] /home/flow/dripkg/drm/linux-core/savage_bci.o
CC [M] /home/flow/dripkg/drm/linux-core/savage_state.o
LD [M] /home/flow/dripkg/drm/linux-core/drm.o
LD [M] /home/flow/dripkg/drm/linux-core/savage.o
Building modules, stage 2.
MODPOST
*** Warning: "agp_backend_release" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_copy_info" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_unbind_memory" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_allocate_memory" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_free_memory" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_backend_acquire" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_enable" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
*** Warning: "agp_bind_memory" [/home/flow/dripkg/drm/linux-core/drm.ko] undefined!
CC /home/flow/dripkg/drm/linux-core/drm.mod.o
LD [M] /home/flow/dripkg/drm/linux-core/drm.ko
CC /home/flow/dripkg/drm/linux-core/savage.mod.o
LD [M] /home/flow/dripkg/drm/linux-core/savage.ko
make[2]: Leaving directory `/usr/src/kernel-source-2.6.11.6'
make[1]: Leaving directory `/home/flow/dripkg/drm/linux-core'
/usr/X11R6/lib
WARNING: Error inserting drm (/lib/modules/2.6.11.6.050620.2/kernel/drivers/char/drm/drm.ko): Invalid module format
FATAL: Error inserting savage (/lib/modules/2.6.11.6.050620.2/kernel/drivers/char/drm/savage.ko): Invalid module format


After typing ls /lib/modules/`uname -r`/kernel/drivers/char/drm I get:

dri-old.drm.ko drm.ko i830.ko mga.ko radeon.ko sis.ko
dri-old.savage.ko i810.ko i915.ko r128.ko savage.ko tdfx.ko

grep -i drm /usr/src/linux/.config gives me:

CONFIG_DRM=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m


Glad to hear you're running almost the same setup as me and have success. Hope you can offer some further guidance based on this info. Thanks

<EDIT>
I got it running after lots of learning and guessing... I think my version.h was wrong after some failed kernel compiles... had the name of kernel that isn't used. Seems after doing this and also changing my gcc from 4.0 to 3.3, it worked. GLX gears shows 250fps, not bad, more than double what I had without dri. Tux racer looks great except the image size(resolution) is small, not sure how to change that except by monitor settings buttons, but will fool around with it. Thanks for the encouragement!

Last edited by knowerrors; 08-01-2005 at 03:38 PM.
 
Old 08-02-2005, 11:46 PM   #120
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
Glad to hear you got it working. Just to give you something to compare to. While running KDE in 24bit 1280 x 1024 resolution I get ~ 450FPS. In XFCE I can get >480FPS. Also have 2G P4 w/512M ram if that matters?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libGL is out of sync with DRI - no direct rendering ATI m9 cor67393 Slackware 5 08-21-2005 12:13 PM
Can't get DRI enabled with Savage/IX-MV Arttu Linux - Software 14 02-09-2005 02:36 AM
DRI not working on Savage Trurl Linux - Hardware 2 01-24-2005 09:22 PM
Question about DRI for S3 savage (twister) blubz Linux - Hardware 1 11-19-2004 10:20 AM
XFree86 DRI : glxinfo -> Direct rendering : No Muzzy Linux - Hardware 20 05-24-2004 07:03 AM


All times are GMT -5. The time now is 09:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration