Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dri + 3dfx + agpgart fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Sat Jul 26, 2003 2:47 pm    Post subject: dri + 3dfx + agpgart fails Reply with quote

I'm using openmoix-source-2.4.20 and agpgart is compiled into the kernel with 3dfx.
Code:

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected Intel 440BX chipset
agpgart: AGP aperture is 64M @ 0xe0000000

The config
Code:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Logitech" "CorePointer"
        InputDevice    "btc9000a" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
        Load  "freetype"
        Load  "ddc"
        Load  "GLcore"
        Load  "xie"
        Load  "pex5"
        Load  "bitmap"
        Load  "vbe"
        Load  "int10"
EndSection

Section "ServerFlags"
        #Option     "NoTrapSignals"
        #Option     "DontZap"
        #Option     "Dont Zoom"
        #Option     "DisableVidModeExtention"
        #Option     "AllowNonLocalXvidTune"
        #Option     "DisableModInDev"
        #Option     "AllowNonLocalModInDev"
EndSection

Section "InputDevice"
        Identifier  "btc9000a"
        Driver      "keyboard"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "btc9000a"
        Option      "XkbLayout" "ca_enhanced"
EndSection

Section "InputDevice"
        Identifier  "Logitech"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons"
        Option      "CorePointer"
EndSection

Section "Monitor"

        #DisplaySize      360   270     # mm
        Identifier   "Hansol"
        VendorName   "HSL"
        ModelName    "76e"
        HorizSync    30.0 - 85.0
        VertRefresh  47.0 - 160.0
        ModeLine     "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
        ModeLine     "320x240@120" 12.6 320 328 376 400 240 245 246 262 -hsync -vsync doublescan
        ModeLine     "640x480@85Hz(VESA)" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync
        ModeLine     "800x600@75Hz(VESA)" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
        ModeLine     "800x600@85Hz(VESA)" 563.0 800 832 896 1048 600 601 604 631 +hsync +vsync
        ModeLine     "1024x768@75Hz(VESA)" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
        ModeLine     "1024x768@85Hz(VESA)" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
        ModeLine     "1280x1024@75Hz(VESA)" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
        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      "AGPMode" "4"
        Option      "AGPFastWrite" "true"
        Option      "EnablePageFlip" "true"
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "UsePIO"                    # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "NoSLI"                     # [<bool>]
        #Option     "TexturedVideo" "True"      # [<bool>]
        Option      "DRI" "True"                # [<bool>]
        Identifier  "voodoo3"
        Driver      "tdfx"
        VendorName  "3Dfx Interactive, Inc."
        BoardName   "Voodoo 3"
        ChipSet     "3dfx Voodoo3"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "voodoo3"
        Monitor    "Hansol"
        DefaultDepth 16
        SubSection "Display"
                Modes     "1280x1024" "1024x768"
                Depth     1
        EndSubSection
        SubSection "Display"
                Modes     "1280x1024" "1024x768"
                Depth     4
        EndSubSection
        SubSection "Display"
                Modes     "1280x1024" "1024x768"
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes     "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Modes     "1024x768"
                Depth     16
        EndSubSection
        SubSection "Display"
                Modes     "1024x768"
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection



drm fails:
Code:
(II) TDFX(0): [dri] VideoRAM = 16384, VirtualXres = 1024, VirtualYres= 768,
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "agpgart"
drmOpenDevice: minor is 0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) TDFX(0): [drm] loaded kernel module for "tdfx" driver
(II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0"
(II) TDFX(0): [drm] added 8192 byte SAREA at 0xe29c4000
(II) TDFX(0): [drm] mapped SAREA 0xe29c4000 to 0x40014000
(II) TDFX(0): [drm] framebuffer handle = 0xe8000000
(II) TDFX(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0xe4000000
(II) TDFX(0): visual configs initialized
(II) TDFX(0): Using XFree86 Acceleration Architecture (XAA)


There are many posts here concerning dri (maybe too many) but I can't seem to put my finger on it. Clearly, agpgart seem in cause, but I turn in round figuring why.
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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