Forums

Full Version: Recent bugfixes in SVN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Joe has been fixing bugs and rewriting sloppy code left and right lately. He's improved the TEXTURE class which hopefully will remove the problems of all-white textures and difficulty changing resolutions during a running game. He's also cleaned up some problems in the SOUND class.

While I get less sound problems now I've noticed that after going through a few cars, and starting a game and then leaving, and coming back later into a new game after looking through cars a few more times, the sounds get messed up. The engine sound gets spotty instead of smooth, and the tire squeal sound is replaced by a droning engine sound.
Joe has been fixing bugs and rewriting sloppy code left and right lately. He's improved the TEXTURE class which hopefully will remove the problems of all-white textures and difficulty changing resolutions during a running game. He's also cleaned up some problems in the SOUND class.

While I get less sound problems now I've noticed that after going through a few cars, and starting a game and then leaving, and coming back later into a new game after looking through cars a few more times, the sounds get messed up. The engine sound gets spotty instead of smooth, and the tire squeal sound is replaced by a droning engine sound.
Just tried out r1218 with its possible sound fixes. These don't seem to fix it. This time I just started a game with one car, left the game, and started a game with a different car. This produced the stuttering engine sound.

edit: This is what I get on the console:
Code:
Error loading sound file: /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Just tried out r1218 with its possible sound fixes. These don't seem to fix it. This time I just started a game with one car, left the game, and started a game with a different car. This produced the stuttering engine sound.

edit: This is what I get on the console:
Code:
Error loading sound file: /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
I used to have that problem with fedora 5, But i got a /dev/dsp busy error before those errors. Never understood how that failes loading the files.
Just a thought.
Cory
edit
I just tried the SVN, and second runs gives:
Code:
Note to user:  All error messages will be put in /home/clytle/.vdrift/logs/.
open /dev/[sound/]dsp: Device or resource busy
Multitexture: Yes
Texture units: 4
Anisotropic texture filtering: Yes
Maximum Anisotropy: 8
Error loading sound file: /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Error loading sound file: /usr/share/games/vdrift/data/cars/G4/engine.wav
Can't find buffer /usr/share/games/vdrift/data/cars/G4/engine.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Bug returns Sad
I used to have that problem with fedora 5, But i got a /dev/dsp busy error before those errors. Never understood how that failes loading the files.
Just a thought.
Cory
edit
I just tried the SVN, and second runs gives:
Code:
Note to user:  All error messages will be put in /home/clytle/.vdrift/logs/.
open /dev/[sound/]dsp: Device or resource busy
Multitexture: Yes
Texture units: 4
Anisotropic texture filtering: Yes
Maximum Anisotropy: 8
Error loading sound file: /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Error loading sound file: /usr/share/games/vdrift/data/cars/G4/engine.wav
Can't find buffer /usr/share/games/vdrift/data/cars/G4/engine.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Can't find buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Bug returns Sad
If you wait 1 minute, game will run again..
Some process not termating quickly?
If you wait 1 minute, game will run again..
Some process not termating quickly?
Hmmm, well for me it doesn't crash or anything at all, it just seems confused about the sounds.

I dunno if it matters or not, but I'm using ESD and also playing music with beep-media-player while playing VDrift.
Hmmm, well for me it doesn't crash or anything at all, it just seems confused about the sounds.

I dunno if it matters or not, but I'm using ESD and also playing music with beep-media-player while playing VDrift.
I'm not worried about it, if looking into anything would help let me know.
Cory
PS where do i find the neat little drift icon, I haven't had it since autopackage.
I'm not worried about it, if looking into anything would help let me know.
Cory
PS where do i find the neat little drift icon, I haven't had it since autopackage.
clytle374 Wrote:where do i find the neat little drift icon, I haven't had it since autopackage.
Here they are in SVN, or look in the same directory of your VDrift install:
http://svn.vdrift.net/viewvc.py/trunk/da...rge/icons/
clytle374 Wrote:where do i find the neat little drift icon, I haven't had it since autopackage.
Here they are in SVN, or look in the same directory of your VDrift install:
http://svn.vdrift.net/viewvc.py/trunk/da...rge/icons/