11-20-2009, 07:19 PM,
|
|
diegu
Junior Member
|
Posts: 5
Threads: 1
Joined: Nov 2009
|
|
Error when trying to install vdrift on Ubuntu 9.10
Hi,
I try to install vdrift from "http://www.playdeb.net/updates/VDrift" by clicking on the "Install this now" button
I'm running Ubuntu 9.10 and I get the following messages:
- After clicking , I get a message box "start application" and I choose "apturl".
- Then I get a dialog telling me that 42 files have been downloaded.
- Then I get a dialog telling "Package 'vdrift' could not be found"
In the wiki I read, I have to install several sdl-packages. I could not find any matching package names in synaptic, so I did not install any of them.
Would be great if anyone could help me.
Best regards,
Diegu
|
|
11-21-2009, 01:38 PM,
|
|
diegu
Junior Member
|
Posts: 5
Threads: 1
Joined: Nov 2009
|
|
Hi guys,
just downloaded the sources and compiled them.
Runs fine - except sound is awkward.
Judging from other posts, I assume the binaries are not available for ubuntu.
Regards,
Diegu
|
|
11-22-2009, 08:53 AM,
|
|
diegu
Junior Member
|
Posts: 5
Threads: 1
Joined: Nov 2009
|
|
joevenzon Wrote:[...]
What's awkward about the sound?
The sound resembles to an old Commodore 64 game and is not at all realistic.
Having read something more, I think I have an installation problem or missing package? Sometimes I do not here any sound at all.
However, when starting, everything seems fine.
See log:
Code: INFO: Display change was successful: 1680x1050x32 16z fullscreen=0
INFO: Video card information:
Vendor: NVIDIA Corporation
Renderer: GeForce 9600 GT/PCI/SSE2/3DNOW!
Version: 3.0.0 NVIDIA 185.18.36
Maximum texture size: 8192
Using GLEW 1.5.1
INFO: Disabling shaders
INFO: Maximum anisotropy: 16
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/diegu/.vdrift/controls.config
INFO: Sound initialization information:
INFO: Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 512
Size: 2048
Sound initialization successful
Best regards,
Diegu
|
|
11-22-2009, 10:18 AM,
|
|
diegu
Junior Member
|
Posts: 5
Threads: 1
Joined: Nov 2009
|
|
...me again (sorry)
Just searched a bit and did the following:
Installed libopenal1 and added a local .openalrc with the following contents:
Code: (define devices '(native alsa sdl arts esd null))
(define alsa-device "dsp0")
(define speaker-num 2)
;(define sampling-rate 22050)
No change:
Mostly i hear no sound at all.
Sometime sound is crashed.
Once I heard "correct" sound of car for half a lap, then sound got "scrumbled" again.
Any help appreciated.
Best regards,
Diegu
|
|
11-23-2009, 11:22 AM,
|
|
joevenzon
Administrator
|
Posts: 2,679
Threads: 52
Joined: Jun 2005
|
|
Try playing around with this part of the code in src/game.cpp:
Code: bool GAME::InitializeSound()
{
if (sound.Init(512, info_output, error_output))
Change the 512 to a higher value like 1024 or 2048, recompile, and see if that fixes it for you.
|
|
11-23-2009, 01:57 PM,
|
|
diegu
Junior Member
|
Posts: 5
Threads: 1
Joined: Nov 2009
|
|
Thanks joevenzon!
That helped a lot. Problem fixed, fine sound now!
Thanks again and best regards,
Diegu
|
|
01-20-2010, 06:02 AM,
|
|
geod919
Junior Member
|
Posts: 2
Threads: 1
Joined: Jan 2010
|
|
diegu Wrote:Hi guys,
just downloaded the sources and compiled them.
where and how?
|
|
|