3dfxzone.it ~ SFFT Drivers ~ MesaFX ~ 3D-Analyze ~ 3dfx Headlines ~ 3dfx Cards ~
Home | Profile | Register | Active Topics | Members | Search | GoogleSearch | FAQ | 3dfxzone.it
Username:
Password:
Save Password
Forgot your Password?

 Index
 3dfx Hardware & Software
 Voodoo2 Discussions
 voodoo2 and linux kernel 2.6
 New Topic  Reply to Topic
 Print topic

Author Previous Topic Topic Next Topic  

voed
Novice

France


3 Posts

Posted - 28/08/2006 :  11:33:58  Show Profile  Visit voed's Homepage  Reply with Quote
Hi,

I'm using v2 on linux 2.4 and everything is OK.
I've tried to use it on 2.6.8 and 2.6.15 and it's dont work. (i compile and insert the module but the v2 is not detected at glide initialisation)

Is anyone using this card on 2.6 kernel
i'm interesting for experience feedback.

Thanks.

dborca
Average

Romania


425 Posts

Posted - 05/09/2006 :  22:10:42  Show Profile  Visit dborca's Homepage  Send dborca a Yahoo! Message  Reply with Quote
quote:
Originally posted by voed

Hi,

I'm using v2 on linux 2.4 and everything is OK.
I've tried to use it on 2.6.8 and 2.6.15 and it's dont work. (i compile and insert the module but the v2 is not detected at glide initialisation)

Is anyone using this card on 2.6 kernel
i'm interesting for experience feedback.

Thanks.


It works on 2.6.13. Can you detail a bit?

Regards,
Daniel Borca
Go to Top of Page

voed
Novice

France


3 Posts

Posted - 27/09/2006 :  15:48:59  Show Profile  Visit voed's Homepage  Reply with Quote
Yes i will try to explain my problem. thanks for reply.

I use v2 with Debian Sarge (2.4 and 2.6.8) and ubuntu dapper (2.6.15)
I think there's no hardware incompatibility because i'm able to run test programs under Debain sarge 2.4.
But under Debian sarge 2.6.8 (and also Ubuntu Dapper 2.6.15), the test are down.

I follow these 3 steps :
a) compiling and inserting the module 3dfx.ko
b) checking is /dev/3dfx is present
c) running glide demo 'donut' and also /usr/lib/glide2/bin/test01

under Debian sarge 2.6.8
a) OK
b) OK devfs create it
c) an error occured but i thinks it's a minor problem. a lib sould be bad or not correctly configurated.
and moreover i don't use very much sarge, i usually use dapper. thus, useless to spend many time for this.


under Ubuntu Dapper 2.6.15 that interests me to find out a solution !

a) error vhen compiling /usr/src/modules/device3dfx/3dfx_driver.c (comming from device3dfx-source ubuntu dapper package version 2004.08.21-1)
to resolve the error i apply to 3dfx_driver.c this modification :
# replacement of verify_area by access_ok
sudo perl -pi'.orig' -e 's/verify_area/access_ok/' 3dfx_driver.c
and
# replacement of remap_page_range by remap_pfn_range
sudo perl -pi'.orig' -e 's/remap_page_range/remap_pfn_range/' 3dfx_driver.c

and then the module 3dfx is compiling and inserting without errors (only warning with doQueryFetch,doQueryUpdate,doQuery,doPIORead,doPIOWrite and doPIO functions)
sudo modprobe 3dfx.ko
lsmod |grep 3dfx
3dfx 6688 0

b) ls -l /dev/3dfx
nothing ! i thinks that the responsable is udev (use by defaut with dapper)
so i create the device file manualy
sudo mknod /dev/3dfx c 127 0

and then
ls -l /dev/3dfx
crw-r--r-- 1 root root 127, 0 2006-09-21 13:30 /dev/3dfx

c) sudo ./donut
gd error (glide): _GlideInitEnvironment: libglide2x.so expected Voodoo, none detected
Could not initialize Glide. Application Aborted.

and i notice also :
sudo strace ./donut
[...]
open("/voodoo2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/3dfx", O_RDWR) = -1 ENXIO (No such device or address)
iopl(0x3) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd4000
write(1, "gd error (glide): _GlideInitEnvi"..., 86gd error (glide): _GlideInitEnvironment: libglide2x.so expected Voodoo, none detected
) = 86
write(1, "Could not initialize Glide. App"..., 50Could not initialize Glide. Application Aborted.

another test:
sudo /usr/lib/glide2/bin/test01
draws a diagonal line of points from top-left to bottom-right
2.53
Resolution: 640x480
Press A Key To Begin Test.
gd error (glide): _GlideInitEnvironment: libglide2x.so expected Voodoo, none detected
test01: test01.c:94: main: Assertion `grSstQueryHardware( &hwconfig )' failed.
Abandon


i don't understand why these errors appears !
Go to Top of Page

Fresh Meat
Novice

Russia


6 Posts

Posted - 28/09/2006 :  15:45:25  Show Profile  Visit Fresh Meat's Homepage  Reply with Quote
2 Voed: and what games did you played???

Sorry for my bad english...
2xPIII 800EB/Iwill DBD100/2x256Mb ECC Registered/2xVoodoo2 SLI/2x80Gb Seagate 7200 :)
Go to Top of Page

voed
Novice

France


3 Posts

Posted - 28/09/2006 :  20:17:40  Show Profile  Visit voed's Homepage  Reply with Quote
i'm not able to play any games. i try the demos (as explain before).

if i try to launch quake 2 for example : sudo ./quake2 +set vid_ref glx


Added packfile ./baseq2/pak0.pak (3307 files)
Added packfile ./baseq2/pak1.pak (279 files)
Added packfile ./baseq2/pak2.pak (2 files)
execing default.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
/dev/dsp: Broken pipe
Could not toggle.
------- Loading ref_glx.so -------
ref_gl version: GL 0.01
/usr/local/games/quake2/3dfxgl: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "3dfxgl"
------- Loading ref_soft.so -------
Warning: you have not yet configured your mouse type. If you have no mouse,
setting the type to `none' in /etc/vga/libvga.config will get rid of this
annoying message.
No mouse found
[svgalib: allocated virtual console #9]



i have the start screen (onto the 2D video card) but the game don't launch.
as you can see:
------- Loading ref_glx.so -------
ref_gl version: GL 0.01
/usr/local/games/quake2/3dfxgl: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "3dfxgl"

i think that udev don't create properly the device file /dev/3dfx but i don't known enything else.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Print topic
Jump To:

 

Forum Rules

Legal Info

Privacy

Contact Us

3dfxzone.it

HWSetup.it

ForumZone.it

 

All trademarks used are properties of their respective owners - Forum Graphics and Contents 2001 - 2014 3dfxzone.it - Forum Engine Snitz Forums