From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FA3Xb-0006gf-Rx for garchives@archives.gentoo.org; Fri, 17 Feb 2006 11:12:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1HBAQUV012849; Fri, 17 Feb 2006 11:10:26 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1HB3Rjf027737 for ; Fri, 17 Feb 2006 11:03:27 GMT Received: from zaz.kom.auc.dk ([130.225.51.10]) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FA3OY-0005lE-Ml for gentoo-user@lists.gentoo.org; Fri, 17 Feb 2006 11:03:26 +0000 Received: from pc137-c.stud.ies.auc.dk ([10.8.12.137]) by zaz.kom.auc.dk with esmtp (Exim 2.05 #3) id 1FA3OV-0000qY-00 for gentoo-user@gentoo.org; Fri, 17 Feb 2006 12:03:23 +0100 From: Bo Andresen To: "gentoo-user" Subject: [gentoo-user] 3d rendering with dri radeon Date: Fri, 17 Feb 2006 12:03:11 +0100 User-Agent: KMail/1.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200602171203.22279.bo.andresen@gmail.com> X-Archives-Salt: 7b594745-2e5c-4052-b597-8e185bbe400a X-Archives-Hash: 93a07b92174fe6629f46887735300b5a I have a laptop with a ATI Radeon 9000 Mobility graphics card. I wanted to get 3d rendering working with the free dri drivers so I followed this howto: http://www.gentoolinux.org/doc/en/dri-howto.xml But it does not work: ~# glxinfo | grep rendering direct rendering: No Below is listed everything that I think might be relevant. I hope someone has an idea. What I notice in particular is these two lines from /var/log/Xorg.0.log: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) =========================================== ~# lspci | grep AGP 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) =========================================== ~#cat /boot/config ... CONFIG_MTRR=y ... CONFIG_AGP=m CONFIG_AGP_INTEL=m ... # CONFIG_DRM is not set ... =========================================== ~# emerge -vp xorg-x11 x11-drm These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.2-r6 USE="bitmap-fonts ipv6 nls opengl pam sse truetype-fonts type1-fonts xprint xv dfx -3dnow -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -minimal -mmx -nocxx -sdk -static" 0 kB [ebuild R ] x11-base/x11-drm-20050502 0 kB =========================================== ~# cat /etc/X11/xorg.conf | grep -v ^# Section "Module" Load "synaptics" Load "dbe" SubSection "extmod" Option "omit xfree86-dga" EndSubSection Load "type1" Load "freetype" Load "dri" Load "glx" EndSection Section "Files" .... EndSection Section "InputDevice" Identifier "Keyboard1" .... EndSection Section "InputDevice" Identifier "Touchpad" ... EndSection Section "InputDevice" Identifier "External Mouse" ... EndSection Section "Monitor" Identifier "AcerMonitor" HorizSync 31.5-57.0 VertRefresh 50-70 EndSection Section "Device" Identifier "Ati Radeon 9000 Mobility" Driver "radeon" Option "AGPMode" "4" Option "AGPFastWrite" "True" Option "EnablePageFlip" "True" EndSection Section "Screen" Identifier "Screen 1" Device "Ati Radeon 9000 Mobility" Monitor "AcerMonitor" DefaultDepth 24 Subsection "Display" ... Subsection "Display" Depth 24 Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Touchpad" "Corepointer" InputDevice "External Mouse" "SendCoreEvents" InputDevice "Keyboard1" "CoreKeyboard" EndSection Section "DRI" Mode 0666 EndSection =========================================== ~# cat /etc/modules.autoload.d/kernel-2.6 ... intel-agp ... drm =========================================== ~# lsmod | grep 'drm\|agp' drm 65944 0 intel_agp 20508 1 agpgart 29256 2 drm,intel_agp =========================================== ~# cat /var/log/Xorg.0.log ... (II) LoadModule: "dri" (II) Loading /usr/lib/modules/extensions/libdri.a (II) Module dri: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/lib/modules/linux/libdrm.a (II) Module drm: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading extension XFree86-DRI (II) LoadModule: "glx" (II) Loading /usr/lib/modules/extensions/libglx.a (II) Module glx: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Loading /usr/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor="X.Org Foundation" compiled for 6.8.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.2 (II) Loading extension GLX (II) LoadModule: "radeon" (II) Loading /usr/lib/modules/drivers/radeon_drv.o (II) Module radeon: vendor="X.Org Foundation" compiled for 6.8.2, module version = 4.0.1 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 0.7 (II) LoadModule: "ati" (II) Loading /usr/lib/modules/drivers/ati_drv.o (II) Module ati: vendor="X.Org Foundation" compiled for 6.8.2, module version = 6.5.6 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 0.7 ... (II) Primary Device is: PCI 01:00:0 (--) Assigning device section with no busID to primary device (--) Chipset ATI Radeon Mobility 9000 (M9) Lf (AGP) found ... (II) Loading sub module "radeon" (II) LoadModule: "radeon" (II) Reloading /usr/lib/modules/drivers/radeon_drv.o ... (II) Setting vga for screen 0. (II) RADEON(0): MMIO registers at 0xd0100000 (II) RADEON(0): PCI bus 1 card 0 func 0 (**) RADEON(0): Depth 24, (--) framebuffer bpp 32 (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) (==) RADEON(0): Default visual is TrueColor (**) RADEON(0): Option "AGPMode" "4" (**) RADEON(0): Option "AGPFastWrite" "True" (**) RADEON(0): Option "EnablePageFlip" "True" ... drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed [drm] failed to load kernel module "radeon" (II) RADEON(0): [drm] drmOpen failed (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. (II) RADEON(0): Memory manager initialized to (0,0) (1408,8191) (II) RADEON(0): Reserved area from (0,1050) to (1408,1052) (II) RADEON(0): Largest offscreen area available: 1408 x 7139 (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 1052) (II) RADEON(0): Largest offscreen area available: 1408 x 7136 (II) RADEON(0): Direct rendering disabled (==) RandR enabled ... =========================================== -- Bo Andresen -- gentoo-user@gentoo.org mailing list