Re: 3D acceleration within non-root account

2007-05-16 Thread Ladislav Jozsa

Thank you for your answer.

Tijl Coosemans wrote:

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?
  
The answer for the first question is yes. The Xorg server is started 
under root account via statement gdm_enable="YES"in /etc/rc.conf. When I 
disable it and try to run Xorg via startx under non-root account the log 
output is:


(==) RADEON(0): Write-combining range (0xc010,0x8) was already clear
(==) RADEON(0): Write-combining range (0xe000,0x200)
(==) RADEON(0): Write-combining range (0xa,0x1) was already clear
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): BIOS HotKeys Disabled
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci::01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xc4c5a000
(II) RADEON(0): [drm] mapped SAREA 0xc4c5a000 to 0x28786000
(II) RADEON(0): [drm] framebuffer handle = 0xe000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x/0x; Card 
0x1002/0x4c57]

(II) RADEON(0): [agp] 8192 kB allocated with handle 0xc49f57c0
(II) RADEON(0): [agp] ring handle = 0xd000
(II) RADEON(0): [agp] Ring mapped at 0x2a876000
(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x28788000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x2a977000
(II) RADEON(0): [agp] GART texture map handle = 0xd0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x2ab77000
(II) RADEON(0): [drm] register handle = 0xc010
(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 0x90
(II) RADEON(0): Will use depth buffer at offset 0xc0
(II) RADEON(0): Will use 17408 kb for textures at offset 0xf0
(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


Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg
setuid root?
  

/usr/X11R6/bin/Xorg is setuid root.


Do you load the radeon.ko and drm.ko kernel modules from
/boot/loader.conf?

Originally no. I have added it there, but there is no change in behaviour.

Any other ideas?

Many thanks,
Ladislav

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsub

Re: 3D acceleration within non-root account

2007-05-16 Thread Tijl Coosemans
On Wednesday 16 May 2007 14:40:43 Tijl Coosemans wrote:
> Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg
> setuid root?

/usr/X11R6/bin/Xorg of course.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3D acceleration within non-root account

2007-05-16 Thread Tijl Coosemans
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::01:00.0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 13, (OK)
> drmOpenByBusid: drmOpenMinor returns 13
> drmOpenByBusid: drmGetBusid reports pci::01:00.0
> (II) RADEON(0): [drm] DRM interface version 1.2
> (II) RADEON(0): [drm] created "radeon" driver at busid "pci::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 = 0xe000
> (II) RADEON(0): [drm] added 1 reserved context for kernel
> (II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x/0x; Card 0x1002/0x4c57]
> (II) RADEON(0): [agp] 8192 kB allocated with handle 0xc578a7c0
> (II) RADEON(0): [agp] ring handle = 0xd000
> (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 = 0xc010
> (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 0x90
> (II) RADEON(0): Will use depth buffer at offset 0xc0
> (II) RADEON(0): Will use 17408 kb for textures at offset 0xf0
> (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?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3D acceleration within non-root account

2007-05-15 Thread Ladislav Jozsa
Well, it seems that the attachment didn't arrived so I send it again as 
in line text. I apologize for a big email.


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions.

X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
X Protocol Version 11, Revision 0, Release 6.8.99.903
Build Operating System: FreeBSD 6.1 i386 [ELF]
Current Operating System: FreeBSD b04-807a.kn.vutbr.cz 6.1-RELEASE 
FreeBSD 6.1-RELEASE #6: Sun Feb  4 11:32:53 CET 2007 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/TEST i386

Build Date: 16 December 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue May 15 09:21:29 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(WW) The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
   Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/CID/" does not exist.
   Entry deleted from font path.
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"

(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail" "true"
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.2
   X.Org Video Driver: 0.8
   X.Org XInput driver : 0.5
   X.Org Server Extension : 0.2
   X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
   compiled for 6.8.99.903, module version = 1.0.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
   compiled for 6.8.99.903, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.8
(--) Using syscons driver with X support (version 2.0)
(++) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,3340 card 1014,0529 rev 03 class 06,00,00 
hdr 00
(II) PCI: 00:01:0: chip 8086,3341 card , rev 03 class 06,04,00 
hdr 01
(II) PCI: 00:1d:0: chip 8086,24c2 card 1014,052d rev 01 class 0c,03,00 
hdr 80
(II) PCI: 00:1d:1: chip 8086,24c4 card 1014,052d rev 01 class 0c,03,00 
hdr 00
(II) PCI: 00:1d:2: chip 8086,24c7 card 1014,052d rev 01 class 0c,03,00 
hdr 00
(II) PCI: 00:1d:7: chip 8086,24cd card 1014,052e rev 01 class 0c,03,20 
hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev 81 class 06,04,00 
hdr 01
(II) PCI: 00:1f:0: chip 8086,24cc card , rev 01 class 06,01,00 
hdr 80
(II) PCI: 00:1f:1: chip 8086,24ca card 1014,052d rev 01 class 01,01,8a 
hdr 00
(II) PCI: 00:1f:3: chip 8086,24c3 card 1014,052d rev 01 class 0c,05,00 
hdr 00
(II) PCI: 00:1f:5: chip 8086,24c5 card 1014,0523 rev 01 class 04,01,00 
hdr 00
(II) PCI: 00:1f:6: chip 8086,24c6 card 1014,0524 rev 01 class 07,03,00 
hdr 00
(II) PCI: 01:00:0: chip 1002,4c57 card 1014,0527 rev 00 class 03,00,00 
hdr 00
(II) PCI: 02:00:0: chip 104c,ac56 card fffc, rev 00 class 06,07,00 
hdr 02
(II) PCI: 02:02:0: chip 8086,1043 card 8086,2551 rev 04 class 02,80,00 
hdr 00
(II) PCI: 02:07:0: chip 104c,8026 card 1014,0515 rev 00 class 0c,00,10 
hdr 00
(II) PCI: 02:08:0: chip 8086,103d card 1014,0522 rev 81 class 02,00,00 
hdr 00

(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
   [0] -100x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
   [0] -100x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
   [0] -100x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set)
(II) Bus 1 I/O range:
   [0] -100x3000 - 0x30ff (0x100) IX[B]
   [1] -100x3400 - 0x34ff (0x100) IX[B]
   [2] -10 

Re: 3D acceleration within non-root account

2007-05-15 Thread Ladislav Jozsa
Thank you for your answer. I have checked write access to the device 
/dev/dri/card0, everything seems to be OK.


# ls -l /dev/dri/card0
crw-rw-rw-  1 root  wheel0, 131 May 15 09:02 /dev/dri/card0

Because I don't know which device can cause the problem I also tried to 
set write access to the following devices:


crwrw-  1 root  wheel0,  29 May 15 09:02 /dev/agpgart
crw-r--rw-  1 root  wheel0,  15 May 15 09:02 /dev/pci

However it is still not working. Please see the Xorg.log file attached.

Ladislav


nawcom wrote:
Well, it shows that it has to do with device permissions; your root 
can read and write to it, but your user account can't. be sure and 
give your user write access to the device. Also your X log should be 
able to describe in more detail on what the situation is that you are 
having. check that and let me know if you got it working and also what 
your X log says.

-Ben

Ladislav Jozsa wrote:

Hello there,

I'm trying to get 3D acceleration working on my ThinkPad R40 with ATI 
Radeon Mobility 7500 graphic card. I'm running FreeBSD 6.1 and I'm 
able to run 3D under root account, where glxinfo tells me the following:


# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20050528 AGP 4x TCL

But when I try the same under non-root account the result is:

$ glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Thus 3D acceleration is not running. I've got loaded the following 
graphic drivers :


9 1 0xc4c21000 1c000radeon.ko
101 0xc4c47000 e000 drm.ko

"dmesg | grep drm" gives me:

drm0:  port 0x3000-0x30ff mem 
0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized radeon 1.19.0 20050911

In Xorg configuration I  have also loaded following modules and DRI 
set properly:


Section "Module"
  Load  "dbe"
  Load  "dri"
  Load  "extmod"
  Load  "glx"
  Load  "record"
  Load  "xie"
  Load  "pex5"
  Load  "freetype"
  Load  "type1"
EndSection

Section "DRI"
  Mode 0666
EndSection

Does anyone know what else I need to run 3D under non-root account?

Many thanks,

Ladislav Jozsa







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: 3D acceleration within non-root account

2007-05-14 Thread nawcom
Well, it shows that it has to do with device permissions; your root can 
read and write to it, but your user account can't. be sure and give your 
user write access to the device. Also your X log should be able to 
describe in more detail on what the situation is that you are having. 
check that and let me know if you got it working and also what your X 
log says.

-Ben

Ladislav Jozsa wrote:

Hello there,

I'm trying to get 3D acceleration working on my ThinkPad R40 with ATI 
Radeon Mobility 7500 graphic card. I'm running FreeBSD 6.1 and I'm 
able to run 3D under root account, where glxinfo tells me the following:


# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20050528 AGP 4x TCL

But when I try the same under non-root account the result is:

$ glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Thus 3D acceleration is not running. I've got loaded the following 
graphic drivers :


9 1 0xc4c21000 1c000radeon.ko
101 0xc4c47000 e000 drm.ko

"dmesg | grep drm" gives me:

drm0:  port 0x3000-0x30ff mem 
0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized radeon 1.19.0 20050911

In Xorg configuration I  have also loaded following modules and DRI 
set properly:


Section "Module"
  Load  "dbe"
  Load  "dri"
  Load  "extmod"
  Load  "glx"
  Load  "record"
  Load  "xie"
  Load  "pex5"
  Load  "freetype"
  Load  "type1"
EndSection

Section "DRI"
  Mode 0666
EndSection

Does anyone know what else I need to run 3D under non-root account?

Many thanks,

Ladislav Jozsa







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


3D acceleration within non-root account

2007-05-14 Thread Ladislav Jozsa

Hello there,

I'm trying to get 3D acceleration working on my ThinkPad R40 with ATI 
Radeon Mobility 7500 graphic card. I'm running FreeBSD 6.1 and I'm able 
to run 3D under root account, where glxinfo tells me the following:


# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20050528 AGP 4x TCL

But when I try the same under non-root account the result is:

$ glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Thus 3D acceleration is not running. I've got loaded the following 
graphic drivers :


9 1 0xc4c21000 1c000radeon.ko
101 0xc4c47000 e000 drm.ko

"dmesg | grep drm" gives me:

drm0:  port 0x3000-0x30ff mem 
0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized radeon 1.19.0 20050911

In Xorg configuration I  have also loaded following modules and DRI set 
properly:


Section "Module"
  Load  "dbe"
  Load  "dri"
  Load  "extmod"
  Load  "glx"
  Load  "record"
  Load  "xie"
  Load  "pex5"
  Load  "freetype"
  Load  "type1"
EndSection

Section "DRI"
  Mode 0666
EndSection

Does anyone know what else I need to run 3D under non-root account?

Many thanks,

Ladislav Jozsa







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


3D acceleration within non-root account

2007-05-14 Thread Ladislav Jozsa

Hello there,

I'm trying to get 3D acceleration working on my ThinkPad R40 with ATI 
Radeon Mobility 7500 graphic card. I'm running FreeBSD 6.1 and I'm able 
to run 3D under root account, where glxinfo tells me the following:


# glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Radeon 20050528 AGP 4x TCL

But when I try the same under non-root account the result is:

$ glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

Thus 3D acceleration is not running. I've got loaded the following 
graphic drivers :


9 1 0xc4c21000 1c000radeon.ko
101 0xc4c47000 e000 drm.ko

"dmesg | grep drm" gives me:

drm0:  port 0x3000-0x30ff mem 
0xe000-0xe7ff,0xc010-0xc010 irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized radeon 1.19.0 20050911

In Xorg configuration I  have also loaded following modules and DRI set 
properly:


Section "Module"
   Load  "dbe"
   Load  "dri"
   Load  "extmod"
   Load  "glx"
   Load  "record"
   Load  "xie"
   Load  "pex5"
   Load  "freetype"
   Load  "type1"
EndSection

Section "DRI"
   Mode 0666
EndSection

Does anyone know what else I need to run 3D under non-root account?

Many thanks,

Ladislav Jozsa





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"