trident
trident is the open source graphics drivers for Trident graphics cards.
Contents |
Installation
Kernel
You need to activate the following kernel options:
Processor type and features --->
[*] MTRR (Memory Type Range Register) support
Device Drivers --->
Graphics support --->
If your card sits in an AGP slot, choose your AGP driver:
(Note: ALI chipsets are typically bundled with Trident graphics cards in laptops)
<*> /dev/agpgart (AGP Support) --->
<*> ALI chipset support
<*> Support for frame buffer devices --->
[*] Enable firmware EDID
[*] VESA VGA graphics support
<*> Trident/CyberXXX/CyberBlade support
Firmware
Unknown IRQ microcode needed for Trident graphics support at this time, since the Kernel driver (tridentfb) should support most functions for Trident cards. Unknown KMS details (may not work without it?).
Make sure firmware for your model (check available ones in /lib/firmware/trident) is included in kernel:
Device Drivers ---> -*- Userspace firmware loading support [*] Include in-kernel firmware blobs in kernel binary (trident/<YOUR-MODEL>.bin) (/lib/firmware) Firmware blobs root directory
Below is a list of the firmware files needed for each family of cards:
No known firmware files are needed for any particular Trident card at this time.
Driver
Portage uses the variable VIDEO_CARDS for enabling support for various graphics cards in packages. Setting VIDEO_CARDS to trident will pull in the correct driver:
VIDEO_CARDS="trident"
After setting this you want to update your system so the changes take effect:
root # emerge --ask --changed-use --deep worldConfiguration
Permissions
If you have the USE flag acl enabled globally and are using ConsoleKit (i.e you're using a Desktop profile) permissions to video cards will be handled automatically. You can check the permissions using getfacl:
user $ getfacl /dev/dri/card0 | grep larry
user:larry:rw-A broader solution is to add the user you want to be able to access the video card to the video group:
root # gpasswd -a larry videoNote that you will still be able to run X without permission to the DRI subsystem, but usually not with acceleration enabled.
xorg.conf
The X server is designed to work out-of-the-box, with no need to manually edit X.Org's configuration files. It should detect and configure devices such as displays, keyboards, and mice.
However, the main configuration file of the X server is the xorg.conf.
You can force the X server to use desired driver with:
Section "Device" Identifier "trident" Driver "trident" EndSection
Framebuffer (GRUB or LILO)
video=tridentfb:1024x768-16@60
Documentation
Full Documentation can be found under /usr/src/linux/Documentation/fb/tridentfb.txt.