osdir.com
mailing list archive
Mozy Online Backup: 2GB Free. Automatic. Secure.

Subject: No 3D acceleration on a PowerBook G4 (r300) - msg#00127

List: video.dri.user

Date: Prev Next Index Thread: Prev Next Index
Hi everybody!
This is my first post, but I really don't know any further anymore...

I've build and installed Mesa and DRM as described on r300.sf.net and
dri.freedesktop.org/wiki/Building, loaded the modules and do still not have 3D
acceleration (framebuffer (glxgears: ~340fps) is faster than radeon (glxgears:
~170fps)). There's a known issue with Gentoo opengl-update -> I've installed
it, even if it is not very usefull on ppc -> only xorg-x11. (I never installed
the mesa drivers from Gentoo.)

System:
PowerBook G4 (with a r300 Chipset)
Kernel: gentoo-dev-sources 2.6.9-r9
xorg-x11: 6.8.2 with standard Gentoo patches ~ppc



DRM:
Build the sources from cvs.freedesktop.org in drm/linux-core, copied them to my
kernel
modprobed drm and radeon
depmod
modules-update


Mesa:
Got the sources from cvs.sourceforge.net:/cvsroot/r300
Linked them as described in the r300_driver/README:
mkdir /cvs/xorg/Mesa/src/mesa/drivers/dri/r300
lndir /cvs/xorg/r300 /cvs/xorg/src/mesa/drivers/dri/r300


Applied the mesa.patch and build the sources from cvs.freedesktop.org in Mesa
with "make linux-dri-ppc"
Mesa/configs/linux-dri-ppc:
OPT_FLAGS = -O2 -pipe -mcpu=7450 -maltivec -mabi=altivec
-mpowerpc-gfxopt \
-fsigned-char -mstring -mmultiple
DRM_SOURCE_PATH = /cvs/xorg/r300_driver/drm
SRC_DIRS = mesa
DRI_DIRS = dri_client r300

Copied the drivers:
cp <Mesa>/lib/*_dri.so /usr/X11R6/lib/modules/dri/


Some hints:
glxinfo:
direct rendering: No
server glx version string: 1.2
client glx version string: 1.4
OpenGL version string: 1.2 (1.5 Mesa 6.2.1) -> Shouldn't this be 1.3
Mesa 6.3
glu version: 1.3

glxgears loads following drivers (strace glxgears -> full output as attachement
"glxgears-output"):
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/opengl/xorg-x11/lib/libGL.so.1", O_RDONLY) = 3
open("/usr/lib/libXp.so.6", O_RDONLY) = 3
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/lib/libX11.so.6", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/lib/libm.so.6", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/usr/lib/libXxf86vm.so.1", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3

-> Shouldn't it load drivers from "/usr/X11R6/lib/modules/dri/" ?

compiling tuxracer breaks:
checking for GL library... no
checking for GL library (with pthreads)... no
checking for MesaGL library... no
checking for MesaGL library (with pthreads)... no
checking for opengl32 library... nou
checking for opengl32 library (with pthreads)... no
configure: error: Cannot find GL library


After all, I think there are simply some messed-up symlinks that have to be
corrected. Looking forward to some useful hints.
Thanks to the developer-team for their great work. Without you I would never be
able to play tuxracer on a RISC-based processor!
Special thanks to Benjamin Herrenschmidt for his ultimative sleep-patch and his
great work for Linux-ppc in general!

Bye


Marc-André

Attachment: linux-dri-ppc
Description: Binary data

Attachment: xorg.conf
Description: Binary data

Attachment: glxgears-output
Description: Binary data

Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

segfaults with r200 dri

Hi all, With the binary snapshot of the r200 driver from 11/02/2005 I get segfaults in two sdl-apps (gl-117 and scourge). The backtrace is in both cases absolutely identical (apart from addresses and parameters of course) #0 _tnl_build_vertices (ctx=0x8150510, start=0, end=85, newinputs=777) at tnl/t_vertex.c:1379 #1 0x40911dc8 in run_render (ctx=0x8150510, stage=0x82e3b70) at tnl/t_vb_render.c:296 #2 0x409037f6 in _tnl_run_pipeline (ctx=0x8150510) at tnl/t_pipeline.c:159 #3 0x082e3b70 in ?? () #4 0x08150510 in ?? () #5 0x00000055 in ?? () #6 0x08150510 in ?? () #7 0xbfffdf7c in ?? () #8 0x4089580a in r200WrapRunPipeline (ctx=0x408d6094) at r200_state.c:2316 Previous frame inner to this frame (corrupt stack?) I am using Xorg 6.8.1 and kernel 2.6.5 (SuSE 9.1). Any ideas? Michael Keyl ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click --

Next Message by Date: click to view message preview

crash of linux kernel 2.6.10

Hi. I've got a heavy crash with linux-core, when I try to modeprobe the radeon module. The drm module loads fine, but, when I load the radeon module I got a crash that kicks me down to the srm (firmware) with a register dump and the message, that the CPU got a halt instruction. Have anybody experienced a similar problem? How I could debug the whole issue to find a solution? TIA Torsten ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden. ******************************************* ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click --

Previous Message by Thread: click to view message preview

segfaults with r200 dri

Hi all, With the binary snapshot of the r200 driver from 11/02/2005 I get segfaults in two sdl-apps (gl-117 and scourge). The backtrace is in both cases absolutely identical (apart from addresses and parameters of course) #0 _tnl_build_vertices (ctx=0x8150510, start=0, end=85, newinputs=777) at tnl/t_vertex.c:1379 #1 0x40911dc8 in run_render (ctx=0x8150510, stage=0x82e3b70) at tnl/t_vb_render.c:296 #2 0x409037f6 in _tnl_run_pipeline (ctx=0x8150510) at tnl/t_pipeline.c:159 #3 0x082e3b70 in ?? () #4 0x08150510 in ?? () #5 0x00000055 in ?? () #6 0x08150510 in ?? () #7 0xbfffdf7c in ?? () #8 0x4089580a in r200WrapRunPipeline (ctx=0x408d6094) at r200_state.c:2316 Previous frame inner to this frame (corrupt stack?) I am using Xorg 6.8.1 and kernel 2.6.5 (SuSE 9.1). Any ideas? Michael Keyl ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click --

Next Message by Thread: click to view message preview

Re: No 3D acceleration on a PowerBook G4 (r300)

Check /var/log/xorg.0.log for errors. Peter Zubaj Marc-André Beck wrote: Hi everybody! This is my first post, but I really don't know any further anymore... I've build and installed Mesa and DRM as described on r300.sf.net and dri.freedesktop.org/wiki/Building, loaded the modules and do still not have 3D acceleration (framebuffer (glxgears: ~340fps) is faster than radeon (glxgears: ~170fps)). There's a known issue with Gentoo opengl-update -> I've installed it, even if it is not very usefull on ppc -> only xorg-x11. (I never installed the mesa drivers from Gentoo.) System: PowerBook G4 (with a r300 Chipset) Kernel: gentoo-dev-sources 2.6.9-r9 xorg-x11: 6.8.2 with standard Gentoo patches ~ppc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click --
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by