Game Development Community

native_blitbuffer: select error occured

by Richard O · in Torque Game Engine · 02/05/2003 (6:15 pm) · 2 replies

I am using a clean copy of the HEAD from 2003/02/02. When I run Torque, the below message is displayed in the konsole:

native_blitbuffer: select error occurred

Guessing that I set something up wrong, I tried several of the OpenAL test programs. The same error occurred. Here is the output from the programs:
[robrien@rob-dell test]$ ./testattributes
default context
NumFlags 1
custom context
NumFlags 7
key 0x100 : value 44100
key 0x102 : value 1
key 0x0 : value 1
native_blitbuffer: select error occured
Segmentation fault

[robrien@rob-dell test]$ ./testtime
NOW
OVER
native_blitbuffer: select error occured
native_blitbuffer: select error occured
native_blitbuffer: select error occured
native_blitbuffer: select error occured

[robrien@rob-dell test]$ ./testchannel
0.500000
native_blitbuffer: select error occured
0.920735
native_blitbuffer: select error occured
0.954649
native_blitbuffer: select error occured
0.570560
native_blitbuffer: select error occured
0.121599
I was originally using the OpenAL version that GarageGames recommends [url= www.garagegames.com/downloads/openal-linux-3-29-02.tar.gz]openal-linux-3-29-02.tar.gz[/url] and have also taken the latest version of OpenAL from [url= www.openal.org/downloads/]CVS[/url]. Both versions produce the same error. Sound is working as I am able to run XMMS and listen to music. Here are lines from dmesg showing that the AC'97 driver is loading:
Intel 810 + AC97 Audio, version 0.05, 17:17:57 Sep  6 2001
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH 82801AA found at IO 0xcc80 and 0xc800, IRQ 17
ac97_codec: AC97 Audio codec, id: 0x4144:0x5340 (Analog Devices AD1881)
Here is the all-important information:
Linux Distribution:		Red Hat 7.1 2.96-98
Kernel Version:			2.4.7-10smp
CPU Type & Speed:		Dual Intel Pentium III 733's
RAM:				256MB
Video Card & Driver Version:	ATI Radeon 8500 version 1.3.3037 (1.4.3)
Audio Card & Driver Version:	Intel 82801 AA/AB AC'97 Driver version 0.05
Just to complicate matters, this computer is setup as a dual-boot. When I boot into W2K and run Torque I experience no problems with OpenAL.

Thank you.

Rich

#1
02/05/2003 (11:45 pm)
Your linux audio driver may not implement the select() call properly.

Try putting the following line in to your ~/.openalrc file (create it if it doesn't exist):

(define native-use-select #f)
#2
02/06/2003 (5:45 am)
John,

Your recommendation corrected the error I was getting. I really appreciate your time in answering this thread!

Thank you.

Rich