Opened 8 years ago

Last modified 8 years ago

#6988 new bug

System speaker remains active with audio file playback ICH6

Reported by: Meanwhile Owned by: korli
Priority: normal Milestone: R1
Component: Drivers/Audio/auich Version: R1/Development
Keywords: MediaPlayer, system speaker Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

On hrev39848, when playing an audio file with headphones plugged in, the system speaker's also transmitting sound from the file. When fiddling with the settings, I tried switching off real-time audio, after which MediaPlayer nor system speaker made a sound when playing an audio file. Switching back on didn't help, nor did rebooting. Before this rebooting, MediaPlayer crashed (see attachment). Also attached is a listdev.

Attachments (2)

listdev (2.7 KB) - added by Meanwhile 8 years ago.
listdev
MPcrashonsystemshutdown (3.3 KB) - added by Meanwhile 8 years ago.
MediaPlayer crashing

Download all attachments as: .zip

Change History (13)

Changed 8 years ago by Meanwhile

Attachment: listdev added

listdev

Changed 8 years ago by Meanwhile

Attachment: MPcrashonsystemshutdown added

MediaPlayer crashing

comment:1 Changed 8 years ago by stargatefan

Remove the native audio drivers from the drivers folder. Then try installing Opensound via optional packages from terminal. That intel chipset is a funny guy with the native AUICH driver. I have the same one in my laptop and it doesn;t work with the native drivers either.

comment:2 Changed 8 years ago by Meanwhile

Thanks, I'll try. But to prevent removing too much, could you tell me which specific files to remove?
I'm clueless there...

comment:3 Changed 8 years ago by diver

Version: R1/alpha2R1/Development

It's /system/add-ons/kernel/drivers/bin/auich.
AFAIK Real-time audio/video settings are not implemented and even may be removed in the future.

comment:4 Changed 8 years ago by diver

Component: Audio & VideoDrivers/Audio
Owner: changed from nobody to korli

There already is #1955 with the same back trace. BTW there is no AUICH component in Trac.

comment:5 Changed 8 years ago by Meanwhile

Summary: Various audio issues (maybe related)System speaker remains active with audio file playback

Okay thanks, Opensound is installed now. MediaPlayer doesn't crash anymore after changing the real-time audio setting (it plays in either setting), but the system speaker still can't be shut down; it plays along with MediaPlayer (and Aplayer), with or without headphones/speakers plugged in. Hope it's okay if I change the ticket title then?

BTW, I've found no settings in BIOS or Haiku's Media prefs to deal with this.

comment:6 in reply to:  5 Changed 8 years ago by stargatefan

Replying to Meanwhile:

Okay thanks, Opensound is installed now. MediaPlayer doesn't crash anymore after changing the real-time audio setting (it plays in either setting), but the system speaker still can't be shut down; it plays along with MediaPlayer (and Aplayer), with or without headphones/speakers plugged in. Hope it's okay if I change the ticket title then?

BTW, I've found no settings in BIOS or Haiku's Media prefs to deal with this.

in the media prefrences, there are some mixer settings. go into the mixer settings. I confirm that the intel mixer functions work OK with the opensound drivers on this revision. I checked on my laptop today before posting this.

in the mixer panel you can check and uncheck each output, also in the primary panel where you select the driver. You can select your output. Thats works as well.

Also mute works on all the mixer channels.

can you post a screen shot of where you are attempting to kill the sound from ?

Last edited 8 years ago by stargatefan (previous) (diff)

comment:7 Changed 8 years ago by Meanwhile

In Media preferences, these are listed:

  • Audio Settings
  • Audio mixer
  • Intel ICH6 (266E)

Starting from the top (Audio Settings), there's one Audio output to select: Intel ICH6 (266E).
I tried all nine channels from the Channel dropdown menu, to no avail.

The second one (Audio Mixer) has (under the 'Gain controls' tab) only 'Master output', but also shows 'MediaPlayer audio out', as long as MediaPlayer is running.

Each has a slider and a Mute checkbox. The Mute checkboxes however don't mute my system speaker separately from headphone or speaker sound. They just mute all.

Then the third one from the list above (probably irrelevant).
It has sliders for vol, pcm, speaker, line, mic, cd, igain, aux1, phone, mono, video, vmix0pcm1, vmix0pcm2, vmix0pcm3, vmix0pcm4, vmix0pcm5, vmix0pcm6, vmix0pcm7, vmix0pcm8.
The vmix0pcm series have no checkbox.
From the other ones, pcm, speaker and igain have no checkbox.

Audio mixer's choices can be extended with output mapping and input mapping, but (de)selecting items from there doesn't lead to result.

Jus let me know if you still want screenshots after this.

comment:8 in reply to:  7 ; Changed 8 years ago by stargatefan

Replying to Meanwhile:

In Media preferences, these are listed:

  • Audio Settings
  • Audio mixer
  • Intel ICH6 (266E)

Starting from the top (Audio Settings), there's one Audio output to select: Intel ICH6 (266E).
I tried all nine channels from the Channel dropdown menu, to no avail.

The second one (Audio Mixer) has (under the 'Gain controls' tab) only 'Master output', but also shows 'MediaPlayer audio out', as long as MediaPlayer is running.

Each has a slider and a Mute checkbox. The Mute checkboxes however don't mute my system speaker separately from headphone or speaker sound. They just mute all.

Then the third one from the list above (probably irrelevant).
It has sliders for vol, pcm, speaker, line, mic, cd, igain, aux1, phone, mono, video, vmix0pcm1, vmix0pcm2, vmix0pcm3, vmix0pcm4, vmix0pcm5, vmix0pcm6, vmix0pcm7, vmix0pcm8.
The vmix0pcm series have no checkbox.
From the other ones, pcm, speaker and igain have no checkbox.

Audio mixer's choices can be extended with output mapping and input mapping, but (de)selecting items from there doesn't lead to result.

Jus let me know if you still want screenshots after this.

what model of laptop is this ? and do you know what motherboard revision is involved, what behaviors do you get on another OS say windows where the audio is well supported ?

It would help in diagnosing the problem. you do get sound now however correct ?this could be a hardware design issue.

here is the chipset pdf. I am trying to see how many audio layouts one could generate with such a chip. its likely the output may all be internally connected and there is additional control implementation on the chipset to configure which audio circuts are active.

thats the datasheet

http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fwww.intel.com%2FAssets%2FPDF%2Fdatasheet%2F301473.pdf&rct=j&q=Intel%20ICH6%20&ei=gDIMTdbeBs2jnQfErLH5DQ&usg=AFQjCNEOj7nJSrVbp9O3mdF5Bx-mHoTqMw

white paper briefing describing chip capabilitys.

http://www.google.com/url?sa=t&source=web&cd=2&ved=0CBgQFjAB&url=http%3A%2F%2Fwww3.intel.com%2FAssets%2FPDF%2Fappnote%2F301462.pdf&rct=j&q=Intel%20ICH6%20&ei=gDIMTdbeBs2jnQfErLH5DQ&usg=AFQjCNEaZKLrD1FuqiWAUR8X5_XJQMTH1g

its entirely possiable depending on how the implemented certain features on teh chip that the oss driver doesn't fully support your MB layout.

comment:9 in reply to:  8 Changed 8 years ago by Meanwhile

Replying to stargatefan:

what model of laptop is this ? and do you know what motherboard revision is involved, what behaviors do you get on another OS say windows where the audio is well supported ?

It's desktop PC, a Dell Optiplex GX280. Can the motherboard revision be read from the BIOS Serial number? Maybe it's printed on the motherboard? The same PC also runs Windows XP (my HDD has a Windows and a Haiku partition), and XP behaves as it should in this respect. Maybe you know a place inside Windows XP that shows the rev. number to the user?

It would help in diagnosing the problem. you do get sound now however correct ?this could be a hardware design issue.

Yes, I get sound, but the system speaker joins in on it.

here is the chipset pdf. I am trying to see how many audio layouts one could generate with such a chip. its likely the output may all be internally connected and there is additional control implementation on the chipset to configure which audio circuts are active.

thats the datasheet

http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBMQFjAA&url=http%3A%2F%2Fwww.intel.com%2FAssets%2FPDF%2Fdatasheet%2F301473.pdf&rct=j&q=Intel%20ICH6%20&ei=gDIMTdbeBs2jnQfErLH5DQ&usg=AFQjCNEOj7nJSrVbp9O3mdF5Bx-mHoTqMw

white paper briefing describing chip capabilitys.

http://www.google.com/url?sa=t&source=web&cd=2&ved=0CBgQFjAB&url=http%3A%2F%2Fwww3.intel.com%2FAssets%2FPDF%2Fappnote%2F301462.pdf&rct=j&q=Intel%20ICH6%20&ei=gDIMTdbeBs2jnQfErLH5DQ&usg=AFQjCNEaZKLrD1FuqiWAUR8X5_XJQMTH1g

its entirely possiable depending on how the implemented certain features on teh chip that the oss driver doesn't fully support your MB layout.

I didn't have this problem in an earlier Haiku revision (I'm pretty sure hrev38360 was okay). Also, the problem manifested itself before I removed the native auich driver and switched to OSS.

To sum up: I once ran a Haiku revision using the auich driver with no problem (pretty sure that's hrev38360).
Then, a later Haiku revision (that used the auich driver) had this problem.
After that, removing the auich driver and installing the OSS one didn't remove the problem.

So it seems to me it's not an OSS or motherboard incompatibility problem?

Last edited 8 years ago by Meanwhile (previous) (diff)

comment:10 Changed 8 years ago by diver

Component: Drivers/AudioDrivers/Audio/AUICH

comment:11 Changed 8 years ago by diver

Summary: System speaker remains active with audio file playbackSystem speaker remains active with audio file playback ICH6
Note: See TracTickets for help on using tickets.