Using xorg 7.2, so far every other applications runs fine. Running ./nwn returns to the prompt: ./nwn: line 13: 28621 Aborted ./nwmain $@ Disabling direct rendering, it runs (but unaccelerated). gdb: #0 0xb7fd6410 in __kernel_vsyscall () #1 0xb7cb97b1 in raise () from /lib/libc.so.6 #2 0xb7cbafc8 in abort () from /lib/libc.so.6 #3 0xb7cb2ebc in __assert_fail () from /lib/libc.so.6 #4 0xb5c4099c in tdfxCompressedTexImage2D (ctx=0xe449b18, target=3553, level=0, internalFormat=33779, width=64, height=64, border=0, imageSize=4096, data=0xed89552, texObj=0xed0a8c0, texImage=0xed09408) at tdfx_tex.c:1618 #5 0xb5cb00dc in _mesa_CompressedTexImage2DARB (target=3553, level=0, internalFormat=33779, width=64, height=64, border=0, imageSize=4096, data=0xed89552) at main/teximage.c:3368 #6 0x084c94af in ?? () #7 0x0851e838 in ?? () #8 0x0851e45b in ?? () #9 0x0851f585 in ?? () #10 0x0852221c in ?? () #11 0x084f93e7 in ?? () #12 0x080540d3 in ?? () #13 0x0804fd88 in ?? () #14 0xb7ca67c8 in __libc_start_main () from /lib/libc.so.6 #15 0x0804f851 in ?? () strace: open("./texturepacks/Textures_Tpc.erf", O_RDONLY) = 11 fstat64(11, {st_mode=S_IFREG|0664, st_size=31358448, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xaf184000 _llseek(11, 446464, [446464], SEEK_SET) = 0 read(11, "\0\0\0\0/\305\316\274\274\374\336\266\377\377\0\0\0\0\0"..., 2472) = 2472 read(11, "@\0\0\0@\0\0\0\4\0\0\0\0\20\0\0\230\226v=\0\0\0\0\0\0\0"..., 4096) = 4096 read(11, "\0\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\0\0\0\0\0\0\0"..., 4096) = 4096 close(11) = 0 munmap(0xaf184000, 4096) = 0 open("./data/textures_01.bif", O_RDONLY) = 11 fstat64(11, {st_mode=S_IFREG|0644, st_size=63052761, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xaf184000 _llseek(11, 18595840, [18595840], SEEK_SET) = 0 read(11, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 475) = 475 read(11, "\0\0\2\0\0\0\0\0\0\0\0\0\20\0\20\0 \10\377\377\377\3\377"..., 4096) = 4096 close(11) = 0 munmap(0xaf184000, 4096) = 0 write(2, "nwmain: tdfx_tex.c:1618: tdfxCom"..., 94) = 94 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 write(7, "--------------------------------"..., 288) = 288 tgkill(28670, 28670, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++ Process 28670 detached
Additional informations: Same thing with freshly compiled Mesa-7.0 libtxc_dxtn has been installed but to no avail. GL_COMPRESSED_RGBA_S3TC_DXT5_EXT is the internalFormat. Worked flawlessly with X11R6.8.2 #4 0xb5707b6e in tdfxCompressedTexImage2D (ctx=0xe4497e0, target=3553, level=0, internalFormat=33779, width=64, height=64, border=0, imageSize=4096, data=0xeb3de3a, texObj=0xeabf1a8, texImage=0xeac4e08) at tdfx_tex.c:1618 fxMesa = (tdfxContextPtr) 0xe3fe478 ti = (tdfxTexInfo *) 0x83f3 mml = (tdfxMipMapLevel *) 0x0 mesaFormat = 246173192 __PRETTY_FUNCTION__ = "tdfxCompressedTexImage2D" #5 0xb57ac5b2 in _mesa_CompressedTexImage2DARB (target=3553, level=0, internalFormat=33779, width=64, height=64, border=0, imageSize=4096, data=0xeb3de3a) at main/teximage.c:3355 texUnit = (struct gl_texture_unit *) 0xe4545c0 texObj = (struct gl_texture_object *) 0xeabf1a8 texImage = (struct gl_texture_image *) 0xeac4e08 error = 0 ctx = (GLcontext *) 0xe4497e0 Any way to fall back to software rendering for some extensions? *may be related to bug 3165?
Please post (not pasting) your xorg.conf and your xorg.log
Created attachment 10849 [details] my xorg.conf, everything seems fine there
Created attachment 10850 [details] Xorg.log, everything seems fine AFAICS
That may seems newbeeish, but commenting out line 129 in src/mesa/drivers/dri/tdfx/tdfx_context.c: { "GL_EXT_texture_compression_s3tc", NULL }, allows the game to start but the textures looks quite ugly; there should be a better way around.
Created attachment 10857 [details] [review] Nwn is a bit ugly but still playable The game offered better graphics quality with some previous versions of Mesa, but still it is now running and playable. Gamma is not working ingame and as mentioned above, textures are rough. If someone could give me a hint, that would be appreciated.
Mesa no longer has a tdfx driver.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.