Date: Wed, 16 May 2007 14:40:43 +0200 From: Tijl Coosemans <tijl@ulyssis.org> To: freebsd-questions@freebsd.org Cc: Ladislav Jozsa <jozsa@volny.cz>, nawcom@nawcom.com Subject: Re: 3D acceleration within non-root account Message-ID: <200705161440.45926.tijl@ulyssis.org> In-Reply-To: <4649666F.1000800@volny.cz> References: <4648D4AE.3090503@volny.cz> <46496364.6030704@volny.cz> <4649666F.1000800@volny.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705161440.45926.tijl>