View previous topic :: View next topic |
Author |
Message |
orkshaman n00b

Joined: 27 Apr 2010 Posts: 3
|
Posted: Tue Apr 27, 2010 10:54 pm Post subject: 3dfx voodoo 3 x86_64, software rasterizer only |
|
|
Sorry for my bad english. I have 3dfx voodoo 3 2000 pci videocard on my x86_64 machine. I compiled kernel with dri support voodoo 3, enable CONFIG_FB_3DFX_ACCEL, emerge xorg-server, xf86-video-tdfx,unmask and emerge glide-v3,mesa, but i have only software rasterizer opengl. How i can have hardware acceleration?
glxinfo
Quote: |
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.8.1
OpenGL shading language version string: 1.20
|
my /etc/make.conf
Quote: |
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2 tdfx -gnome -kde -minimal -qt3 -qt4 X branding dbus hal jpeg
lock session startup-notification thunar alsa opengl png mikmod vorbis
gstreamer mp3 mpeg gmplayer ffmpeg ext3 extras voodoo3 dri"
VIDEO_CARDS="tdfx"
INPUT_DEVICES="evdev"
ACCEPT_KEYWORDS="~amd64"
QEMU_SOFTMMU_TARGETS="i386 x86_64"
QEMU_USER_TARGETS="i386 x86_64"
|
my xorg.conf
Quote: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dri2"
Load "glx"
Load "dri"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
DisplaySize 800 600 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
HorizSync 30.0 - 71.0
VertRefresh 50.0 - 85.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "UsePIO" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "VideoKey" # <i>
#Option "NoSLI" # [<bool>]
#Option "TexturedVideo" # [<bool>]
Option "DRI" # [<bool>]
Option "ForcePCIMode" "True"
Identifier "Card0"
Driver "tdfx"
VendorName "3Dfx Interactive, Inc."
BoardName "Voodoo 3"
BusID "PCI:4:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 800 600
Depth 24
EndSubSection
EndSection
Section "dri"
Mode 0666
EndSection
|
|
|
Back to top |
|
 |
orkshaman n00b

Joined: 27 Apr 2010 Posts: 3
|
Posted: Wed Apr 28, 2010 8:39 am Post subject: |
|
|
Ok, i try to compile mesa with glide manually.  |
|
Back to top |
|
 |
orkshaman n00b

Joined: 27 Apr 2010 Posts: 3
|
Posted: Wed Apr 28, 2010 9:15 pm Post subject: |
|
|
It works!
1. I set DefaultDepth 16 in /etc/X11/xorg.conf
2. emerge --unmerge mesa
3. emerge --unmerge glide-v3
4. emerge glide-v3
5. emerge mesa
6. reboot (before reboot glxinfo give error)
7. And it's works!
Quote: |
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Voodoo3 20061113
OpenGL version string: 1.2 Mesa 7.8.1
|
Quote: |
glxgears
5676 frames in 5.0 seconds = 1135.166 FPS
|
I check openarena and it's work ~60fps
I love gentoo! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|