Bugs item #3490202, was opened at 2012-02-21 11:35
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3490202&group_id=1111
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Client
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Florian Haag (fhaag)
Assigned to: Nobody/Anonymous (nobody)
Summary: Sounds have stopped working
Initial Comment:
Stendhal used to run fine for me, including sounds (background music/ambient sounds in some places, animal roars and fighting noises etc.). Now, sounds have stopped working on the two computers where it was installed (let's call them T and Q) - the game is just mute. Sounds output by other applications are audible, so there is no global sounds off-setting in place. Stendhal's not muted specifically by Windows mixer, either. Also, sounds are not muted according to the in-game settings panel on the Sound tab (which I've opened for the first time ever now that sounds had already disappeared).
I cannot pinpoint exactly when this problem started (didn't realize sounds were gone at first), but as far as I can tell, it happened after one of the two following changes to my two systems:
* I've updated the installed JRE to 1.7.0_03 (build 1.7.0_03-b05) (T) and 1.7.0_02 (build 1.7.0_02-b13) (Q), respectively.
* Stendhal updated itself to 0.99.
Some system info:
* T runs on Windows Vista 32 Bit.
* Q runs on Windows 7 64 Bit.
I've noticed that log output has changed during the change of JRE versions:
A typical log output on T up until the moment of JRE update:
2012-02-12 20:27:09 INFO [main] stendhal.java ( 157) - Setting base at :\stendhal\
2012-02-12 20:27:10 INFO [main] stendhal.java ( 158) - Stendhal 0.99
2012-02-12 20:27:10 INFO [main] stendhal.java ( 159) -
2012-02-12 20:27:10 INFO [main] stendhal.java ( 160) - Logging to directory: C:\Users\Florian Haag\stendhal\log/
2012-02-12 20:27:10 INFO [main] stendhal.java ( 167) - OS: Windows Vista Service Pack 2 6.0 x86
2012-02-12 20:27:10 INFO [main] stendhal.java ( 170) - Java-Runtime: Java(TM) SE Runtime Environment 1.6.0_26-b03 from C:\Program Files\Java\jre6
2012-02-12 20:27:10 INFO [main] stendhal.java ( 173) - Java-VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 20.1-b02
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 195) - initializing sound system
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: Primärer Soundtreiber - Direct Audio Device: DirectSound Playback (0)
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: Lautsprecher (Conexant 20561 SmartAudio HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: SPDIF-Schnittstelle (Conexant 20561 SmartAudio HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: Java Sound Audio Engine - Software mixer and synthesizer (-1)
2012-02-12 20:27:32 INFO [AWT-EventQueue-0] SoundSystemNG.java ( 555) - opening sound system with line "com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format "PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-12 20:54:32 INFO [Game loop] j2DClient.java ( 615) - Request logout
2012-02-12 20:54:33 INFO [Game loop] SoundSystemNG.java ( 377) - stopping sound system after 0.0ms
A typical log output on T as of the time when the JRE was updated:
2012-02-21 19:00:09 INFO [main] stendhal.java ( 157) - Setting base at :\stendhal\
2012-02-21 19:00:09 INFO [main] stendhal.java ( 158) - Stendhal 0.99
2012-02-21 19:00:09 INFO [main] stendhal.java ( 159) -
2012-02-21 19:00:09 INFO [main] stendhal.java ( 160) - Logging to directory: C:\Users\Florian Haag\stendhal\log/
2012-02-21 19:00:09 INFO [main] stendhal.java ( 167) - OS: Windows Vista Service Pack 2 6.0 x86
2012-02-21 19:00:09 INFO [main] stendhal.java ( 170) - Java-Runtime: Java(TM) SE Runtime Environment 1.7.0_03-b05 from C:\Program Files\Java\jre7
2012-02-21 19:00:09 INFO [main] stendhal.java ( 173) - Java-VM: Oracle Corporation Java HotSpot(TM) Client VM 22.1-b02
2012-02-21 19:00:19 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 195) - initializing sound system
2012-02-21 19:00:19 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: SPDIF-Schnittstelle (Conexant 20561 SmartAudio HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-21 19:00:19 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: Lautsprecher (Conexant 20561 SmartAudio HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-21 19:00:19 INFO [AWT-EventQueue-0] SoundManagerNG.java ( 200) - available device: Primärer Soundtreiber - Direct Audio Device: DirectSound Playback (0)
2012-02-21 19:00:19 INFO [AWT-EventQueue-0] SoundSystemNG.java ( 555) - opening sound system with line "com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format "PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-21 19:01:05 WARN [Game loop] Logger.java ( 208) - Missing base object for modified added RPObject with id RPObject.ID [id=3061 zoneid=0_ados_mountain_n2_w2]
2012-02-21 19:05:17 INFO [Game loop] j2DClient.java ( 615) - Request logout
2012-02-21 19:05:17 INFO [Game loop] SoundSystemNG.java ( 377) - stopping sound system after 0.0ms
Note how the "Java Sound Audio Engine - Software mixer and synthesizer" is gone and the others are in reverse order in the latter. This can be observed on Q just as well (which used to list 5 devices, now 4).
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-08-30 10:24
Message:
w4RqW9 <a href="http://umvrwzmatcvt.com/">umvrwzmatcvt</a>,
[url=http://jrzecfcprbox.com/]jrzecfcprbox[/url],
[link=http://otaomfkavltj.com/]otaomfkavltj[/link],
http://gyrrsmvwerwq.com/
----------------------------------------------------------------------
Comment By: Florian Haag (fhaag)
Date: 2012-02-24 10:48
Message:
Continued in the Developers Tracker, as suggested by "yoriy" via PM in
#arianne on 2012-02-24 - see
http://sourceforge.net/tracker/?func=detail&aid=3493337&group_id=1111&atid=973767
----------------------------------------------------------------------
Comment By: oslsachem (oslsachem)
Date: 2012-02-23 17:19
Message:
Well, it seems to be a problem related to Java 7 and not Stendhal because:
- Sound works for you in Java 6 in windows Vista
- Sound works for me in Java 7 in windows XP
- There are no errors in the logs
- Java 7 is relatively new
So, the thing left to do would be submitting a bug report to Oracle's java
developers:
http://bugreport.sun.com/bugreport/
But first you can try the newest developer preview release (one never knows
if it will work this time):
http://jdk7.java.net/download.html
Then, before reporting the bug it would be interesting to try to isolate a
minimal test case (so that java developers don't have to search through the
whole of Stendhal's source code). Perhaps a Stendhal developer who knows
about sound can be reached for this.
Greetings,
Osl
----------------------------------------------------------------------
Comment By: Florian Haag (fhaag)
Date: 2012-02-22 13:50
Message:
Xtreme Media Player plays back harp--1.ogg, bear-1.ogg, bear-2.ogg and
bear-3.ogg without any problems also using Java 7.
----------------------------------------------------------------------
Comment By: oslsachem (oslsachem)
Date: 2012-02-22 13:12
Message:
>> I've also tried the application you pointed me to, and it does play back
wave files for me in both configurations, i.e. also when Java 7 is
installed.
Could you try playing the ogg files in
http://arianne.cvs.sourceforge.net/viewvc/arianne/stendhal/data/sounds/ ?
Perhaps java 7 in Windows Vista is having problems with this particular
audio format.
----------------------------------------------------------------------
Comment By: Florian Haag (fhaag)
Date: 2012-02-22 12:37
Message:
Another log copy from stendhal.txt, two game runs on the same machine (T),
the only change between the two runs was uninstalling Java 6 and installing
Java 7. Sounds were audible during the first run, the game was mute during
the second run.
2012-02-22 21:12:58 INFO [main] stendhal.java ( 157) -
Setting base at :\stendhal\
2012-02-22 21:12:58 INFO [main] stendhal.java ( 158) -
Stendhal 0.99
2012-02-22 21:12:58 INFO [main] stendhal.java ( 159) -
2012-02-22 21:12:58 INFO [main] stendhal.java ( 160) -
Logging to directory: C:\Users\Florian Haag\stendhal\log/
2012-02-22 21:12:58 INFO [main] stendhal.java ( 167) - OS:
Windows Vista Service Pack 2 6.0 x86
2012-02-22 21:12:58 INFO [main] stendhal.java ( 170) -
Java-Runtime: Java(TM) SE Runtime Environment 1.6.0_31-b05 from C:\Program
Files\Java\jre6
2012-02-22 21:12:58 INFO [main] stendhal.java ( 173) -
Java-VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 20.6-b01
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 195) - initializing sound system
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Primärer Soundtreiber - Direct Audio Device:
DirectSound Playback (0)
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Lautsprecher (Conexant 20561 SmartAudio HD) -
Direct Audio Device: DirectSound Playback (0)
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: SPDIF-Schnittstelle (Conexant 20561 SmartAudio
HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Java Sound Audio Engine - Software mixer and
synthesizer (-1)
2012-02-22 21:13:05 INFO [AWT-EventQueue-0] SoundSystemNG.java
( 555) - opening sound system with line
"com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format
"PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-22 21:14:33 INFO [Game loop] j2DClient.java ( 615)
- Request logout
2012-02-22 21:14:33 INFO [Game loop] SoundSystemNG.java ( 377)
- stopping sound system after 0.0ms
2012-02-22 21:22:32 INFO [main] stendhal.java ( 157) -
Setting base at :\stendhal\
2012-02-22 21:22:32 INFO [main] stendhal.java ( 158) -
Stendhal 0.99
2012-02-22 21:22:32 INFO [main] stendhal.java ( 159) -
2012-02-22 21:22:32 INFO [main] stendhal.java ( 160) -
Logging to directory: C:\Users\Florian Haag\stendhal\log/
2012-02-22 21:22:32 INFO [main] stendhal.java ( 167) - OS:
Windows Vista Service Pack 2 6.0 x86
2012-02-22 21:22:32 INFO [main] stendhal.java ( 170) -
Java-Runtime: Java(TM) SE Runtime Environment 1.7.0_03-b05 from C:\Program
Files\Java\jre7
2012-02-22 21:22:32 INFO [main] stendhal.java ( 173) -
Java-VM: Oracle Corporation Java HotSpot(TM) Client VM 22.1-b02
2012-02-22 21:22:39 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 195) - initializing sound system
2012-02-22 21:22:39 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: SPDIF-Schnittstelle (Conexant 20561 SmartAudio
HD) - Direct Audio Device: DirectSound Playback (0)
2012-02-22 21:22:39 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Lautsprecher (Conexant 20561 SmartAudio HD) -
Direct Audio Device: DirectSound Playback (0)
2012-02-22 21:22:39 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Primärer Soundtreiber - Direct Audio Device:
DirectSound Playback (0)
2012-02-22 21:22:39 INFO [AWT-EventQueue-0] SoundSystemNG.java
( 555) - opening sound system with line
"com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format
"PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-22 21:23:48 INFO [Game loop] j2DClient.java ( 615)
- Request logout
2012-02-22 21:23:48 INFO [Game loop] SoundSystemNG.java ( 377)
- stopping sound system after 0.0ms
----------------------------------------------------------------------
Comment By: Florian Haag (fhaag)
Date: 2012-02-22 12:29
Message:
I've tried this now (on T) - uninstalled the Java 7 RE, installed Java 6
update 31. Sounds in Stendhal were clearly audible as they used to be,
starting with the "welcome" sound right after selecting the character to
play.
I then uninstalled that JRE 6, and installed Java 7 update 3. Sounds in
Stendhal were gone again.
I've also tried the application you pointed me to, and it does play back
wave files for me in both configurations, i.e. also when Java 7 is
installed.
----------------------------------------------------------------------
Comment By: oslsachem (oslsachem)
Date: 2012-02-22 10:05
Message:
You can check if it is a problem related to java 7 on Windows Vista by
using another java application that outputs sound (e.g.
http://sourceforge.net/projects/xtrememp/ ) and checking if sound works.
You can also uninstall java 7 and reinstall java 6 and check if the updated
stendhal client outputs sound.
Greetings,
Osl
----------------------------------------------------------------------
Comment By: Florian Haag (fhaag)
Date: 2012-02-21 12:59
Message:
However, what is this about:
2012-02-21 19:01:05 WARN [Game loop] Logger.java ( 208) - Missing base
object for modified added RPObject with id RPObject.ID [id=3061
zoneid=0_ados_mountain_n2_w2]
Whoops ... looks like I accidentally picked a *less typical* run for a
typical example :-) The others JRE 1.7 runs don't have that one, their log
consists entirely of INFO messages.
So it does work for you on Win XP ... would be interesting to see whether
the problem occurs on Win Vista/Win 7 for others, or whether it is not
related to Java 6 <-> Java 7 after all.
----------------------------------------------------------------------
Comment By: oslsachem (oslsachem)
Date: 2012-02-21 12:20
Message:
Sound works for me.
Before java 1.7:
2012-02-21 20:06:43 INFO [main] stendhal.java ( 157) -
Setting base at :\stendhal\
2012-02-21 20:06:43 INFO [main] stendhal.java ( 158) -
Stendhal 0.99
2012-02-21 20:06:43 INFO [main] stendhal.java ( 159) -
2012-02-21 20:06:43 INFO [main] stendhal.java ( 160) -
Logging to directory: C:\Documents and Settings\Usuario\stendhal\log/
2012-02-21 20:06:43 INFO [main] stendhal.java ( 167) - OS:
Windows XP Service Pack 3 5.1 x86
2012-02-21 20:06:43 INFO [main] stendhal.java ( 170) -
Java-Runtime: Java(TM) SE Runtime Environment 1.6.0_31-b05 from C:\Archivos
de programa\Java\jre6
2012-02-21 20:06:43 INFO [main] stendhal.java ( 173) -
Java-VM: Sun Microsystems Inc. Java HotSpot(TM) Client VM 20.6-b01
2012-02-21 20:07:15 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 195) - initializing sound system
2012-02-21 20:07:15 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Controlador primario de sonido - Direct Audio
Device: DirectSound Playback (0)
2012-02-21 20:07:15 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Realtek AC97 Audio - Direct Audio Device:
DirectSound Playback (0)
2012-02-21 20:07:15 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Java Sound Audio Engine - Software mixer and
synthesizer (-1)
2012-02-21 20:07:15 INFO [AWT-EventQueue-0] SoundSystemNG.java
( 555) - opening sound system with line
"com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format
"PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-21 20:12:35 INFO [Game loop] j2DClient.java ( 615)
- Request logout
2012-02-21 20:12:36 INFO [Game loop] SoundSystemNG.java ( 377)
- stopping sound system after 0.0ms
After java 1.7:
2012-02-21 20:50:46 INFO [main] stendhal.java ( 157) -
Setting base at :\stendhal\
2012-02-21 20:50:46 INFO [main] stendhal.java ( 158) -
Stendhal 0.99
2012-02-21 20:50:46 INFO [main] stendhal.java ( 159) -
2012-02-21 20:50:46 INFO [main] stendhal.java ( 160) -
Logging to directory: C:\Documents and Settings\Usuario\stendhal\log/
2012-02-21 20:50:46 INFO [main] stendhal.java ( 167) - OS:
Windows XP Service Pack 3 5.1 x86
2012-02-21 20:50:46 INFO [main] stendhal.java ( 170) -
Java-Runtime: Java(TM) SE Runtime Environment 1.7.0_03-b05 from C:\Archivos
de programa\Java\jre7
2012-02-21 20:50:46 INFO [main] stendhal.java ( 173) -
Java-VM: Oracle Corporation Java HotSpot(TM) Client VM 22.1-b02
2012-02-21 20:51:06 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 195) - initializing sound system
2012-02-21 20:51:06 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Realtek AC97 Audio - Direct Audio Device:
DirectSound Playback (0)
2012-02-21 20:51:06 INFO [AWT-EventQueue-0] SoundManagerNG.java
( 200) - available device: Controlador primario de sonido - Direct Audio
Device: DirectSound Playback (0)
2012-02-21 20:51:06 INFO [AWT-EventQueue-0] SoundSystemNG.java
( 555) - opening sound system with line
"com.sun.media.sound.DirectAudioDevice$DirectSDL@..." and audio format
"PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian"
2012-02-21 20:51:24 INFO [Game loop] j2DClient.java ( 615)
- Request logout
2012-02-21 20:51:24 INFO [Game loop] SoundSystemNG.java ( 377)
- stopping sound system after 0.0ms
The changes you mention also appear in my logs.
However, what is this about:
2012-02-21 19:01:05 WARN [Game loop] Logger.java ( 208) - Missing base
object for modified added RPObject with id RPObject.ID [id=3061
zoneid=0_ados_mountain_n2_w2]
greetings,
Osl
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3490202&group_id=1111
|