* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-07-09 19:37 noreply
0 siblings, 0 replies; 12+ messages in thread
From: noreply @ 2004-07-09 19:37 UTC (permalink / raw)
To: alsa-devel
The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000373
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Bug ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 07-09-2004 21:37 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
Bug History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Bug
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
======================================================================
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-07-09 19:46 noreply
0 siblings, 0 replies; 12+ messages in thread
From: noreply @ 2004-07-09 19:46 UTC (permalink / raw)
To: alsa-devel
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000373
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Bug ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 07-09-2004 21:46 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
damage - 07-09-2004 21:46 CEST
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
Bug History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Bug
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Bugnote Added: 0001396
======================================================================
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-07-10 22:04 noreply
0 siblings, 0 replies; 12+ messages in thread
From: noreply @ 2004-07-10 22:04 UTC (permalink / raw)
To: alsa-devel
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000373
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Bug ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 07-11-2004 00:04 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
damage - 07-09-2004 21:46 CEST
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-2004 00:04 CEST
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
Bug History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Bug
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Bugnote Added: 0001396
07-09-04 21:50 damage Bug Monitored: damage
07-11-04 00:04 tokugawa Bugnote Added: 0001406
======================================================================
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-07-11 0:35 noreply
0 siblings, 0 replies; 12+ messages in thread
From: noreply @ 2004-07-11 0:35 UTC (permalink / raw)
To: alsa-devel
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000373
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Bug ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 07-11-2004 02:35 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
damage - 07-09-2004 21:46 CEST
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-2004 00:04 CEST
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
----------------------------------------------------------------------
damage - 07-11-2004 02:35 CEST
----------------------------------------------------------------------
I can absolutely confirm all of what tokugawa said. Deleting the music
files makes the game work with sound. Of course then there is no music in
the game and you can't play online anymore. The latter makes the game
kinda boring ;) .
Bug History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Bug
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Bugnote Added: 0001396
07-09-04 21:50 damage Bug Monitored: damage
07-11-04 00:04 tokugawa Bugnote Added: 0001406
07-11-04 02:35 damage Bugnote Added: 0001407
======================================================================
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-07-18 17:13 noreply
0 siblings, 0 replies; 12+ messages in thread
From: noreply @ 2004-07-18 17:13 UTC (permalink / raw)
To: alsa-devel
A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000373
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Bug ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 07-18-2004 19:13 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
damage - 07-09-2004 21:46 CEST
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-2004 00:04 CEST
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
----------------------------------------------------------------------
damage - 07-11-2004 02:35 CEST
----------------------------------------------------------------------
I can absolutely confirm all of what tokugawa said. Deleting the music
files makes the game work with sound. Of course then there is no music in
the game and you can't play online anymore. The latter makes the game
kinda boring ;) .
----------------------------------------------------------------------
damage - 07-18-2004 19:13 CEST
----------------------------------------------------------------------
Does anybody have a tip on how to debug this? I tried several things, like
getting an strace, and running it in gdb, but neither was really helpful
at locating the reason for the freeze (at least for me). The strace looks
nearly identical when running with and without music. gdb doesn't tell me
much as I get either a _really_ big list when I want a backtrace after
interrupting the frozen game, or there is nothing at all in the backtrace.
Seems to depend on the time I interrupt the process.
Perhaps a debugging statement somewhere in the ALSA source could help?
Bug History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Bug
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Bugnote Added: 0001396
07-09-04 21:50 damage Bug Monitored: damage
07-11-04 00:04 tokugawa Bugnote Added: 0001406
07-11-04 02:35 damage Bugnote Added: 0001407
07-18-04 19:13 damage Bugnote Added: 0001459
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2004-10-26 22:37 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2004-10-26 22:37 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: new
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 10-27-2004 00:37 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
Deelight - 07-26-04 16:20
----------------------------------------------------------------------
Using kernel 2.6.7, i have a similar problem :
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp0: Input/output error
Could not mmap /dev/dsp0
After typing :
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get :
------- sound initialization -------
/dev/dsp0: Invalid argument
Could not set /dev/dsp0 to stereo=1------------------------------------
----------------------------------------------------------------------
badbunny - 10-27-04 00:37
----------------------------------------------------------------------
Have you tried seting the dxs_support options yet. In modprobe.conf try
adding
"options via82xx dxs_support=4".
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2005-04-09 14:42 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2005-04-09 14:42 UTC (permalink / raw)
To: alsa-devel
The following issue has been ACKNOWLEDGED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 04-09-2005 16:42 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
damage - 07-09-04 21:46
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-04 00:04
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
----------------------------------------------------------------------
damage - 07-11-04 02:35
----------------------------------------------------------------------
I can absolutely confirm all of what tokugawa said. Deleting the music
files makes the game work with sound. Of course then there is no music in
the game and you can't play online anymore. The latter makes the game
kinda boring ;) .
----------------------------------------------------------------------
damage - 07-18-04 19:13
----------------------------------------------------------------------
Does anybody have a tip on how to debug this? I tried several things, like
getting an strace, and running it in gdb, but neither was really helpful
at locating the reason for the freeze (at least for me). The strace looks
nearly identical when running with and without music. gdb doesn't tell me
much as I get either a _really_ big list when I want a backtrace after
interrupting the frozen game, or there is nothing at all in the backtrace.
Seems to depend on the time I interrupt the process.
Perhaps a debugging statement somewhere in the ALSA source could help?
----------------------------------------------------------------------
Deelight - 07-26-04 16:20
----------------------------------------------------------------------
Using kernel 2.6.7, i have a similar problem :
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp0: Input/output error
Could not mmap /dev/dsp0
After typing :
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get :
------- sound initialization -------
/dev/dsp0: Invalid argument
Could not set /dev/dsp0 to stereo=1------------------------------------
----------------------------------------------------------------------
badbunny - 10-27-04 00:37
----------------------------------------------------------------------
Have you tried seting the dxs_support options yet. In modprobe.conf try
adding
"options via82xx dxs_support=4".
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2005-05-29 6:07 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2005-05-29 6:07 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 05-29-2005 08:07 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
badbunny - 10-27-04 00:37
----------------------------------------------------------------------
Have you tried seting the dxs_support options yet. In modprobe.conf try
adding
"options via82xx dxs_support=4".
----------------------------------------------------------------------
Xero - 05-29-05 08:07
----------------------------------------------------------------------
seems like this bug has been sitting open a little while. I have noticed
similar myself and think I've tracked down just what is going on.
Basically, when quake3 converts to a rate that isn't a multiple of it's
native rate of 22050, it freezes when it plays certain sounds. So, for
example, quake3 +set sndspeed 44100 with a card that supports 44100 will
work just fine. However, change that value to 48000 and it'll freeze on
certain sounds. I've experimented a bit and found that even higher rates
such as say, 88200, will work fine, and 96000 won't. So I actually believe
this is a problem with quake3, not alsa.
I believe the above mentioned via card only runs at 48000, or it did at
one point, and thus this issue was probably unavoidable.
this patch dated 4/11/05 makes me think those with that card will probably
be able to get this working fine now simply by running at a rate that's
multiple of 22050:
http://www.alsa-project.org/alsa/ftp/kernel-patches/mm/3111.patch
I like to run my card at 96000 and that is how I noticed this problem...I
just wish AOSS worked better with quake3 so I could avoid all of
this...Also, that quake3.x86 0 0 direct thing that is always being used I
find isn't necessary as long as you specify the appropriate sndspeed, at
least in my case. For now I've settled at running my card at 88200...as
this also fixes an issue with beep/xmms, dmix, and distortion, again
related to rate conversion...
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
05-29-05 08:07 Xero Note Added: 0004780
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2005-06-01 15:41 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2005-06-01 15:41 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 06-01-2005 17:41 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
Xero - 05-29-05 08:07
----------------------------------------------------------------------
seems like this bug has been sitting open a little while. I have noticed
similar myself and think I've tracked down just what is going on.
Basically, when quake3 converts to a rate that isn't a multiple of it's
native rate of 22050, it freezes when it plays certain sounds. So, for
example, quake3 +set sndspeed 44100 with a card that supports 44100 will
work just fine. However, change that value to 48000 and it'll freeze on
certain sounds. I've experimented a bit and found that even higher rates
such as say, 88200, will work fine, and 96000 won't. So I actually believe
this is a problem with quake3, not alsa.
I believe the above mentioned via card only runs at 48000, or it did at
one point, and thus this issue was probably unavoidable.
this patch dated 4/11/05 makes me think those with that card will probably
be able to get this working fine now simply by running at a rate that's
multiple of 22050:
http://www.alsa-project.org/alsa/ftp/kernel-patches/mm/3111.patch
I like to run my card at 96000 and that is how I noticed this problem...I
just wish AOSS worked better with quake3 so I could avoid all of
this...Also, that quake3.x86 0 0 direct thing that is always being used I
find isn't necessary as long as you specify the appropriate sndspeed, at
least in my case. For now I've settled at running my card at 88200...as
this also fixes an issue with beep/xmms, dmix, and distortion, again
related to rate conversion...
----------------------------------------------------------------------
tiwai - 06-01-05 17:41
----------------------------------------------------------------------
Check the kernel message whether via82xx informs about dxs_support option.
If you don't see it, the proper dxs_support value is already defined in
the driver. Otherwise, you'll need to set it manually.
In most cases, dxs_support=4 (5 is better in 1.0.9 release) should work.
With the old boards, you might need to set 1, but this must be rare.
Once you set dxs_support=1, 4, or 5, this sample rate problem won't happen
any more.
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
05-29-05 08:07 Xero Note Added: 0004780
06-01-05 17:41 tiwai Note Added: 0004864
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2005-06-01 18:38 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2005-06-01 18:38 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 06-01-2005 20:38 CEST
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
----------------------------------------------------------------------
tiwai - 06-01-05 17:41
----------------------------------------------------------------------
Check the kernel message whether via82xx informs about dxs_support option.
If you don't see it, the proper dxs_support value is already defined in
the driver. Otherwise, you'll need to set it manually.
In most cases, dxs_support=4 (5 is better in 1.0.9 release) should work.
With the old boards, you might need to set 1, but this must be rare.
Once you set dxs_support=1, 4, or 5, this sample rate problem won't happen
any more.
----------------------------------------------------------------------
Xero - 06-01-05 20:38
----------------------------------------------------------------------
I don't have a via card, that solution just lets via cards work with sample
rates other than 48khz, thus working around this issue, but not actually
fixing it, as it's an issue with quake's resampling...
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
05-29-05 08:07 Xero Note Added: 0004780
06-01-05 17:41 tiwai Note Added: 0004864
06-01-05 20:38 Xero Note Added: 0004868
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2006-01-03 11:39 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2006-01-03 11:39 UTC (permalink / raw)
To: alsa-devel
The following issue has been set as RELATED TO issue 0001076.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 01-03-2006 12:39 CET
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0001076 Can't use mmap with device
======================================================================
----------------------------------------------------------------------
damage - 07-09-04 21:46
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-04 00:04
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
----------------------------------------------------------------------
damage - 07-11-04 02:35
----------------------------------------------------------------------
I can absolutely confirm all of what tokugawa said. Deleting the music
files makes the game work with sound. Of course then there is no music in
the game and you can't play online anymore. The latter makes the game
kinda boring ;) .
----------------------------------------------------------------------
damage - 07-18-04 19:13
----------------------------------------------------------------------
Does anybody have a tip on how to debug this? I tried several things, like
getting an strace, and running it in gdb, but neither was really helpful
at locating the reason for the freeze (at least for me). The strace looks
nearly identical when running with and without music. gdb doesn't tell me
much as I get either a _really_ big list when I want a backtrace after
interrupting the frozen game, or there is nothing at all in the backtrace.
Seems to depend on the time I interrupt the process.
Perhaps a debugging statement somewhere in the ALSA source could help?
----------------------------------------------------------------------
Deelight - 07-26-04 16:20
----------------------------------------------------------------------
Using kernel 2.6.7, i have a similar problem :
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp0: Input/output error
Could not mmap /dev/dsp0
After typing :
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get :
------- sound initialization -------
/dev/dsp0: Invalid argument
Could not set /dev/dsp0 to stereo=1------------------------------------
----------------------------------------------------------------------
badbunny - 10-27-04 00:37
----------------------------------------------------------------------
Have you tried seting the dxs_support options yet. In modprobe.conf try
adding
"options via82xx dxs_support=4".
----------------------------------------------------------------------
Xero - 05-29-05 08:07
----------------------------------------------------------------------
seems like this bug has been sitting open a little while. I have noticed
similar myself and think I've tracked down just what is going on.
Basically, when quake3 converts to a rate that isn't a multiple of it's
native rate of 22050, it freezes when it plays certain sounds. So, for
example, quake3 +set sndspeed 44100 with a card that supports 44100 will
work just fine. However, change that value to 48000 and it'll freeze on
certain sounds. I've experimented a bit and found that even higher rates
such as say, 88200, will work fine, and 96000 won't. So I actually believe
this is a problem with quake3, not alsa.
I believe the above mentioned via card only runs at 48000, or it did at
one point, and thus this issue was probably unavoidable.
this patch dated 4/11/05 makes me think those with that card will probably
be able to get this working fine now simply by running at a rate that's
multiple of 22050:
http://www.alsa-project.org/alsa/ftp/kernel-patches/mm/3111.patch
I like to run my card at 96000 and that is how I noticed this problem...I
just wish AOSS worked better with quake3 so I could avoid all of
this...Also, that quake3.x86 0 0 direct thing that is always being used I
find isn't necessary as long as you specify the appropriate sndspeed, at
least in my case. For now I've settled at running my card at 88200...as
this also fixes an issue with beep/xmms, dmix, and distortion, again
related to rate conversion...
----------------------------------------------------------------------
tiwai - 06-01-05 17:41
----------------------------------------------------------------------
Check the kernel message whether via82xx informs about dxs_support option.
If you don't see it, the proper dxs_support value is already defined in
the driver. Otherwise, you'll need to set it manually.
In most cases, dxs_support=4 (5 is better in 1.0.9 release) should work.
With the old boards, you might need to set 1, but this must be rare.
Once you set dxs_support=1, 4, or 5, this sample rate problem won't happen
any more.
----------------------------------------------------------------------
Xero - 06-01-05 20:38
----------------------------------------------------------------------
I don't have a via card, that solution just lets via cards work with sample
rates other than 48khz, thus working around this issue, but not actually
fixing it, as it's an issue with quake's resampling...
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
05-29-05 08:07 Xero Note Added: 0004780
06-01-05 17:41 tiwai Note Added: 0004864
06-01-05 20:38 Xero Note Added: 0004868
01-03-06 12:39 perex Relationship added related to 0001076
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* [ALSA - driver 0000373]: Sound in Quake 3 does not work
@ 2006-01-03 11:41 bugtrack
0 siblings, 0 replies; 12+ messages in thread
From: bugtrack @ 2006-01-03 11:41 UTC (permalink / raw)
To: alsa-devel
The following issue has been set as RELATED TO issue 0001188.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=373>
======================================================================
Reported By: damage
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 373
Category: PCI - via82xx
Reproducibility: always
Severity: major
Priority: normal
Status: acknowledged
Distribution: Suse Linux 9.1
Kernel Version: 2.6.5-7.95-default
======================================================================
Date Submitted: 07-09-2004 21:37 CEST
Last Modified: 01-03-2006 12:41 CET
======================================================================
Summary: Sound in Quake 3 does not work
Description:
I already tried several things to get sound working in Quake 3. It doesn't
work. Sound in other applications, such as xmms, works without problems.
My System: SUSE Linux 9.1 Pro 64bit, MSI K8T Neo FIS2R, Athlon 64 3200,
1GB
RAM, VIA 8237 on board sound
I tried it with the ALSA version that comes with the Default Suse Kernel,
then
with version 1.05a and at the moment I've installed a version from CVS two
days ago. I loaded the alsa module with dxs_support 0 to 4, that didn't
resolve the issue.
Without changing anything in the ALSA configuration Quake 3 starts and the
game runs without problems, but there is no sound. The following error
message is displayed when Quake 3 starts.
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp: Input/output error
Could not mmap /dev/dsp
------------------------------------
Enabling direct access to the OSS playback device and disabling the OSS
capture device with
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process.
I also tried the user space ALSA OSS wrapper library. With this library I
only
get some crackling noises in the menu and in the game.
With xrun_debug 1 I get a few of the following messages (at least with the
actually installed drivers from CVS) in the system log. These messages are
also there when I run other applications than Quake 3.
Jul 8 19:07:48 mordor kernel: ALSA sound/core/pcm_lib.c:199: Unexpected
hw_pointer value [1] (stream = 0, delta: -1024, max jitter = 8192): wrong
interrupt acknowledge?
Jul 8 19:07:48 mordor kernel: ALSA sound/pci/via82xx.c:731: invalid
via82xx_cur_ptr, using last valid pointer
Jul 8 19:08:00 mordor last message repeated 194 times
I don't know whether that has something to do with the problem.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0001076 Can't use mmap with device
related to 0001188 quake3 crashes, capture not working
======================================================================
----------------------------------------------------------------------
damage - 07-09-04 21:46
----------------------------------------------------------------------
I did some minor corrections to the uploaded file and uploaded it a second
time, as the comments were wrong.
This bug seems to be related to the following bugs which are filed for
other sound cards:
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000254
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000015
----------------------------------------------------------------------
tokugawa - 07-11-04 00:04
----------------------------------------------------------------------
"I get sound in the Quake 3 menu, but as soon as I enter a map the game
hangs
and the only way to get back to X is to kill the process."
Hi, the same here... i'm going on vacation right now, so i can't help
much... but:
1) open the pk3 (like baseq3/pak0.pk3) files (these are zip)
2) move from them music dir to some other (so q3 will not found them)
3) run q3
4) tada!! qukae3 works, music hangs the game, without it game works
5) But there are no 'turn off music' in quake3 (music volume option don't
work... hangs are happen even if you turn down music completly in
options), so I just deleted music dirs from my pk3's. (just run zip -vd
pak0.pk3 'music/*' )
Heh... but you can't play online, because you have a hacked pk3 files...,
so we have to wait for a real fix
I'm hope that will help in bug hunting. If you can, please confirm that
behaviour.
----------------------------------------------------------------------
damage - 07-11-04 02:35
----------------------------------------------------------------------
I can absolutely confirm all of what tokugawa said. Deleting the music
files makes the game work with sound. Of course then there is no music in
the game and you can't play online anymore. The latter makes the game
kinda boring ;) .
----------------------------------------------------------------------
damage - 07-18-04 19:13
----------------------------------------------------------------------
Does anybody have a tip on how to debug this? I tried several things, like
getting an strace, and running it in gdb, but neither was really helpful
at locating the reason for the freeze (at least for me). The strace looks
nearly identical when running with and without music. gdb doesn't tell me
much as I get either a _really_ big list when I want a backtrace after
interrupting the frozen game, or there is nothing at all in the backtrace.
Seems to depend on the time I interrupt the process.
Perhaps a debugging statement somewhere in the ALSA source could help?
----------------------------------------------------------------------
Deelight - 07-26-04 16:20
----------------------------------------------------------------------
Using kernel 2.6.7, i have a similar problem :
------- sound initialization -------
Could not mmap dma buffer PROT_WRITE|PROT_READ
trying mmap PROT_WRITE (with associated better compatibility / less
performance code)
/dev/dsp0: Input/output error
Could not mmap /dev/dsp0
After typing :
echo "quake3.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "quake3.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
I get :
------- sound initialization -------
/dev/dsp0: Invalid argument
Could not set /dev/dsp0 to stereo=1------------------------------------
----------------------------------------------------------------------
badbunny - 10-27-04 00:37
----------------------------------------------------------------------
Have you tried seting the dxs_support options yet. In modprobe.conf try
adding
"options via82xx dxs_support=4".
----------------------------------------------------------------------
Xero - 05-29-05 08:07
----------------------------------------------------------------------
seems like this bug has been sitting open a little while. I have noticed
similar myself and think I've tracked down just what is going on.
Basically, when quake3 converts to a rate that isn't a multiple of it's
native rate of 22050, it freezes when it plays certain sounds. So, for
example, quake3 +set sndspeed 44100 with a card that supports 44100 will
work just fine. However, change that value to 48000 and it'll freeze on
certain sounds. I've experimented a bit and found that even higher rates
such as say, 88200, will work fine, and 96000 won't. So I actually believe
this is a problem with quake3, not alsa.
I believe the above mentioned via card only runs at 48000, or it did at
one point, and thus this issue was probably unavoidable.
this patch dated 4/11/05 makes me think those with that card will probably
be able to get this working fine now simply by running at a rate that's
multiple of 22050:
http://www.alsa-project.org/alsa/ftp/kernel-patches/mm/3111.patch
I like to run my card at 96000 and that is how I noticed this problem...I
just wish AOSS worked better with quake3 so I could avoid all of
this...Also, that quake3.x86 0 0 direct thing that is always being used I
find isn't necessary as long as you specify the appropriate sndspeed, at
least in my case. For now I've settled at running my card at 88200...as
this also fixes an issue with beep/xmms, dmix, and distortion, again
related to rate conversion...
----------------------------------------------------------------------
tiwai - 06-01-05 17:41
----------------------------------------------------------------------
Check the kernel message whether via82xx informs about dxs_support option.
If you don't see it, the proper dxs_support value is already defined in
the driver. Otherwise, you'll need to set it manually.
In most cases, dxs_support=4 (5 is better in 1.0.9 release) should work.
With the old boards, you might need to set 1, but this must be rare.
Once you set dxs_support=1, 4, or 5, this sample rate problem won't happen
any more.
----------------------------------------------------------------------
Xero - 06-01-05 20:38
----------------------------------------------------------------------
I don't have a via card, that solution just lets via cards work with sample
rates other than 48khz, thus working around this issue, but not actually
fixing it, as it's an issue with quake's resampling...
Issue History
Date Modified Username Field Change
======================================================================
07-09-04 21:37 damage New Issue
07-09-04 21:37 damage File Added: alsa_q3_debug.txt
07-09-04 21:37 damage Distribution => Suse Linux 9.1
07-09-04 21:37 damage Kernel Version => 2.6.5-7.95-default
07-09-04 21:41 damage File Added: alsa_q3_debug.txt
07-09-04 21:46 damage Note Added: 0001396
07-09-04 21:50 damage Issue Monitored: damage
07-11-04 00:04 tokugawa Note Added: 0001406
07-11-04 02:35 damage Note Added: 0001407
07-18-04 19:13 damage Note Added: 0001459
07-26-04 16:20 Deelight Note Added: 0001474
10-27-04 00:37 badbunny Note Added: 0002268
04-09-05 16:42 jdthood Status new => acknowledged
04-09-05 16:42 jdthood Description Updated
04-09-05 16:42 jdthood Additional Information Updated
05-29-05 08:07 Xero Note Added: 0004780
06-01-05 17:41 tiwai Note Added: 0004864
06-01-05 20:38 Xero Note Added: 0004868
01-03-06 12:39 perex Relationship added related to 0001076
01-03-06 12:41 perex Relationship added related to 0001188
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-01-03 11:41 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-03 11:41 [ALSA - driver 0000373]: Sound in Quake 3 does not work bugtrack
-- strict thread matches above, loose matches on Subject: below --
2006-01-03 11:39 bugtrack
2005-06-01 18:38 bugtrack
2005-06-01 15:41 bugtrack
2005-05-29 6:07 bugtrack
2005-04-09 14:42 bugtrack
2004-10-26 22:37 bugtrack
2004-07-18 17:13 noreply
2004-07-11 0:35 noreply
2004-07-10 22:04 noreply
2004-07-09 19:46 noreply
2004-07-09 19:37 noreply
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox