Sound problems with fglrx and netbook SOLVED

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
sci_fi
Black ninja
Black ninja
Posts: 58
Joined: 28 Dec 2010, 18:25

Sound problems with fglrx and netbook SOLVED

Post#1 by sci_fi » 06 Aug 2011, 16:41

Thanks to some handholding by fanthom I have now got an ATI driver for my Acer AO722. Details at:
( http://forum.porteus.org/viewtopic.php? ... c&start=10 )

Unfortunately, sound is still not working correctly.

I am running Porteus 1.0 64bit on an Acer Aspire One 722.

Symptoms:
KDE boot sound and audible notifications work correctly.
VLC gives an error message (cannot initialize sound card) but plays properly.
SMPlayer accesses files and seems to be playing but no sound is present.
Online players (shoutcast, youtube) think they are playing but no sound. If I direct shoutcast output through VLC, it plays properly.

I suspect there is something going on with phonon and/or PCM but don't know

As requested:

Output of cat /proc/asound/cards:
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0x90444000 irq 40
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0x90440000 irq 16

Images of alsaconf and alsamixer

Thanks to some handholding by fanthom I have now got an ATI driver for my Acer AO722. Details at:
( http://forum.porteus.org/viewtopic.php? ... c&start=10 )

Unfortunately, sound is still not working correctly.

Symptoms:
KDE boot sound and audible notifications work correctly.
VLC gives an error message (cannot initialize sound card) but plays properly.
SMPlayer accesses files and seems to be playing but no sound is present.
Online players (shoutcast, youtube) think they are playing but no sound. If I direct shoutcast output through VLC, it plays properly.

I suspect there is something going on with phonon and/or P.CM but don't know

As requested:

Output of cat /proc/asound/cards:
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0x90444000 irq 40
1 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0x90440000 irq 16

Images of alsaconf and alsamixer

http://www.mediafire.com/?2cz4xd944bj61

I am running Porteus 1.0 64bit on an Acer Aspire One 722.

Thanks for any advice.

Best regards,

sci_fi

Posted after 3 hours 59 minutes 50 seconds:
An update on this. After lengthy experimentation and internet search I have found that adding a .asoundrc file to my home directory enables proper audio playback. The contents, given below, allow all playback (smplayer, vlc, from internet) to work properly. This file works with the out of the box porteus base, without the fglrx driver being added separately, on my system at least (Acer A0-722, porteus 1.0 64 bit).

I am now struggling with getting the microphone to work, but will ask my question in an alsa thread.

Many thanks for everyone's assistance.

Best regards,

sci_fi

contents of ~\.asoundrc
###############################################3
pcm.!default {
type plug
slave.pcm "dmixer"
}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

ctl.dmixer {
type hw
card 0
}

#################################################################
Last edited by sci_fi on 06 Aug 2011, 20:21, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Sound problems with fglrx and netbook

Post#2 by fanthom » 06 Aug 2011, 18:04

@sci_fi
good that it's working for you :)

for future reference: the best method in dealing with priority for 2 (or more) sound cards would be to use asoundconf package from AUR (Arch User Repository)
http://aur.archlinux.org/packages/asoun ... onf.tar.gz
download it and unpack, then edit 'asoundconf' and change first line from
#!/usr/bin/python2
to
#!/usr/bin/python
you can use it with following syntax:

Code: Select all

asoundconf list
asoundconf set-default-card <one from the list>
this script gonna create .asoundrc.asoundconf config in your home directory so in case of not saving changes you need to copy it to /porteus/rootcopy/<home_dir> folder

please add [SOLVED] to the thread title.
Please add [Solved] to your thread title if the solution was found.

Post Reply