From owner-freebsd-questions@FreeBSD.ORG Wed May 16 13:10:27 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E90D16A401 for ; Wed, 16 May 2007 13:10:27 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from thumbler.kulnet.kuleuven.ac.be (thumbler.kulnet.kuleuven.ac.be [134.58.240.45]) by mx1.freebsd.org (Postfix) with ESMTP id 98A9113C45B for ; Wed, 16 May 2007 13:10:26 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 278BA137F84; Wed, 16 May 2007 14:40:52 +0200 (CEST) Received: from smtps01 (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by thumbler.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 5D65E138200; Wed, 16 May 2007 14:40:49 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps01 (Postfix) with ESMTP id AEF8F2E68CA; Wed, 16 May 2007 14:40:48 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.1/8.14.1) with ESMTP id l4GCekcg001716; Wed, 16 May 2007 14:40:47 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Wed, 16 May 2007 14:40:43 +0200 User-Agent: KMail/1.9.6 References: <4648D4AE.3090503@volny.cz> <46496364.6030704@volny.cz> <4649666F.1000800@volny.cz> In-Reply-To: <4649666F.1000800@volny.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705161440.45926.tijl@ulyssis.org> X-Virus-Scanned: by KULeuven Antivirus Cluster Cc: Ladislav Jozsa , nawcom@nawcom.com Subject: Re: 3D acceleration within non-root account X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2007 13:10:27 -0000 On Tuesday 15 May 2007 09:51:11 Ladislav Jozsa wrote: > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 13, (OK) > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 13, (OK) > drmOpenByBusid: Searching for BusID pci:0000:01:00.0 > drmOpenDevice: node name is /dev/dri/card0 > drmOpenDevice: open result is 13, (OK) > drmOpenByBusid: drmOpenMinor returns 13 > drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 > (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 0xc50e4000 > (II) RADEON(0): [drm] mapped SAREA 0xc50e4000 to 0x2877d000 > (II) RADEON(0): [drm] framebuffer handle = 0xe0000000 > (II) RADEON(0): [drm] added 1 reserved context for kernel > (II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x0000/0x0000; Card 0x1002/0x4c57] > (II) RADEON(0): [agp] 8192 kB allocated with handle 0xc578a7c0 > (II) RADEON(0): [agp] ring handle = 0xd0000000 > (II) RADEON(0): [agp] Ring mapped at 0x2a86d000 > (II) RADEON(0): [agp] ring read ptr handle = 0xd0101000 > (II) RADEON(0): [agp] Ring read ptr mapped at 0x2877f000 > (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000 > (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x2a96e000 > (II) RADEON(0): [agp] GART texture map handle = 0xd0302000 > (II) RADEON(0): [agp] GART Texture map mapped at 0x2ab6e000 > (II) RADEON(0): [drm] register handle = 0xc0100000 > (II) RADEON(0): [dri] Visual configs initialized > (**) RADEON(0): Enabling depth moves > (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) (1024,8191) > (II) RADEON(0): Reserved area from (0,768) to (1024,770) > (II) RADEON(0): Largest offscreen area available: 1024 x 7421 > (II) RADEON(0): Will use back buffer at offset 0x900000 > (II) RADEON(0): Will use depth buffer at offset 0xc00000 > (II) RADEON(0): Will use 17408 kb for textures at offset 0xf00000 > (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 > Scanline Image Writes > Offscreen Pixmaps > Setting up tile and stipple cache: > 32 128x128 slots > 32 256x256 slots > 16 512x512 slots > (II) RADEON(0): Acceleration enabled > (**) RADEON(0): Option "BackingStore" "true" > (**) RADEON(0): Backing store enabled > (==) RADEON(0): Silken mouse enabled > (II) RADEON(0): Using hardware cursor (scanline 770) > (II) RADEON(0): Largest offscreen area available: 1024 x 7417 > (**) Option "dpms" "true" > (**) RADEON(0): DPMS enabled > (II) RADEON(0): Detected Radeon Mobility M7, disabling multimedia i2c > (II) Loading sub module "theatre_detect" > (II) LoadModule: "theatre_detect" > (II) Loading /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so > (II) Module theatre_detect: vendor="X.Org Foundation" > compiled for 4.3.99.902, module version = 1.0.0 > ABI class: X.Org Video Driver, version 0.8 > (II) RADEON(0): no multimedia table present, disabling Rage Theatre. > (WW) RADEON(0): Option "DRI" is not used > (WW) RADEON(0): Option "AllowGLXWithComposite" is not used > (WW) RADEON(0): Option "UseUnternalAGPGART" is not used > (II) RADEON(0): X context handle = 0x1 > (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 This last line says direct rendering is enable so I assume this is when you run as root? What does the non-root log say? Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg setuid root? Do you load the radeon.ko and drm.ko kernel modules from /boot/loader.conf?