On 4/18/05, Benno Schulenberg <[EMAIL PROTECTED]> wrote:
> Mark Knecht wrote:
> > http://www.gentoo.org/doc/en/dri-howto.xml stated "If you use a
> > 2.4 kernel, make sure the Direct Rendering Manager (DRM) is off.
> > The X11-DRM package will provide its own. 2.6 kernel users should
> > enable the Direct Rendering Manager (DRM) as the X11-DRM package
> > currently does not support 2.6 kernels yet."
> >
> > I took that to mean
> >
> > [ M] Direct Rendering Manager (XFree86 DRI support)
> >
> > Is that not correct?
> 
> That depends: when building from CVS, it should be off.

I'm sorry but I don't know what you mean by building from CVS. I'm
running kernels provided by emerge. Is this CVS from kernel.org and
hence it shoudl be off, or is this not CVS?

Or do you mean DRI CVS?

> 
> A different thing to try, from the 3D Acceleration Guide:
> "Q: It doesn't work. I don't have rendering, and I can't tell why.
> A: Try insmod radeon before you start the X server. Also, try
> building agpgart into the kernel instead of as a module."
> 
> > > Did you put "radeon" into your xorg.conf ?
> >
> > Yes, and it is loaded as is drm: (copied from the first message)
> >
> > lash kernel $ lsmod
> > Module                  Size  Used by
> > radeon                 75776  1
> 
> Well, that is the kernel module, radeon.ko  :), what X needs
> for glxgears is /usr/lib/modules/dri/radeon_dri.so.

Ah, well that's not loaded. Worse (I think) is thatI can find nothing
that's trying to load it. It's not in
/etc/modules.autoload.d/kernel-2.6, nor is there a dri directory in
/etc/modules.d

Where is this supposed to be included to get it to load in the Gentoo way?
> 
> > flash mark $ dmesg | grep drm
> > [drm] Initialized drm 1.0.0 20040925
> > [drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI
> > Technologies Inc RV250 5c61 [Radeon Mobility 9200 M9+]
> > [drm] Loading R200 Microcode
> 
> If preloading the module doesn't help, and building the agp stuff
> into the kernel neither, then try building the drm.ko and radeon.ko
> from CVS, the last one is probably newer.
> 
> For a better summary: grep RADEON /var/log/Xorg.0.log
> 
> Benno
> --

Sorry Benno - It's long, but it ends with 'Direct Rendering enabled'! And yet

flash root # glxinfo | grep rendering
direct rendering: No
flash root #


flash root # grep RADEON /var/log/Xorg.0.log
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
(II) RADEON(0): MMIO registers at 0xe8100000
(II) RADEON(0): PCI bus 1 card 5 func 0
(**) RADEON(0): Depth 16, (--) framebuffer bpp 16
(II) RADEON(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) RADEON(0): RGB weight 565
(II) RADEON(0): Using 6 bits per RGB (8 bit DAC)
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon Mobility 9200 (M9+) 5C61 (AGP)"
(ChipID = 0 x5c61)
(--) RADEON(0): Linear framebuffer at 0xf0000000
(--) RADEON(0): VideoRAM: 65536 kByte (128 bit DDR SDRAM)
(II) RADEON(0): AGP card detected
(II) RADEON(0): I2C bus "DDC" initialized.
(II) RADEON(0): Legacy BIOS detected
(II) RADEON(0): LVDS port is not in connector table, added in.
(II) RADEON(0): Connector0: DDCType-0, DACType-1, TMDSType--1, ConnectorType-1
(II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 0
(II) RADEON(0):
(II) RADEON(0): Primary:
(II) RADEON(0): Secondary:
(II) RADEON(0): PLL parameters: rf=2700 rd=12 min=20000 max=35000; xclk=22000
(WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled
(==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
(II) RADEON(0): Validating modes on Primary head ---------
(II) RADEON(0): Panel ID string: SEC
(II) RADEON(0): Panel Size from BIOS: 1280x800
(II) RADEON(0): BIOS provided dividers will be used.
(II) RADEON(0): Total number of valid DDC mode(s) found: 0
(II) RADEON(0): Valid mode using on-chip RMX: 1280x800
(II) RADEON(0): Valid mode using on-chip RMX: 1024x768
(II) RADEON(0): Valid mode using on-chip RMX: 800x600
(II) RADEON(0): Valid mode using on-chip RMX: 640x480
(II) RADEON(0): Total number of valid FP mode(s) found: 4
(--) RADEON(0): Virtual size is 1280x800 (pitch 1280)
(**) RADEON(0): *Mode "1280x800": 71.0 MHz (scaled from 0.0 MHz), 49.3
kHz, 59.9  Hz
(II) RADEON(0): Modeline "1280x800"   71.00  1280 1328 1360 1440  800
802 808 82 3
(**) RADEON(0): *Mode "1024x768": 71.0 MHz (scaled from 0.0 MHz), 49.3
kHz, 59.9  Hz
(II) RADEON(0): Modeline "1024x768"   71.00  1024 1328 1360 1440  768
802 808 82 3
(**) RADEON(0): *Mode "800x600": 71.0 MHz (scaled from 0.0 MHz), 49.3
kHz, 59.9 Hz
(II) RADEON(0): Modeline "800x600"   71.00  800 1328 1360 1440  600 802 808 823
(**) RADEON(0): *Mode "640x480": 71.0 MHz (scaled from 0.0 MHz), 49.3
kHz, 59.9 Hz
(II) RADEON(0): Modeline "640x480"   71.00  640 1328 1360 1440  480 802 808 823
(**) RADEON(0):  Default mode "640x350": 71.0 MHz (scaled from 0.0
MHz), 49.3 kH z, 59.9 Hz
(II) RADEON(0): Modeline "640x350"   71.00  640 1328 1360 1440  350 802 808 823
(**) RADEON(0):  Default mode "640x400": 71.0 MHz (scaled from 0.0
MHz), 49.3 kH z, 59.9 Hz
(II) RADEON(0): Modeline "640x400"   71.00  640 1328 1360 1440  400 802 808 823
(**) RADEON(0):  Default mode "720x400": 71.0 MHz (scaled from 0.0
MHz), 49.3 kH z, 59.9 Hz
(II) RADEON(0): Modeline "720x400"   71.00  720 1328 1360 1440  400 802 808 823
(**) RADEON(0):  Default mode "832x624": 71.0 MHz (scaled from 0.0
MHz), 49.3 kH z, 59.9 Hz
(II) RADEON(0): Modeline "832x624"   71.00  832 1328 1360 1440  624 802 808 823
(**) RADEON(0):  Default mode "1152x768": 71.0 MHz (scaled from 0.0
MHz), 49.3 k Hz, 59.9 Hz
(II) RADEON(0): Modeline "1152x768"   71.00  1152 1328 1360 1440  768
802 808 82 3
(==) RADEON(0): DPI set to (75, 75)
(II) RADEON(0): AGP Fast Write disabled by default
(II) RADEON(0): Depth moves disabled by default
(II) RADEON(0): Page flipping disabled
(!!) RADEON(0): For information on using the multimedia capabilities
(==) RADEON(0): Write-combining range (0xf0000000,0x4000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): BIOS HotKeys Disabled
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0976000
(II) RADEON(0): [drm] mapped SAREA 0xe0976000 to 0xb3cd6000
(II) RADEON(0): [drm] framebuffer handle = 0xf0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000209 [AGP 0x1002/0x5833; Card 0x1002/0x5c61]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xea000000
(II) RADEON(0): [agp] Ring mapped at 0xb3bd5000
(II) RADEON(0): [agp] ring read ptr handle = 0xea101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0xb3bd4000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xea102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb39d4000
(II) RADEON(0): [agp] GART texture map handle = 0xea302000
(II) RADEON(0): [agp] GART Texture map mapped at 0xb34f4000
(II) RADEON(0): [drm] register handle = 0xe8100000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1280,8191)
(II) RADEON(0): Reserved area from (0,800) to (1280,802)
(II) RADEON(0): Largest offscreen area available: 1280 x 7389
(II) RADEON(0): Will use back buffer at offset 0x818000
(II) RADEON(0): Will use depth buffer at offset 0xa0c000
(II) RADEON(0): Will use 53248 kb for textures at offset 0xc00000
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 802)
(II) RADEON(0): Largest offscreen area available: 1280 x 7382
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe0976000 at 0xb3cd6000
(==) RADEON(0): Write-combining range (0xf0000000,0x4000000)
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): BIOS HotKeys Disabled
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:05.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0976000
(II) RADEON(0): [drm] mapped SAREA 0xe0976000 to 0xb3cd6000
(II) RADEON(0): [drm] framebuffer handle = 0xf0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000209 [AGP 0x1002/0x5833; Card 0x1002/0x5c61]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xea000000
(II) RADEON(0): [agp] Ring mapped at 0xb3bd5000
(II) RADEON(0): [agp] ring read ptr handle = 0xea101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0xb3bd4000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xea102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb39d4000
(II) RADEON(0): [agp] GART texture map handle = 0xea302000
(II) RADEON(0): [agp] GART Texture map mapped at 0xb34f4000
(II) RADEON(0): [drm] register handle = 0xe8100000
(II) RADEON(0): [dri] Visual configs initialized
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1280,8191)
(II) RADEON(0): Reserved area from (0,800) to (1280,802)
(II) RADEON(0): Largest offscreen area available: 1280 x 7389
(II) RADEON(0): Will use back buffer at offset 0x818000
(II) RADEON(0): Will use depth buffer at offset 0xa0c000
(II) RADEON(0): Will use 53248 kb for textures at offset 0xc00000
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Acceleration enabled
(II) RADEON(0): Using hardware cursor (scanline 802)
(II) RADEON(0): Largest offscreen area available: 1280 x 7382
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 16
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled
flash root #

-- 
[email protected] mailing list

Reply via email to