public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] struggling with dri
@ 2005-10-09 20:44 Fernando Meira
  2005-10-10  1:50 ` Ow Mun Heng
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Fernando Meira @ 2005-10-09 20:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 6555 bytes --]

Hi,
I know this is a well discussed topic.. but I can't find answer to my
problem.. and I'm completely lost in all mails/forums..

I have a ATI Technologies Inc Radeon Mobility M6 LY and I been using
"radeon" driver from kernel.
In order to enable rendering, I been looking around and after no success I
was told that I should use fglrx driver from proprietary ATI-drivers! Tried
it, but no deal! Then I was again told that these drivers were not to my
card, and that radeon should made it.
So, I'm back to radeon but still no rendering. However, there's noting
saying the opposite unless:
# glxinfo | grep -i rendering
direct rendering: No

Xorg log says:
(...)
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon Mobility M6 LY (AGP)" (ChipID = 0x4c59)
(--) RADEON(0): Linear framebuffer at 0x88000000
(--) RADEON(0): BIOS at 0x80520000
(--) RADEON(0): VideoRAM: 32768 kByte (64 bit DDR SDRAM)
(II) RADEON(0): AGP card detected
(...)

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(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:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe2079000
(II) RADEON(0): [drm] mapped SAREA 0xe2079000 to 0xb5c6e000
(II) RADEON(0): [drm] framebuffer handle = 0x88000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x1a30; Card
0x1002/0x4c59]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
(II) RADEON(0): [agp] ring handle = 0xe0000000
(II) RADEON(0): [agp] Ring mapped at 0xb5b6d000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0xb5b6c000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb596c000
(II) RADEON(0): [agp] GART texture map handle = 0xe0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0xb548c000
(II) RADEON(0): [drm] register handle = 0x80500000
(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) (1408,5957)
(II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4905
(II) RADEON(0): Will use back buffer at offset 0xb70000
(II) RADEON(0): Will use depth buffer at offset 0x1114000
(II) RADEON(0): Will use 9472 kb for textures at offset 0x16c0000
(II) RADEON(0): Render acceleration enabled
(II) RADEON(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
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
15 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1052)
(II) RADEON(0): Largest offscreen area available: 1408 x 4902
(**) Option "dpms"
(**) RADEON(0): DPMS enabled
(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 11
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled

So... it says enable... so is not?

dmesg says:

radeonfb: Retreived PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=175.00 Mhz, System=175.00MHz
radeonfb: PLL min 12000 max 35000
Non-DDC laptop panel detected
radeonfb: Monitor 1 type LCD found
radeonfb: Monitor 2 type no found
radeonfb: panel ID string: Samsung LTN150P1-L02
radeonfb: detected LVDS panel size from BIOS: 1400x1050
radeondb: BIOS provided dividers will be used
radeonfb: Dynamic Clock Power Management enabled
radeonfb (0000:01:00.0): ATI Radeon LY
vesafb: abort, cannot reserve video memory at 0x88000000
vesafb: framebuffer at 0x88000000, mapped to 0xe1900000, using 5120k, total
32768k
vesafb: mode is 1280x1024x16, linelength=2560, pages=11
vesafb: protected mode interface info at c000:5229
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
fb1: VESA VGA frame buffer device
(...)
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel i845 Chipset.
agpgart: AGP aperture is 256M @ 0xe0000000
(...)
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [PILA] -> GSI 11 (level, low) ->
IRQ 11
[drm] Initialized radeon 1.16.0 20050311 on minor 0:
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
(...)

My xorg has:
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"

Section "Device"
Identifier "ATI"
Driver "radeon"
#VideoRam 131072
# Insert Clocks lines here if appropriate
Option "ForcePCIMode" "True"
EndSection

Section "dri"
Mode 0666
EndSection

And I think that's all...
So, is there anyone that can give me a "hand" on this?
All seems to be right but glxinfo does not agree..

ohh, btw,
# glxgears
832 frames in 5.0 seconds = 166.400 FPS
1320 frames in 5.0 seconds = 264.000 FPS
840 frames in 5.0 seconds = 168.000 FPS
840 frames in 5.0 seconds = 168.000 FPS

Cheers,
Fernando

[-- Attachment #2: Type: text/html, Size: 8404 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2005-10-13  7:06 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-09 20:44 [gentoo-user] struggling with dri Fernando Meira
2005-10-10  1:50 ` Ow Mun Heng
2005-10-10  8:13   ` Fernando Meira
2005-10-10  8:26     ` Frank Schafer
2005-10-10 10:39     ` Jason Cooper
2005-10-10 14:03       ` Fernando Meira
2005-10-10 14:10         ` Michael Taylor
2005-10-10 14:48           ` Richard Fish
2005-10-10 15:43             ` Fernando Meira
2005-10-10 16:22 ` Kevin Hanson
2005-10-10 16:41   ` Jason Cooper
2005-10-10 17:37     ` Fernando Meira
2005-10-10 19:34       ` Jason Cooper
2005-10-11 15:42         ` Fernando Meira
2005-10-11 16:34           ` Fernando Meira
2005-10-11 16:38           ` Holly Bostick
2005-10-11 22:32             ` Fernando Meira
2005-10-12  7:08             ` gentoo_falstaff
2005-10-12 17:37               ` Douglas James Dunn
2005-10-12 21:28               ` Kevin Hanson
2005-10-10 17:47     ` Kevin Hanson
2005-10-11  2:26       ` W.Kenworthy
2005-10-11  9:17         ` gentoo_falstaff
2005-10-11  9:34           ` Fernando Meira
2005-10-12 15:31 ` Robert Svoboda
2005-10-12 20:02   ` Fernando Meira
2005-10-13  7:02   ` Fernando Meira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox