What does 'dmesg | grep drm' show? And 'lsmod'?
Adam
I have RS485 [Radeon Xpress 1100 IGP] integrated chip in my laptop and it has lots of problems with the fglrx driver. In particular fglrx doesn't like the 2.6.25 kernel and the xorg in my F9. SO i decided to swith to the open source ati driver.
My cards is (from lspci -vvv):
I searched through this forum and lots of people claim they've made it work with their ati cards. But I cannot. I used F9 and here what my xorg.conf looks like:Code:01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon Xpress 1100 IGP] (prog-if 00 [VGA controller]) Subsystem: Acer Incorporated [ALI] Unknown device 010f Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 66 (2000ns min), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 11 Region 0: Memory at c8000000 (32-bit, prefetchable) [size=128M] Region 1: I/O ports at 9000 [size=256] Region 2: Memory at c0100000 (32-bit, non-prefetchable) [size=64K] Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Kernel modules: radeonfb
I have the following packages installed:Code:Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Synaptics" "CorePointer" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "de" EndSection Section "InputDevice" Identifier "Synaptics" Driver "synaptics" Option "Device" "/dev/input/mice" Option "Protocol" "auto-dev" Option "Emulate3Buttons" "yes" EndSection Section "Device" Identifier "Videocard0" Driver "radeon" Option "AccelMethod" "EXA" EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection
with the fglrx I got about 1700 FPS. but with the ati-6.8.192 it is only about 250 FPS. with opensuse live it goes to about 550 FPS. the actual results areCode:mesa-libGL-7.1-0.35.fc9.i386 mesa-libGLU-7.1-0.35.fc9.i386 mesa-libOSMesa-7.1-0.35.fc9.i386 xorg-x11-drv-ati-6.8.0-18.fc9.i386 xorg-x11-server-Xorg-1.4.99.902-3.20080612.fc9.i386 xorg-x11-server-utils-7.3-3.fc9.i386 xorg-x11-drv-vesa-1.3.0-15.20080404.fc9.i386 xorg-x11-server-common-1.4.99.902-3.20080612.fc9.i386 glx-utils-7.1-0.35.fc9.i386
Because I cannot attach files here I zipped them and uploaded them on /files/126029926/info-files.tar.bz2.html. this is hosted on rapidshare"#dot#"com. "Sorry but this is no spam". There you can find the info from xorg.0.log, glxinfo, glxgears, xorg.conf, lspci info and the installed packages.Code:1318 frames in 5.1 seconds = 260.044 FPS 1221 frames in 5.0 seconds = 242.244 FPS 1240 frames in 5.0 seconds = 245.745 FPS 1106 frames in 5.0 seconds = 219.882 FPS 1215 frames in 5.1 seconds = 239.327 FPS 1135 frames in 5.0 seconds = 225.165 FPS 1201 frames in 5.0 seconds = 239.391 FPS 1208 frames in 5.0 seconds = 239.834 FPS 1198 frames in 5.0 seconds = 238.908 FPS 1221 frames in 5.1 seconds = 239.745 FPS 1208 frames in 5.1 seconds = 238.587 FPS XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" after 27303 requests (26108 known processed) with 0 events remaining.
Any ideas how to make my it work with the foss ati driver?
--peter
Last edited by pepe123; 06-30-2008 at 05:46 AM.
What does 'dmesg | grep drm' show? And 'lsmod'?
Adam
here are the results:
and here is part of my xorg.0.log file:Code:[peter@localhost ~]# dmesg | grep drm [drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.28.0 20060524 on minor 0 [peter@localhost ~]# lsmod | grep rad radeon 116996 0 drm 145508 1 radeon
Look at lines #82 and #83Code:(**) RADEON(0): Using EXA acceleration architecture (II) Loading sub module "exa" (II) LoadModule: "exa" (II) Loading /usr/lib/xorg/modules//libexa.so (II) Module exa: vendor="X.Org Foundation" compiled for 1.4.99.902, module version = 2.4.0 ABI class: X.Org Video Driver, version 4.0 (==) RADEON(0): Assuming overlay scaler buffer width is 1536 (II) RADEON(0): No MM_TABLE found - assuming CARD is not TV-in capable. (!!) RADEON(0): For information on using the multimedia capabilities of this adapter, please see http://gatos.sf.net. (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support (--) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU) [21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU) [22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU) [23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [24] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [25] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [26] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [27] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [28] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [29] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [30] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [31] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [32] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [34] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) RADEON(0): RADEONScreenInit c8000000 0 0 Entering TV Save Save TV timing tables saveTimingTables: reading timing tables TV Save done (II) RADEON(0): Dynamic Clock Scaling Disabled (II) RADEON(0): RADEONInitMemoryMap() : (II) RADEON(0): mem_size : 0x08000000 (II) RADEON(0): MC_FB_LOCATION : 0x7fff7800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 (II) RADEON(0): Depth moves disabled by default (==) RADEON(0): Not using accelerated EXA DownloadFromScreen hook (II) RADEON(0): Allocating from a screen of 131072 kb (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x005dc000 (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x005e0000 (II) RADEON(0): Will use 6000 kb for front buffer at offset 0x00000000 (II) RADEON(0): Will use 125040 kb for X Server offscreen at offset 0x005e4000 init memmap init common init crtc1 init pll1 restore memmap (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x7fff7800 0x7fff7800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 restore common restore crtc1 restore pll1 restore LVDS (==) RADEON(0): Backing store disabled (WW) RADEON(0): Direct rendering disabled (II) RADEON(0): EXA Composite requires CP on R5xx/IGP (II) RADEON(0): Setting EXA maxPitchBytes (II) RADEON(0): num pipes is 2 (II) EXA(0): Offscreen pixmap area of 128040960 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) UploadToScreen (II) DownloadFromScreen (II) RADEON(0): Acceleration enabled (II) RADEON(0): DPMS enabled (==) RADEON(0): Silken mouse enabled (II) RADEON(0): No video input capabilities detected and no information is provided - disabling multimedia i2c (II) Loading sub module "theatre_detect" (II) LoadModule: "theatre_detect" (II) Loading /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so (II) Module theatre_detect: vendor="X.Org Foundation" compiled for 1.4.99.902, module version = 1.0.0 ABI class: X.Org Video Driver, version 4.0 (II) RADEON(0): no multimedia table present, disabling Rage Theatre. (II) RADEON(0): Set up overlay video (II) RADEON(0): Textured video requires CP on R5xx/IGP (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message. (--) RandR disabled (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) Initializing built-in extension XEVIE (II) AIGLX: Screen 0 is not DRI2 capable (II) AIGLX: Screen 0 is not DRI capable
Code:#82: (WW) RADEON(0): Direct rendering disabled #83: (II) RADEON(0): EXA Composite requires CP on R5xx/IGP
Last edited by pepe123; 06-30-2008 at 08:31 AM.
Yes, I already saw your log file.
You're definitely not using the latest DRM available. The radeon kernel module in git is at 1.29.0, and that's what I'm using on my Xpress 1150. I'm doubtful that 1.28.0 would be new enough.
can you post your xorg.0.log file?
the drm and the radeon modules date back to 2006 !!! I have 2.6.25.6 kernel. this means, they've not been updated for 2 years!?
Anyway do you have any problems with your 1150? how many FPS do you get with the lastes driver? My ~ 200 FPS are so annoying - I cannot even surf the web!
I'll try the git module and report back. Anyother ideas where the problem could be?
I can't post it at the moment... Besides, there's no advantage to posting it.
The date from the drm modules in the 'dmesg' do not reflect when the modules were created or last updated.
I have no real problems with my 1150 with the open source drivers. Since you haven't specified what application you'd like my framerate from, I can only assume you mean glxgears. I refuse to mention my glxgears framerate because it is completely and totally irrelevant. glxgears framerate does not represent any real world performance.
Update your DRM from git, and try again. If you continue to have problems, show us your new /var/log/Xorg.0.log file and your new 'dmesg'.
Adam
The DRI is disabled by default on some RS4xx IGP chips since they used to hang on DRI init. This may be fixed now, but I don't have the hw to test. You'll need to enable it by adding:
Option "DRI" "True"
to the device section of your config.
That was it
Here are the new xorg.0.log, the dmesg info and other log files:
http://filebin.ca/wqjveb/ati-info.zip
some excerpts from xorg.0.log
#dmesg | grep drmCode:(**) RADEON(0): Using EXA acceleration architecture (II) Loading sub module "exa" (II) LoadModule: "exa" (II) Loading /usr/lib/xorg/modules//libexa.so (II) Module exa: vendor="X.Org Foundation" compiled for 1.4.99.902, module version = 2.4.0 ABI class: X.Org Video Driver, version 4.0 (==) RADEON(0): Assuming overlay scaler buffer width is 1536 (II) RADEON(0): No MM_TABLE found - assuming CARD is not TV-in capable. (!!) RADEON(0): For information on using the multimedia capabilities of this adapter, please see http://gatos.sf.net. (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support (--) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [5] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [6] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [7] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [8] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [9] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [10] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [11] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [12] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [13] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [14] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [15] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [16] -1 0 0xffffffff - 0xffffffff (0x1) MX[B] [17] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [18] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [19] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [20] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU) [21] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU) [22] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU) [23] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [24] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [25] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [26] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [27] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [28] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [29] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [30] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [31] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [32] -1 0 0x00000000 - 0x00000000 (0x1) IX[B] [33] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [34] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) RADEON(0): RADEONScreenInit c8000000 0 0 Entering TV Save Save TV timing tables saveTimingTables: reading timing tables TV Save done (II) RADEON(0): Dynamic Clock Scaling Disabled (==) RADEON(0): Using 24 bit depth buffer (II) RADEON(0): RADEONInitMemoryMap() : (II) RADEON(0): mem_size : 0x08000000 (II) RADEON(0): MC_FB_LOCATION : 0x7fff7800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 (II) RADEON(0): Depth moves disabled by default (==) RADEON(0): Using accelerated EXA DownloadFromScreen hook (II) RADEON(0): Allocating from a screen of 131072 kb (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x005dc000 (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x005e0000 (II) RADEON(0): Will use 6000 kb for front buffer at offset 0x00000000 (II) RADEON(0): Will use 6000 kb for back buffer at offset 0x005e4000 (II) RADEON(0): Will use 6000 kb for depth buffer at offset 0x00bc0000 (II) RADEON(0): Will use 56320 kb for textures at offset 0x0119c000 (II) RADEON(0): Will use 56720 kb for X Server offscreen at offset 0x0489c000 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: Searching for BusID pci:0000:01:05.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 11, (OK) drmOpenByBusid: drmOpenMinor returns 11 drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 (II) [drm] DRM interface version 1.3 (II) [drm] DRM open master succeeded. (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables. (II) RADEON(0): [drm] framebuffer handle = 0xc8000000 (II) RADEON(0): [drm] added 1 reserved context for kernel (II) RADEON(0): X context handle = 0x1 (II) RADEON(0): [drm] installed DRM signal handler (II) RADEON(0): [pci] 8192 kB allocated with handle 0x00000000 (II) RADEON(0): [pci] ring handle = 0xf8ddc000 (II) RADEON(0): [pci] Ring mapped at 0xb7eb4000 (II) RADEON(0): [pci] Ring contents 0x00000000 (II) RADEON(0): [pci] ring read ptr handle = 0xf8edd000 (II) RADEON(0): [pci] Ring read ptr mapped at 0xb7eb3000 (II) RADEON(0): [pci] Ring read ptr contents 0x00000000 (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xf8ede000 (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0xafc66000 (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000 (II) RADEON(0): [pci] GART texture map handle = 0xf90de000 (II) RADEON(0): [pci] GART Texture map mapped at 0xaf786000 (II) RADEON(0): [drm] register handle = 0xc0100000 (II) RADEON(0): [dri] Visual configs initialized init memmap init common init crtc1 init pll1 restore memmap (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x7fff7800 0x7fff7800 (II) RADEON(0): MC_AGP_LOCATION : 0xffffffc0 restore common restore crtc1 restore pll1 restore LVDS (==) RADEON(0): Backing store disabled (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 17 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808 (WW) RADEON(0): DRI init changed memory map, adjusting ... (WW) RADEON(0): MC_FB_LOCATION was: 0x7fff7800 is: 0x7fff7800 (WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0x81ff8000 (II) RADEON(0): RADEONRestoreMemMapRegisters() : (II) RADEON(0): MC_FB_LOCATION : 0x7fff7800 0x7fff7800 (II) RADEON(0): MC_AGP_LOCATION : 0x81ff8000 (II) RADEON(0): Direct rendering enabled (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards. (II) RADEON(0): Setting EXA maxPitchBytes (WW) RADEON(0): Failed to determine num pipes from DRM, falling back to manual look-up! (II) RADEON(0): num pipes is 2 (II) EXA(0): Offscreen pixmap area of 58081280 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) Composite (RENDER acceleration) (II) UploadToScreen (II) DownloadFromScreen (II) RADEON(0): Acceleration enabled
and here is line #418 from the xorg.0.log fileCode:[drm] Initialized drm 1.1.0 20060810 [drm] Initialized radeon 1.28.0 20060524 on minor 0 [drm] Setting GART location based on new memory map [drm] Loading R300 Microcode [drm] writeback test succeeded in 1 usecs [drm] Setting GART location based on new memory map [drm] Loading R300 Microcode [drm] writeback test succeeded in 1 usecs
here the glxinfo (part of it):Code:(WW) RADEON(0): Direct rendering for RN50/RC410/RS485/RS600/R600 forced on -- This is NOT officially supported at the hardware level and may cause instability or lockups
Everything is a lot SMOOTHER right nowCode:name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 client glx vendor string: SGI client glx version string: 1.4 OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 20060815 x86/MMX+/3DNow!+/SSE2 NO-TCL OpenGL version string: 1.3 Mesa 7.1 rc1. I still get about 250 FPS but glxgears runs obviosly better than before.
Thanx to all the people who worked on this ati driver!!!