trident

From Gentoo Wiki
Jump to: navigation, search

trident is the open source graphics drivers for Trident graphics cards.

Contents

Installation

Kernel

You need to activate the following kernel options:

Kernel configuration

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:

Kernel configurationIncluding trident firmware

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:

File/etc/portage/make.conf

 VIDEO_CARDS="trident"

After setting this you want to update your system so the changes take effect:

root # emerge --ask --changed-use --deep world

Configuration

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 video

Note 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:

File/etc/X11/xorg.conf.d/trident.confExplicit trident driver section

 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.

Troubleshooting

External resources

Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories