Kernel DRM Woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 3Dfx works out of the box with 3D accel in 16bit depth only 
> (hardware limitation, not software), and 16Mb cards work only in 
> resolutions of 1024x768 or less due to a limitation which is a 
> combination of the limitation of having only 16Mb of video 
> memory, as well as the video driver not being able to handle 
> the video memory more effectively.  As such, it disables DRI in 
> situations known to be crashable.  There is a patch floating 
> around which might make the situation better, but I lost it.
> 

I thought do too, but kernel-2.4.18-4 (latest up2date)does not include a
/lib/modules/2.4.18-4/kernel/drivers/char/drm directory. :( 

and I had to create the drm directory because...

-----

[root@icebreaker kernel]# rpm -qf
/lib/modules/2.4.18-4/kernel/drivers/char/drm/
file /lib/modules/2.4.18-4/kernel/drivers/char/drm is not owned by any
package

-----

I downloaded the XFree86 source from your site and tried a build out of
the /usr/src/redhat/BUILD/XFree86-4.2.0/xc/programs/Xserver/
hw/xfree86/os-support/linux/drm/kernel but I have the same problems.
Even when I restore the kernel headers from the kernel-source rpm I
still get:

-----

[root@icebreaker kernel]# make -f Makefile.linux tdfx.o
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align
-Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__
-DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE
-DCONFIG_DRM_SIS -DMODVERSIONS -I/lib/modules/2.4.18-4/build/include
-include /lib/modules/2.4.18-4/build/include/linux/modversions.h
-DEXPORT_SYMTAB -I/lib/modules/2.4.18-4/build/include -c tdfx_drv.c -o
tdfx_drv.o
In file included from tdfx_drv.c:107:
drm_lock.h: In function `tdfx_lock_take':
drm_lock.h:57: warning: implicit declaration of function `cmpxchg'
ld -r tdfx_drv.o -o tdfx.o

-----

and when I install the module this happens:

-----

[root@icebreaker kernel]# modprobe tdfx
/lib/modules/2.4.18-4/kernel/drivers/char/drm/tdfx.o: unresolved symbol
cmpxchg
/lib/modules/2.4.18-4/kernel/drivers/char/drm/tdfx.o: insmod
/lib/modules/2.4.18-4/kernel/drivers/char/drm/tdfx.o failed
/lib/modules/2.4.18-4/kernel/drivers/char/drm/tdfx.o: insmod tdfx failed

-----

Greg
-







[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux