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 1FA3mS-0000eH-0f for garchives@archives.gentoo.org; Fri, 17 Feb 2006 11:28:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1HBQNlN013146; Fri, 17 Feb 2006 11:26:23 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k1HBKb72028595 for ; Fri, 17 Feb 2006 11:20:37 GMT Received: by zproxy.gmail.com with SMTP id 8so376885nzo for ; Fri, 17 Feb 2006 03:20:37 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WZ+uujEpb78teKo4UqbmzpxTTAXIEn89BIUO+ydVm9SMVtc5L8rUr/9aV6/y+mA1nwN+MVNYoiZzW6YpTKNmrVMj8ELAnFMBspNSmjOGT5ppPt+vMJCSVt0kubI2yGEJ4Z+sgs9P5tp6Yqcm7uQ7UyO/O2H5R49G+yEP0lnWaWM= Received: by 10.65.155.11 with SMTP id h11mr838299qbo; Fri, 17 Feb 2006 03:20:36 -0800 (PST) Received: by 10.65.52.13 with HTTP; Fri, 17 Feb 2006 03:20:36 -0800 (PST) Message-ID: <4bf052bf0602170320v14599c40qbf2aab3bc4cb13c2@mail.gmail.com> Date: Fri, 17 Feb 2006 13:20:36 +0200 From: Ghaith Hachem To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] 3d rendering with dri radeon In-Reply-To: <200602171203.22279.bo.andresen@gmail.com> 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-Type: text/plain; charset=UTF-8 Content-Disposition: inline References: <200602171203.22279.bo.andresen@gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by robin.gentoo.org id k1HBKb72028595 X-Archives-Salt: fd57928a-3761-4a1e-9512-4ee5827aa8bd X-Archives-Hash: c9de7891ba4066b6263f95a354d815fb havn't tried it since i have a newer unspoorted ship (X300SE) but try this guide here http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers On 2/17/06, Bo Andresen wrote: > 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 > > -- Cheers, Ghaith -- gentoo-user@gentoo.org mailing list