Gentoo Archives: gentoo-user

From: Fernando Meira <fmeira@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] struggling with dri
Date: Sun, 09 Oct 2005 20:48:59
Message-Id: a3c2e88b0510091344n7fd93d8fod7c6384097fcf23f@mail.gmail.com
1 Hi,
2 I know this is a well discussed topic.. but I can't find answer to my
3 problem.. and I'm completely lost in all mails/forums..
4
5 I have a ATI Technologies Inc Radeon Mobility M6 LY and I been using
6 "radeon" driver from kernel.
7 In order to enable rendering, I been looking around and after no success I
8 was told that I should use fglrx driver from proprietary ATI-drivers! Tried
9 it, but no deal! Then I was again told that these drivers were not to my
10 card, and that radeon should made it.
11 So, I'm back to radeon but still no rendering. However, there's noting
12 saying the opposite unless:
13 # glxinfo | grep -i rendering
14 direct rendering: No
15
16 Xorg log says:
17 (...)
18 (II) RADEON(0): initializing int10
19 (II) RADEON(0): Primary V_BIOS segment is: 0xc000
20 (--) RADEON(0): Chipset: "ATI Radeon Mobility M6 LY (AGP)" (ChipID = 0x4c59)
21 (--) RADEON(0): Linear framebuffer at 0x88000000
22 (--) RADEON(0): BIOS at 0x80520000
23 (--) RADEON(0): VideoRAM: 32768 kByte (64 bit DDR SDRAM)
24 (II) RADEON(0): AGP card detected
25 (...)
26
27 drmOpenDevice: node name is /dev/dri/card0
28 drmOpenDevice: open result is -1, (Unknown error 999)
29 drmOpenDevice: open result is -1, (Unknown error 999)
30 drmOpenDevice: Open failed
31 drmOpenDevice: node name is /dev/dri/card0
32 drmOpenDevice: open result is -1, (Unknown error 999)
33 drmOpenDevice: open result is -1, (Unknown error 999)
34 drmOpenDevice: Open failed
35 drmOpenByBusid: Searching for BusID pci:0000:01:00.0
36 drmOpenDevice: node name is /dev/dri/card0
37 drmOpenDevice: open result is 7, (OK)
38 drmOpenByBusid: drmOpenMinor returns 7
39 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
40 (II) RADEON(0): [drm] loaded kernel module for "radeon" driver
41 (II) RADEON(0): [drm] DRM interface version 1.2
42 (II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
43 (II) RADEON(0): [drm] added 8192 byte SAREA at 0xe2079000
44 (II) RADEON(0): [drm] mapped SAREA 0xe2079000 to 0xb5c6e000
45 (II) RADEON(0): [drm] framebuffer handle = 0x88000000
46 (II) RADEON(0): [drm] added 1 reserved context for kernel
47 (II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x1a30; Card
48 0x1002/0x4c59]
49 (II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000001
50 (II) RADEON(0): [agp] ring handle = 0xe0000000
51 (II) RADEON(0): [agp] Ring mapped at 0xb5b6d000
52 (II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
53 (II) RADEON(0): [agp] Ring read ptr mapped at 0xb5b6c000
54 (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
55 (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0xb596c000
56 (II) RADEON(0): [agp] GART texture map handle = 0xe0302000
57 (II) RADEON(0): [agp] GART Texture map mapped at 0xb548c000
58 (II) RADEON(0): [drm] register handle = 0x80500000
59 (II) RADEON(0): [dri] Visual configs initialized
60 (II) RADEON(0): CP in BM mode
61 (II) RADEON(0): Using 8 MB GART aperture
62 (II) RADEON(0): Using 1 MB for the ring buffer
63 (II) RADEON(0): Using 2 MB for vertex/indirect buffers
64 (II) RADEON(0): Using 5 MB for GART textures
65 (II) RADEON(0): Memory manager initialized to (0,0) (1408,5957)
66 (II) RADEON(0): Reserved area from (0,1050) to (1408,1052)
67 (II) RADEON(0): Largest offscreen area available: 1408 x 4905
68 (II) RADEON(0): Will use back buffer at offset 0xb70000
69 (II) RADEON(0): Will use depth buffer at offset 0x1114000
70 (II) RADEON(0): Will use 9472 kb for textures at offset 0x16c0000
71 (II) RADEON(0): Render acceleration enabled
72 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
73 Screen to screen bit blits
74 Solid filled rectangles
75 8x8 mono pattern filled rectangles
76 Indirect CPU to Screen color expansion
77 Solid Lines
78 Dashed Lines
79 Scanline Image Writes
80 Offscreen Pixmaps
81 Setting up tile and stipple cache:
82 32 128x128 slots
83 32 256x256 slots
84 15 512x512 slots
85 (II) RADEON(0): Acceleration enabled
86 (==) RADEON(0): Backing store disabled
87 (==) RADEON(0): Silken mouse enabled
88 (II) RADEON(0): Using hardware cursor (scanline 1052)
89 (II) RADEON(0): Largest offscreen area available: 1408 x 4902
90 (**) Option "dpms"
91 (**) RADEON(0): DPMS enabled
92 (II) RADEON(0): X context handle = 0x00000001
93 (II) RADEON(0): [drm] installed DRM signal handler
94 (II) RADEON(0): [DRI] installation complete
95 (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
96 (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
97 (II) RADEON(0): [drm] dma control initialized, using IRQ 11
98 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
99 (II) RADEON(0): Direct rendering enabled
100
101 So... it says enable... so is not?
102
103 dmesg says:
104
105 radeonfb: Retreived PLL infos from BIOS
106 radeonfb: Reference=27.00 MHz (RefDiv=60) Memory=175.00 Mhz, System=175.00MHz
107 radeonfb: PLL min 12000 max 35000
108 Non-DDC laptop panel detected
109 radeonfb: Monitor 1 type LCD found
110 radeonfb: Monitor 2 type no found
111 radeonfb: panel ID string: Samsung LTN150P1-L02
112 radeonfb: detected LVDS panel size from BIOS: 1400x1050
113 radeondb: BIOS provided dividers will be used
114 radeonfb: Dynamic Clock Power Management enabled
115 radeonfb (0000:01:00.0): ATI Radeon LY
116 vesafb: abort, cannot reserve video memory at 0x88000000
117 vesafb: framebuffer at 0x88000000, mapped to 0xe1900000, using 5120k, total
118 32768k
119 vesafb: mode is 1280x1024x16, linelength=2560, pages=11
120 vesafb: protected mode interface info at c000:5229
121 vesafb: scrolling: redraw
122 vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
123 fb1: VESA VGA frame buffer device
124 (...)
125 Linux agpgart interface v0.101 (c) Dave Jones
126 agpgart: Detected an Intel i845 Chipset.
127 agpgart: AGP aperture is 256M @ 0xe0000000
128 (...)
129 [drm] Initialized drm 1.0.0 20040925
130 ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [PILA] -> GSI 11 (level, low) ->
131 IRQ 11
132 [drm] Initialized radeon 1.16.0 20050311 on minor 0:
133 agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
134 agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
135 agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
136 (...)
137
138 My xorg has:
139 # This loads the GLX module
140 Load "glx"
141 # This loads the DRI module
142 Load "dri"
143
144 Section "Device"
145 Identifier "ATI"
146 Driver "radeon"
147 #VideoRam 131072
148 # Insert Clocks lines here if appropriate
149 Option "ForcePCIMode" "True"
150 EndSection
151
152 Section "dri"
153 Mode 0666
154 EndSection
155
156 And I think that's all...
157 So, is there anyone that can give me a "hand" on this?
158 All seems to be right but glxinfo does not agree..
159
160 ohh, btw,
161 # glxgears
162 832 frames in 5.0 seconds = 166.400 FPS
163 1320 frames in 5.0 seconds = 264.000 FPS
164 840 frames in 5.0 seconds = 168.000 FPS
165 840 frames in 5.0 seconds = 168.000 FPS
166
167 Cheers,
168 Fernando

Replies

Subject Author
Re: [gentoo-user] struggling with dri Ow Mun Heng <Ow.Mun.Heng@×××.com>
Re: [gentoo-user] struggling with dri Kevin Hanson <tuxpert@×××××××.net>
Re: [gentoo-user] struggling with dri Robert Svoboda <r080@×××××.cz>