Click to See Complete Forum and Search --> : segmentation fault on loading agpgart.
gosam
08-08-2003, 11:29 AM
hi , i'm an mandrake user for quite a long time, and i'm experiencing problems with kernel 2.4.21 (not the mandrake one).
the problem is with agpgart support, with the kernel shipped with the distro all went fine and 3d acceleration is perfect(radeon 7000).
now i recompiled a kernel and at boot time it don't load the agpgart module, when i trie to load it manually i get a segmentation fault either before launching X or after.
i have a sis agp chip on the mobo.
what could be the problem.
mdwatts
08-08-2003, 06:28 PM
Did you also enable AGP_SIS support?
CONFIG_AGP=m <--------THIS ONE
.
.
.
CONFIG_AGP_SIS=y <---------THIS ONE
.
.
CONFIG_DRM=y <---------THIS ONE
# CONFIG_DRM_OLD is not set
gosam
08-09-2003, 08:31 AM
yes i did it include the sis chip support.
i miraculously managed to get it to load and now when i run a opengl program i get :
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
libGL error: InitDriver failed
and i get awful performance , like 1 fps or so on tuxracer.
mdwatts
08-09-2003, 09:57 AM
Do you have all the required modules being loaded in /etc/X11/XF86Config (or -4) for GL etc.?
You may find previous threads here at JL that help by performing a forum search for '7000 libgl' or '7000 opengl'.
gosam
08-09-2003, 10:46 AM
the XFree config file has all the entries needed for 3d accel ( glx and dri). the problem is if i choose to boot with the kernel installed by mandrake all is fine , but if i boot with the kernel i built myself (2.4.21) hardware acceleration don't work.
mdwatts
08-09-2003, 11:29 AM
Try comparing the .config from the working kernel and the 2.4.21 to see if you can spot what has been omitted that is required for hw accel.
The Configure.help in the kernel's Documentation directory may help.