I am placing the mach64*.o modules under
/lib/modules/2.4.5-win4lin/kernel/drivers/char/drm. I do not think that
the kernel modules are a problem they seem to load fine.

Liam Wilks

On Tue, 2001-10-30 at 15:53, Carl Busjahn wrote:
> Where are you placing the mach64*.o modules?
> You should be putting them somewhere under your kernel module directory 
> (/lib/modules/2.4.5*)  The mach64 modules are not built automatically by 
> the DRI make World command.  To compile these modules, cd to 
> DRI-SOURCE/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/ 
>  then do gmake -f Makefile.linux  then just copy mach64*.o to your 
> kernel module directory (somewhere under there).
> 
> Liam Wilks wrote:
> 
> >Could somebody please help me? I have compiled the latest
> >mach64-0-0-2-branch from cvs, and I can not get direct rendering to
> >load. 
> >
> >The latest dri kernel modules install properly, and so does the agpgart
> >kernel module. My video card reports that bus mastering is enabled. And
> >I have activated MTRR in the kernel. 
> >
> >I am running Redhat 7.1 on a Dell Inspiron 7500 Pentium III 500 with 128
> >MB SDRAM. Kernel version 2.4.5 with patches for Win4Lin. My video card
> >is an ATI Rage Mobility P/M with 8mb SGRAM, which is a Mach64 based
> >card.
> >
> >I will print what information I have below. Sorry if it seems a bit
> >excessive.
> >
> >Any help anybody can give me would be much appreciated.
> >
> >Below is the output from starting the DRI X server: 
> >
> >This is a pre-release version of XFree86, and is not supported in any
> >way.  Bugs may be reported to [EMAIL PROTECTED] and patches submitted
> >to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
> >please check the latest version in the XFree86 CVS repository
> >(http://www.XFree86.Org/cvs)
> >
> >XFree86 Version 4.1.99.1 (DRI mach64 branch) / X Window System
> >(protocol Version 11, revision 0, vendor release 6510)
> >Release Date: 20 August 2001
> >     If the server is older than 6-12 months, or if your card is
> >     newer than the above date, look for a newer version before
> >     reporting problems.  (See http://www.XFree86.Org/FAQ)
> >Build Operating System: Linux 2.4.5-win4lin i686 [ELF] 
> >Module Loader present
> >(==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 29 13:49:07 2001
> >(++) Using config file: "XF86Config"
> >Markers: (--) probed, (**) from config file, (==) default setting,
> >         (++) from command line, (!!) notice, (II) informational,
> >         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> >(==) ServerLayout "XFree86 Configured"
> >(**) |-->Screen "Screen0" (0)
> >(**) |   |-->Monitor "Monitor0"
> >(**) |   |-->Device "Card0"
> >(**) |-->Input Device "Mouse0"
> >(**) |-->Input Device "Keyboard0"
> >(**) FontPath set to 
>"/usr/X11R6-DRI/lib/X11/fonts/misc/,/usr/X11R6-DRI/lib/X11/fonts/Speedo/,/usr/X11R6-DRI/lib/X11/fonts/Type1/,/usr/X11R6-DRI/lib/X11/fonts/CID/,/usr/X11R6-DRI/lib/X11/fonts/75dpi/,/usr/X11R6-DRI/lib/X11/fonts/100dpi/"
> >(**) RgbPath set to "/usr/X11R6-DRI/lib/X11/rgb"
> >(**) ModulePath set to "/usr/X11R6-DRI/lib/modules"
> >(--) using VT number 7
> >
> >(II) Loading /usr/X11R6-DRI/lib/modules/fonts/libbitmap.a
> >(II) Module bitmap: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/libpcidata.a
> >(II) Module pcidata: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 0.1.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/libscanpci.a
> >(II) Module scanpci: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 0.1.0
> >(II) Unloading /usr/X11R6-DRI/lib/modules/libscanpci.a
> >(--) PCI:*(1:0:0) ATI Mach64 LM rev 100, Mem @ 0xfd000000/24, 0xfc000000/12, I/O @ 
>0x2000/8
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libdbe.a
> >(II) Module dbe: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libdri.a
> >(II) Module dri: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/linux/libdrm.a
> >(II) Module drm: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libextmod.a
> >(II) Module extmod: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libglx.a
> >(II) Module glx: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libGLcore.a
> >(II) Module GLcore: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libpex5.a
> >(II) Module pex5: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/librecord.a
> >(II) Module record: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.13.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/extensions/libxie.a
> >(II) Module xie: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/fonts/libspeedo.a
> >(II) Module speedo: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/fonts/libtype1.a
> >(II) Module type1: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/drivers/ati_drv.o
> >(II) Module ati: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 6.3.6
> >(II) Loading /usr/X11R6-DRI/lib/modules/input/mouse_drv.o
> >(II) Module mouse: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) ATI: ATI driver (version 6.3.6) for chipsets: ati, ativga
> >(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
> >     ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
> >     ATI Rage 128 RL (AGP), ATI Rage 128 Pro PD (PCI),
> >     ATI Rage 128 Pro PF (AGP), ATI Rage 128 Mobility LE (PCI),
> >     ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP),
> >     ATI Rage 128 Mobility ML (AGP)
> >(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
> >     ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
> >     ATI Radeon VE (AGP)
> >(II) Loading /usr/X11R6-DRI/lib/modules/drivers/atimisc_drv.o
> >(II) Module atimisc: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 6.3.6
> >(==) ATI(0): Chipset:  "ati".
> >(**) ATI(0): Depth 16, (--) framebuffer bpp 16
> >(II) Loading /usr/X11R6-DRI/lib/modules/linux/libint10.a
> >(II) Module int10: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) ATI(0): Primary V_BIOS segment is: 0xc000
> >(II) Loading /usr/X11R6-DRI/lib/modules/libddc.a
> >(II) Module ddc: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/libvbe.a
> >(II) Module vbe: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) ATI(0): VESA BIOS detected
> >(II) ATI(0): VESA VBE DDC supported
> >(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
> >(--) ATI(0): Chip type 4C4D "LM", version 4, foundry TSMC, class 0, revision 0x01.
> >(--) ATI(0): AGP bus interface detected;  block I/O base is 0x2000.
> >(--) ATI(0): ATI Mach64 adapter detected.
> >(--) ATI(0): Internal RAMDAC (subtype 1) detected.
> >(==) ATI(0): RGB weight 565
> >(==) ATI(0): Default visual is TrueColor
> >(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
> >(II) ATI(0): Using Mach64 accelerator CRTC.
> >(--) ATI(0): 1024x768 panel (ID 4) detected.
> >(--) ATI(0): Panel model Hitachi TX38D73VC1CAC.
> >(--) ATI(0): Panel clock is 65.146 MHz.
> >(II) ATI(0): Using digital flat panel interface.
> >(II) ATI(0): Storing hardware cursor image at 0xFD7FFC00.
> >(II) ATI(0): Using 8 MB linear aperture at 0xFD000000.
> >(!!) ATI(0): Virtual resolutions will be limited to 8191 kB
> > due to linear aperture size and/or placement of hardware cursor image area.
> >(II) ATI(0): Using Block 0 MMIO aperture at 0xFC000400.
> >(II) ATI(0): Using Block 1 MMIO aperture at 0xFC000000.
> >(==) ATI(0): Write-combining range (0xfd000000,0x800000)
> >(II) ATI(0): MMIO write caching enabled.
> >(--) ATI(0): 8192 kB of SGRAM (1:1) detected (using 8191 kB).
> >(WW) ATI(0): Cannot shadow an accelerated frame buffer.
> >(--) ATI(0): Internal programmable clock generator detected.
> >(--) ATI(0): Reference clock 29.500 MHz.
> >(II) ATI(0): Maximum clock: 230.00 MHz
> >(II) ATI(0): Not using default mode "1152x864" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1280x960" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1280x960" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1280x1024" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1280x1024" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1280x1024" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1200" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1200" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1200" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1200" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1200" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1792x1344" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1792x1344" (bad mode 
>clock/interlace/doublescan)
> >(II) ATI(0): Not using default mode "1856x1392" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1856x1392" (bad mode 
>clock/interlace/doublescan)
> >(II) ATI(0): Not using default mode "1920x1440" (bad mode 
>clock/interlace/doublescan)
> >(II) ATI(0): Not using default mode "1920x1440" (bad mode 
>clock/interlace/doublescan)
> >(II) ATI(0): Not using default mode "1400x1050" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1400x1050" (exceeds panel dimensions)
> >(II) ATI(0): Not using default mode "1600x1024" (exceeds panel dimensions)
> >(--) ATI(0): Virtual size is 1024x768 (pitch 1024)
> >(**) ATI(0): Default mode "1024x768": 65.1 MHz, 49.7 kHz, 62.7 Hz
> >(==) ATI(0): DPI set to (75, 75)
> >(II) Loading /usr/X11R6-DRI/lib/modules/libxaa.a
> >(II) Module xaa: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/libramdac.a
> >(II) Module ramdac: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 0.1.0
> >(II) Loading /usr/X11R6-DRI/lib/modules/libfb.a
> >(II) Module fb: vendor="The XFree86 Project"
> >     compiled for 4.1.0, module version = 1.0.0
> >(==) ATI(0): Write-combining range (0xfd000000,0x800000)
> >(II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
> >     Screen to screen bit blits
> >     Solid filled rectangles
> >     8x8 mono pattern filled rectangles
> >     Indirect CPU to Screen color expansion
> >     Solid Lines
> >     Offscreen Pixmaps
> >     Setting up tile and stipple cache:
> >             32 128x128 slots
> >             18 256x256 slots
> >             6 512x512 slots
> >(==) ATI(0): Backing store disabled
> >(==) ATI(0): Silken mouse enabled
> >(**) Mouse0: Protocol: "PS/2"
> >(**) Mouse0: Core Pointer
> >(==) Mouse0: Buttons: 3
> >(II) Keyboard "Keyboard0" handled by legacy driver
> >(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
> >Couldn't load XKB keymap, falling back to pre-XKB keymap
> >Eterm:  Error:  unexpected argument 80x40+0+0 -- expected option
> >Eterm:  Error:  Attempting to continue, but strange things may happen.
> >X connection to :0.0 broken (explicit kill or server shutdown).
> >
> >Below is the output from glxinfo:
> >
> >name of display: :0.0
> >display: :0  screen: 0
> >direct rendering: No
> >server glx vendor string: SGI
> >server glx version string: 1.2
> >server glx extensions:
> >    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> >client glx vendor string: SGI
> >client glx version string: 1.2
> >client glx extensions:
> >    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> >GLX extensions:
> >    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> >OpenGL vendor string: VA Linux Systems, Inc.
> >OpenGL renderer string: Mesa GLX Indirect
> >OpenGL version string: 1.2 Mesa 3.4.2
> >OpenGL extensions:
> >    GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color, 
> >    GL_EXT_blend_minmax, GL_EXT_blend_subtract
> >glu version: 1.1 Mesa 3.4.1
> >glu extensions:
> >    GL_EXT_abgr
> >
> >   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
> > id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
> >----------------------------------------------------------------------
> >0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
> >0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
> >0x25 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
> >0x26 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None
> >
> >Below is the output from xdpyinfo:
> >
> >name of display:    :0.0
> >version number:    11.0
> >vendor string:    The XFree86 Project, Inc
> >vendor release number:    40199001
> >XFree86 version: 4.1.99.1
> >maximum request size:  4194300 bytes
> >motion buffer size:  256
> >bitmap unit, bit order, padding:    32, LSBFirst, 32
> >image byte order:    LSBFirst
> >number of supported pixmap formats:    7
> >supported pixmap formats:
> >    depth 1, bits_per_pixel 1, scanline_pad 32
> >    depth 4, bits_per_pixel 8, scanline_pad 32
> >    depth 8, bits_per_pixel 8, scanline_pad 32
> >    depth 15, bits_per_pixel 16, scanline_pad 32
> >    depth 16, bits_per_pixel 16, scanline_pad 32
> >    depth 24, bits_per_pixel 32, scanline_pad 32
> >    depth 32, bits_per_pixel 32, scanline_pad 32
> >keycode range:    minimum 8, maximum 255
> >focus:  window 0x200041, revert to PointerRoot
> >number of extensions:    29
> >    BIG-REQUESTS
> >    DOUBLE-BUFFER
> >    DPMS
> >    Extended-Visual-Information
> >    FontCache
> >    GLX
> >    LBX
> >    MIT-SCREEN-SAVER
> >    MIT-SHM
> >    MIT-SUNDRY-NONSTANDARD
> >    RECORD
> >    RENDER
> >    SECURITY
> >    SGI-GLX
> >    SHAPE
> >    SYNC
> >    TOG-CUP
> >    X3D-PEX
> >    XC-APPGROUP
> >    XC-MISC
> >    XFree86-Bigfont
> >    XFree86-DGA
> >    XFree86-Misc
> >    XFree86-VidModeExtension
> >    XIE
> >    XInputExtension
> >    XKEYBOARD
> >    XTEST
> >    XVideo
> >default screen number:    0
> >number of screens:    1
> >
> >screen #0:
> >  dimensions:    1024x768 pixels (347x260 millimeters)
> >  resolution:    75x75 dots per inch
> >  depths (7):    16, 1, 4, 8, 15, 24, 32
> >  root window id:    0x3b
> >  depth of root window:    16 planes
> >  number of colormaps:    minimum 1, maximum 1
> >  default colormap:    0x20
> >  default number of colormap cells:    64
> >  preallocated pixels:    black 0, white 65535
> >  options:    backing-store NO, save-unders NO
> >  largest cursor:    64x64
> >  current input event mask:    0x58207f
> >    KeyPressMask             KeyReleaseMask           ButtonPressMask          
> >    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask          
> >    PointerMotionMask        ButtonMotionMask         SubstructureNotifyMask   
> >    SubstructureRedirectMask PropertyChangeMask       
> >  number of visuals:    4
> >  default visual id:  0x23
> >  visual:
> >    visual id:    0x23
> >    class:    TrueColor
> >    depth:    16 planes
> >    available colormap entries:    64 per subfield
> >    red, green, blue masks:    0xf800, 0x7e0, 0x1f
> >    significant bits in color specification:    6 bits
> >  visual:
> >    visual id:    0x24
> >    class:    TrueColor
> >    depth:    16 planes
> >    available colormap entries:    64 per subfield
> >    red, green, blue masks:    0xf800, 0x7e0, 0x1f
> >    significant bits in color specification:    6 bits
> >  visual:
> >    visual id:    0x25
> >    class:    DirectColor
> >    depth:    16 planes
> >    available colormap entries:    64 per subfield
> >    red, green, blue masks:    0xf800, 0x7e0, 0x1f
> >    significant bits in color specification:    6 bits
> >  visual:
> >    visual id:    0x26
> >    class:    DirectColor
> >    depth:    16 planes
> >    available colormap entries:    64 per subfield
> >    red, green, blue masks:    0xf800, 0x7e0, 0x1f
> >    significant bits in color specification:    6 bits
> >
> >Below is my XF86Config File:
> >
> >Section "ServerLayout"
> >     Identifier     "XFree86 Configured"
> >     Screen      0  "Screen0" 0 0
> >     InputDevice    "Mouse0" "CorePointer"
> >     InputDevice    "Keyboard0" "CoreKeyboard"
> >EndSection
> >
> >Section "Files"
> >     RgbPath      "/usr/X11R6-DRI/lib/X11/rgb"
> >     ModulePath   "/usr/X11R6-DRI/lib/modules"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/misc/"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/Speedo/"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/Type1/"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/CID/"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/75dpi/"
> >     FontPath     "/usr/X11R6-DRI/lib/X11/fonts/100dpi/"
> >EndSection
> >
> >Section "Module"
> >     Load  "dbe"
> >     Load  "dri"
> >     Load  "extmod"
> >     Load  "glx"
> >     Load  "pex5"
> >     Load  "record"
> >     Load  "xie"
> >     Load  "speedo"
> >     Load  "type1"
> >EndSection
> >
> >Section "InputDevice"
> >     Identifier  "Keyboard0"
> >     Driver      "keyboard"
> >EndSection
> >
> >Section "InputDevice"
> >     Identifier  "Mouse0"
> >     Driver      "mouse"
> >     Option      "Protocol" "PS/2"
> >     Option      "Device" "/dev/mouse"
> >EndSection
> >
> >Section "Monitor"
> >     Identifier   "Monitor0"
> >     VendorName   "Monitor Vendor"
> >     ModelName    "Monitor Model"
> >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     "ShadowFB"               # [<bool>]
> >     Identifier  "Card0"
> >     Driver      "ati"
> >     VendorName  "ATI"
> >     BoardName   "Mach64 LM"
> >     BusID       "PCI:1:0:0"
> >EndSection
> >
> >Section "Screen"
> >     Identifier "Screen0"
> >     Device     "Card0"
> >     Monitor    "Monitor0"
> >     DefaultDepth 16
> >     SubSection "Display"
> >             Depth     1
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     4
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     8
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     15
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     16
> >     EndSubSection
> >     SubSection "Display"
> >             Depth     24
> >     EndSubSection
> >EndSection
> >
> >Section "DRI"
> >     Mode 0666       
> >EndSection
> >
> >
> >_______________________________________________
> >Dri-devel mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/dri-devel
> >
> 



_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to