特殊:Badtitle/NS100:Voodoo3doesnotdo3d:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第103行: | 第103行: | ||
</nowiki></pre> | </nowiki></pre> | ||
=== More info === | === More info === | ||
* Glide Open Source Project - | * Glide Open Source Project - [http://glide.sourceforge.net/] | ||
* libglide3 in ubuntu | * libglide3 in ubuntu | ||
* | * [http://packages.ubuntu.com/warty/libs/libglide3] | ||
* | * [http://packages.ubuntu.com/hoary/libs/libglide3] | ||
* | * [http://packages.ubuntu.com/breezy/libs/libglide3] | ||
* Voodoo3 and DRI - | * Voodoo3 and DRI - [http://dri.freedesktop.org/wiki/3dfx] | ||
* OpenGL - http://dri.freedesktop.org/wiki/OpenGL] | * OpenGL - http://dri.freedesktop.org/wiki/OpenGL] | ||
---- | ---- |
2008年10月20日 (一) 01:06的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Voodoo3doesnotdo3d }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/af | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Afrikaans| [[::Voodoo3doesnotdo3d/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ar | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|العربية| [[::Voodoo3doesnotdo3d/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/az | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|azərbaycanca| [[::Voodoo3doesnotdo3d/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/bcc | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|جهلسری بلوچی| [[::Voodoo3doesnotdo3d/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/bg | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|български| [[::Voodoo3doesnotdo3d/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/br | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|brezhoneg| [[::Voodoo3doesnotdo3d/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ca | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|català| [[::Voodoo3doesnotdo3d/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/cs | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|čeština| [[::Voodoo3doesnotdo3d/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/de | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Deutsch| [[::Voodoo3doesnotdo3d/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/el | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Ελληνικά| [[::Voodoo3doesnotdo3d/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/es | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|español| [[::Voodoo3doesnotdo3d/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/fa | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|فارسی| [[::Voodoo3doesnotdo3d/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/fi | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|suomi| [[::Voodoo3doesnotdo3d/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/fr | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|français| [[::Voodoo3doesnotdo3d/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/gu | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|ગુજરાતી| [[::Voodoo3doesnotdo3d/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/he | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|עברית| [[::Voodoo3doesnotdo3d/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/hu | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|magyar| [[::Voodoo3doesnotdo3d/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/id | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Bahasa Indonesia| [[::Voodoo3doesnotdo3d/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/it | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|italiano| [[::Voodoo3doesnotdo3d/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ja | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|日本語| [[::Voodoo3doesnotdo3d/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ko | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|한국어| [[::Voodoo3doesnotdo3d/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ksh | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Ripoarisch| [[::Voodoo3doesnotdo3d/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/mr | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|मराठी| [[::Voodoo3doesnotdo3d/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ms | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Bahasa Melayu| [[::Voodoo3doesnotdo3d/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/nl | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Nederlands| [[::Voodoo3doesnotdo3d/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/no | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|norsk| [[::Voodoo3doesnotdo3d/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/oc | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|occitan| [[::Voodoo3doesnotdo3d/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/pl | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|polski| [[::Voodoo3doesnotdo3d/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/pt | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|português| [[::Voodoo3doesnotdo3d/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ro | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|română| [[::Voodoo3doesnotdo3d/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/ru | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|русский| [[::Voodoo3doesnotdo3d/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/si | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|සිංහල| [[::Voodoo3doesnotdo3d/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/sq | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|shqip| [[::Voodoo3doesnotdo3d/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/sr | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|српски / srpski| [[::Voodoo3doesnotdo3d/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/sv | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|svenska| [[::Voodoo3doesnotdo3d/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/th | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|ไทย| [[::Voodoo3doesnotdo3d/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/tr | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Türkçe| [[::Voodoo3doesnotdo3d/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/vi | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|Tiếng Việt| [[::Voodoo3doesnotdo3d/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/yue | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|粵語| [[::Voodoo3doesnotdo3d/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/zh | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|中文| [[::Voodoo3doesnotdo3d/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/zh-hans | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|中文(简体)| [[::Voodoo3doesnotdo3d/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Voodoo3doesnotdo3d | UbuntuHelp:Voodoo3doesnotdo3d | {{#if: | :}}Voodoo3doesnotdo3d}}/zh-hant | • {{#if: UbuntuHelp:Voodoo3doesnotdo3d|中文(繁體)| [[::Voodoo3doesnotdo3d/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Voodoo3doesnotdo3d|:Voodoo3doesnotdo3d|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Voodoo3doesnotdo3d/zh | | {{#ifexist: Voodoo3doesnotdo3d/zh | | {{#ifeq: {{#titleparts:Voodoo3doesnotdo3d|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Voodoo3doesnotdo3d|1|-1|}} | zh | | }}
Introduction
The Voodoo3 was a good accelerated 3D video card for it's time, but it and all other Voodoo cards are now considered defunct (http://dri.freedesktop.org/wiki/3dfx). However, it can use openGL in 16 bit color at resolutions of 1024x768 and below. Since Ubuntu uses 24 bit color and the maximum resolution available to your monitor, you will need to change a few things.
Installation
This howto assumes that you already have a working X server configuration. If you don't, or are not sure, FixVideoResolutionHowto will help you set one up.
Summary
- Install a support library
- Create an xorg.conf file for using hardware acceleration at 16 bit color
- Create a helper script that will ease switching between accelerated 3D and the default
Install the support library
`libglide3` is a library that links DRI calls to the capabilities of the Voodoo3
sudo apt-get install libglide3
Create the new xorg.conf
Move to the location of the file `xorg.conf` and make a backup copy.
cd /etc/X11 sudo cp xorg.conf xorg.conf.noaccel
Make a copy you will change.
sudo cp xorg.conf xorg.conf.accel
Create the hardware accelerated configuration
gksudo gedit xorg.conf.accel
Limit the available resolutions
Search near the bottom of `xorg.conf.accel` for the portion that reads as follows (the `Modes` line in your `xorg.conf.accel` is probably different):
SubSection "Display" Depth 16 Modes "1600x1200" "1024x768" "800x600" "640x480" EndSubSection
You will see other `SubSection "Display"` definitions, with `Depths` of `1, 4, 8, 15`, and `24`. Be sure you are altering the one with `Depth 16`. Delete any resolutions in the `Modes` line that are higher than `"1024x768"`. For the above example, the changed `SubSection` would read:
SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection
Select 16 bit color depth
Directly above the `SubSection "Display"` stanzas, there is a `Section "Screen"`. Within that section you will see that the `DefaultDepth` is set to `24`. Change that to `16`.
DefaultDepth 16
Save your changes, and exit gedit.
Create the helper script
Run gedit as a normal user from your home directory, and cut and paste the following script into gedit:
cd $HOME gedit voodoo
This script will simplify switching between accelerated 3D and normal usage.
#! /bin/bash case $1 in accel ) cp /etc/X11/xorg.conf.accel /etc/X11/xorg.conf ;; noaccel ) cp /etc/X11/xorg.conf.noaccel /etc/X11/xorg.conf ;; * ) echo echo "Usage" echo echo " voodoo accel - use accelerated 16 bit color" echo " voodoo noaccel - use normal 24 bit color" echo XORGDEPTH=`grep DefaultDepth /etc/X11/xorg.conf | cut -f3` XDRI=`grep rendering /var/log/Xorg.0.log | cut --delimiter=" " -f5` XDEPTH=`xdpyinfo | grep "depth of root window" | cut --delimiter=" " -f10` echo " You are currently running at $XDEPTH bit color, with direct" echo " rendering $XDRI. When you restart X, it will run" echo " in $XORGDEPTH bit color." ;; esac
Save the file, and exit gedit. Then make `voodoo` executable.
chmod u+x voodoo
`voodoo` must be run as root on this machine, and should be available on your PATH. `/usr/local/bin` is a customary location for scripts in that category.
sudo cp voodoo /usr/local/bin
Enabling your accelerated configuration
Using the Script
To select between the accelerated 3D and normal configurations, simply run `voodoo` and give it your choice. To use the accelerated 3D xorg.conf, type
sudo voodoo accel
and for the normal, 24 bit color, type
sudo voodoo noaccel
Restarting X
X must be restarted to switch between 16 bit and 24 bit color depths. Logging out of your desktop, and and pressing control-alt-backspace at the login screen will ensure that X is restarted.
Testing your accelerated 3D
To see the status of your X server, simply type
voodoo
More info
- Glide Open Source Project - [1]
- libglide3 in ubuntu
- [2]
- [3]
- [4]
- Voodoo3 and DRI - [5]
- OpenGL - http://dri.freedesktop.org/wiki/OpenGL]