there is no sound in card 0 but it is the default so i need to to change to card 1 every time i login but i find a way to fix it i describe it in the end of the reply.Ahau wrote:@ramine, thanks, I will take a look. It may be a kernel config issue with your sound driver being compiled into the kernel instead of as a module. What's the brand/model of your card?
this is from porteus system info:
SOUND CARDS:
HDA-Intel - HD-Audio Generic
HDA-Intel - HDA ATI SB
Advanced Micro Devices, Inc. [AMD/ATI] Wrestler HDMI Audio
Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: CX20588 Analog [CX20588 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
and this is from alsamixer:
for card 0:
Card: HD-Audio Generic
Chip: ATI R6xx HDMI
for card 1:
Card: HDA ATI SB
Chip: Conexant CX20588
i think there is a problem because xscreensaver-command doesn't exist in the system please give me some details.fanthom wrote:@ramine
"when i play a video in mplayer i see that message in terminal window:
sh: xscreensaver-command: command not found
and i go to the mplayer config file i see that line and i think it's connected to that message:
heartbeat-cmd="xscreensaver-command -deactivate &" # stop xscreensaver"
will comment out these by default
this video codecs are used only if the video output set to vdpau(vo=vdpau).fanthom wrote: "i want another thing to add this 2 lines to the config file it's for user have nvida or radeon graphics card:
[vo.vdpau]
vc=ffh264vdpau,ffvc1vdpau,ffodivxvdpau,ffwmv3vdpau,ffmpeg12vdpau,"
cant as it breaks video on non vdpau enabled PCs
i don't find asound.conf in /etc do you mean asound.state or i need to create a new filebrokenman wrote:@ Ramine
For now try adding /etc/asound.conf with the following:
defaults.pcm.card 0
defaults.ctl.card 0
Or perhaps change to 1 if 0 doesn't work.
but as i said before if i change the line in the file /usr/share/alsa/alsa.conf:
defaults.pcm.card 0
with:
defaults.pcm.card 1.
after that the sound will work in every software except the new version of vlc 2.1.x i need to to choose HDA ATI SB.
i create a module of the modified file and put it in the module folder so every time i enter the always fresh mode it works automaticaly.