The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
No sound - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: No sound (/showthread.php?tid=489)



No sound - javilon - 01-01-2007

I am running the latest svn on gentoo.

I used to get sound before, but not anymore.
If I run other applications that produce sound like xmms or flash player in firefox they do work.

this is the console's output:

==============================================
BinReloc successfully initialized.
Executable path: /home/jsantos/Apps/vdrift/build/vdrift
Data dir: /home/jsantos/Apps/vdrift/data
Localedir: /home/jsantos/Apps/vdrift/share/locale
CONFIGFILE::GetParam(): main.data_dir not found in /home/jsantos/.vdrift/VDrift.config
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Found config file /home/jsantos/.vdrift/controls.
Found config file /home/jsantos/.vdrift/VDrift.config.
CONFIGFILE::GetParam(): main.data_dir not found in /home/jsantos/.vdrift/VDrift.config
No data_dir found in VDrift.config, using /home/jsantos/Apps/vdrift/data
Version of game: development
Skin name not found in config file...
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
1 joystick(s) found:
0. Microsoft SideWinder Precision Racing Wheel USB version 1.0
Multitexture: Yes
Texture units: 4
Antialiasing: Yes
Anisotropic texture filtering: Yes
Maximum Anisotropy: 8
Multitexture units (4 are required for all effects): 4
Your GPU meets the texture unit requirements.

Note to user: All error messages will be put in /home/jsantos/.vdrift/logs/.
error loading texture file "/home/jsantos/Apps/vdrift/data/tracks/nuerburgring_nordschleife/objects/.png"...
========================================================




- thelusiv - 01-05-2007

Please post your version of OpenAL and ALUT.


- javilon - 01-05-2007

OpenAL: 0.0.8-r1

ALUT: freealut 1.0.1


- thelusiv - 01-05-2007

Are you using ESD/artsd? Does sound work in other OpenAL games? Do you have a ~/.openalrc file?


- javilon - 01-05-2007

I don't use arts or esound, so both where down.

That was it. I didn't know vdrift used esound. I thought it would talk to alsa directly. As soon as I started esound it worked :oops:

Sorry for wasting your time


- thelusiv - 01-05-2007

VDrift doesn't use Esound, it uses OpenAL. OpenAL has an order for searching for a sound output method. Usually it first tries ALSA, which is what you probably should use if you're not using Gnome's Sound Server, Esound (which it sounds like you are, since that works), or you can use .openalrc to change the order to try artsd or esd first, if you use those.

No worries about wasting time, others have this problem commonly. Anybody got a link to something explaining how to make a .openalrc? I used to, but have lost it...