[SOLVED] OSS4 + PulseAudio - Is it possible? [I am so embarrased.]

I like the sound quality of OSS4, and for some reason it seems to be much higher on my onboard sound card than ALSAs.
However, it bugs me that I still can't always play sounds from multiple sources, e.g. if Exaile plays music, nothing else will have sound anymore. It's even worse when it comes to Flash video, such as youtube, when once the video is run, I have to entirely close Firefox if I want to hear some music from Exaile again.
Is it possible to set up PulseAudio so that it takes OSS4 as input? If so, how? If not, why?
I've seen the wikis (both Arch Wiki and PulseAudio wiki), but they both explain how to do it through ALSA.
Any ideas?
Thx in advance
Last edited by Wintershade (2009-02-27 20:34:53)

Did you tell these applications to use oss? Maybe they use Alsa as default, because Alsa is "standard"
Wintershade wrote:OK, so how do I get, say, GStreamer, Flash and some SDL game like Wolfenstein play the sound all at the same time through OSS?
I'm sorry, but after setting OSS up the way it's described in the Arch Wiki, I don't get the sound working that way.
http://wiki.archlinux.org/index.php/OSS#Flash_plugin
http://www.4front-tech.com/wiki/index.p … ozenbubble
http://www.4front-tech.com/wiki/index.p … ume_Applet (http://aur.archlinux.org/packages.php?ID=17024)
Please try that!!

Similar Messages

  • I brought iphone 5s to local i centre in Armenia, they opened the phone and said that they can't solve the problem, is it possible to send it to US for repair ?

    I brought iphone 5s to local i centre in Armenia, they opened the phone and said that they can't solve the problem, is it possible to send it to US for repair ?

    If some unauthorized shop opened the iPhone and attempted a repair, then Apple will no longer touch the iPhone. If they didn't attempt repairs, then Apple might be willing to service it, but only in the country in which the iPhone was originally sold. If that was in the US, then you will need to take the iPhone there yourself, or you will need to send the iPhone to someone you know in the US who can take or send it to Apple for service and then send it back to you. Apple will not accept shipments from outside the country.
    Regards.

  • [SOLVED]MPD, PulseAudio & Systemd/User

    Since the advent of skype 4.3 I've had to switch to using pulseaudio. Things seems to be working fine except for the interaction between pulseaudio and mpd. My goal is to attain the same functionality as I had before when I was just using alsa. The main problem seems to be that the mpd daemon starts before pulseaudio. This means that when I reboot, for example, my music doesn't automatically keep playing. However if I toggle mpc (or open ncmpcpp and unpause) then it works fine.
    What I have done
    1) I installed mpd using the script found on the wiki
    1a) copied ~/.config/mpd/mpd.conf to /etc/mpd.conf and uncomment #user line so it runs as my user
    1b) enabled the mpd service with systemctl so it starts on boot, as directed to from 1)
    2) Applied the workaround detailed here to make pulseaudio play nice with mpd
    From what I can understand this results in the mpd daemon using the /etc/mpd.conf file which mirrors my local one (but I think the process is still started as root?)
    If I don't do 2) then I get a problem where if I try to open pavucontrol I get an error saying I'm unable to connect and the system feels very unresponsive. Two second delays navigating around in thunar for example.
    fuser /dev/snd/* outputs
    » sudo fuser /dev/snd/*
    /dev/snd/controlC0: 440
    /dev/snd/controlC1: 440
    /dev/snd/pcmC0D0p: 440m
    » ps aux | grep 440
    quiv 440 1.2 0.1 495964 13248 ? Sl 15:16 0:05 /usr/bin/pulseaudio --start --log-target=syslog
    quiv 2259 0.0 0.0 11668 2296 pts/0 S+ 15:23 0:00 grep --color=auto 440
    For now I have added in
    if grep -q "state: pause" /home/quiv/.config/mpd/state; then
    mpc toggle
    fi
    to my ~/.xinitrc as a work around to get pulse and mpd to work together properly. However it doesn't seem to work all the time. If I leave my music playing then when I reboot the system with reboot it seems that somtimes the state is being saved as paused, and other times as play. I suppose I could just mpc toggle without checking, but I don't want a situation where if I happen to not be playing music that every time I reboot my music starts playing.
    Other things I have tried are;
    A) not using pulseaudio with mpd.
    B) not using systemd to manage mpd. Instead I manually started it in .xinitrc and pointed it to my ~/.config/mpd/mpd.conf file. I believe this means it runs as my own user instead of as root. When I did this I commented the username line and also undid 2) from above in ~/.config/mpd/mpd.conf
    The problem with A) is that if I use alsa with mpd, mpd hogs my soundcard. My card becomes unselectable in pavucontrol and I cannot use it with pulseaudio., meanng no skype. The benefit of doing this (this is how I used to do it before I needed pulseaudio) is I have no problems with mpd's state being saved incorrectly.
    The problem with B) is the mpdstate is saved incorrectly when for example I issue reboot. I can reproduce this by changing my currently played song then rebooting. When I boot back up mpd resumes playback from the previous session instead of recognizing the last thing I was playing. I had a search around on the forums and I found this issue which seems to describe what is happening. There doesn't seem to be a solution there instead a suggestion to user systemd (which I would like to do!) instead to manage mpd. Rasi's post details a unit file but I'm unsure what to do with this.
    Looking at the wiki it seems like maybe I am supposed to provide this file so that it overwrites the default mpd.service unit. So I followed the steps listed there. First I created the directory /etc/systemd/system/mpd.d/ then made the user.conf file inside. I tried just putting the additional arguments in
    [Service]
    User=YOUR_USER
    PAMName=system-local-login
    I also remember trying to overwrite the entire [Service] section of the original by using
    [Service]
    User=YOUR_USER
    PAMName=system-local-login
    ExecStart=
    ExecStart=/usr/bin/mpd --no-daemon
    because I think just adding the addtional parameters might not have worked. But I'm not sure on this point, maybe both ways worked. This seemed to work but I had the same problem as above. The state was still being saved incorrectly sometimes when I rebooted. I would get a previous session instead of the most recent change. So I tried the other method for overwriting systemd unit files and made the file /etc/systemd/system/mpd.service in which I pasted Rasi's entire unit file. This also seemed to work, but still the incorrect state problem happened.
    At this point I didn't know what to try. It seemed like the only option left was to set up mpd using a local configuration and setting up a systemd/User session and managing it that way. The wiki indiciated that if I did it this way I would not have to use the method 2) above. However I was/still am hesistant about doing this. I'm new to arch and the systemd/User wiki page seems very intimidating. I worry that I will create problems that I won't understand how to solve using this method just for the chance that mpd will function correclty with pulse. However I seemed to have exhausted all my possible options so I thought whatever I'll try it anyway! I'm certain I probably haven't done it right however.
    So once again I turned to the wiki to help me with setting this up. However I can't make sense of the article. I don't know if I should follow ONLY the Setup since systemd 206 or if I should follow both setup sections? I decided to follow only the first section. I use no DE so I commented out the
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    line in my ~/.zprofile. When I set up my system I followed the Automatic login to virtual console. I left this file alone, but upon second thoughts maybe I should have disabled this too? I don't understand if using xlogin-git to austoart Xorg, as described in the systemd/User page, requires me to get rid of this too. I think xlogin-git just starts Xorg so automatic login via getty should be fine?
    Immediately when I boot in using systemd to manage my session I notice that there are problems. I don't think my environment variables are being sourced from .zshenv because my panel fails to load. If I kill the panel and load it again it works. This makes me think there is something wrong with the order of units started with systemd.
    » sudo journalctl --this-boot --no-pager | grep -i panel ~
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 16: : No such file or directory
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 17: : No such file or directory
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 18: : No such file or directory
    In each instance panel is trying to do things based on $PANEL_FIFO which is exported from ~/.zshenv but it doesn't appear to be set at the time systemd starts things up. Apart from these problems, which are probably undoubtedly due to the fact I failed to set up systemd/User properly, I still have problems with mpd. The state seems to be remembered correctly now, however when I reboot I still have to toggle mpc for it to start playback. It seems to be the same problem as when I use setup detailed intially. I suspect perhaps once again there is something wrong with the order here. MPD starts before pulse so it doesn't find anything to play through, then once I issue the mpc toggle command pulse is started and all is happy.
    A final note is that I was getting this error yesterday when using systemd/User
    ● mpd.service - Music Player Daemon
    Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled)
    Active: inactive (dead)
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: "channels=2"): initialization failed.
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] main.c: Module load failed.
    Jul 05 03:13:35 lorelai systemd[1]: Stopping Music Player Daemon...
    Jul 05 03:13:35 lorelai systemd[1]: Stopped Music Player Daemon.
    but it doesn't seem to happen anymore.
    Also I have no idea if I'm even supposed to use it like this but
    » sudo systemctl --user enable mpd ~
    Failed to get D-Bus connection: Connection refused
    I tried this because I was wondering if mpd was even using the correct service when using systemd/User. I thought perhaps it just was using the one in /etc/systemd/system/ instead of /usr/lib/systemd/user/. I'm still not sure about this.
    In the end I've exhausted whatever I can think of. I'm sure I've done a lot of things wrong but I tried my best. Hopefully somebody knows what I've done wrong and can help me.
    ~/.config/mpd/mpd.conf
    # An example configuration file for MPD.
    # Read the user manual for documentation: http://www.musicpd.org/doc/user/
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "~/Music"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "~/.config/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "~/.config/mpd/database"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "~/.config/mpd/log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "~/.config/mpd/pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "~/.config/mpd/state"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    sticker_file "~/.config/mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    #user "quiv"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    bind_to_address "127.0.0.1"
    # And for Unix Socket
    bind_to_address "~/.config/mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    gapless_mp3_playback "yes"
    # Setting "restore_paused" to "yes" puts MPD into pause mode instead
    # of starting playback after startup.
    #restore_paused "no"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. The complete list of possible values can be
    # found in the mpd.conf man page.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # music_directory are changed.
    auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Database #######################################################################
    #database {
    # plugin "proxy"
    # host "other.mpd.host"
    # port "6600"
    # Input #######################################################################
    input {
    plugin "curl"
    proxy "proxy.isp.com:8080"
    proxy_user "user"
    proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # An example of an ALSA output:
    #audio_output {
    # type "alsa"
    # name "My ALSA Device"
    ## device "hw:0,0" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "PCM" # optional
    ## mixer_index "0" # optional
    audio_output {
    type "pulse"
    name "pulse audio"
    format "48000:16:2"
    ## server "127.0.0.1"
    ## sink "remote_server_sink" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## url "http://example.com" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    # An example of a winmm output (Windows multimedia API).
    #audio_output {
    # type "winmm"
    # name "My WinMM output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    # or
    ## device "0" # optional
    ## mixer_type "hardware" # optional
    # An example of an openal output.
    #audio_output {
    # type "openal"
    # name "My OpenAL output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album", "track" or "auto". "auto" is a special mode that
    # chooses between "track" and "album" depending on the current state of
    # random playback. If random playback is enabled then "track" mode is used.
    # See <http://www.replaygain.org> for more details about ReplayGain.
    # This setting is off by default.
    replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    replaygain_preamp "0"
    # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
    # By default this setting is disabled.
    #replaygain_missing_preamp "0"
    # This setting enables or disables ReplayGain limiting.
    # MPD calculates actual amplification based on the ReplayGain tags
    # and replaygain_preamp / replaygain_missing_preamp setting.
    # If replaygain_limit is enabled MPD will never amplify audio signal
    # above its original level. If replaygain_limit is disabled such amplification
    # might occur. By default this setting is enabled.
    #replaygain_limit "yes"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "4096"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    /etc/mpd.config
    # An example configuration file for MPD.
    # Read the user manual for documentation: http://www.musicpd.org/doc/user/
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "~/Music"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "~/.config/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "~/.config/mpd/database"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "~/.config/mpd/log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "~/.config/mpd/pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "~/.config/mpd/state"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    sticker_file "~/.config/mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    user "quiv"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    bind_to_address "127.0.0.1"
    # And for Unix Socket
    bind_to_address "~/.config/mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    gapless_mp3_playback "yes"
    # Setting "restore_paused" to "yes" puts MPD into pause mode instead
    # of starting playback after startup.
    #restore_paused "no"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. The complete list of possible values can be
    # found in the mpd.conf man page.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # music_directory are changed.
    auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Database #######################################################################
    #database {
    # plugin "proxy"
    # host "other.mpd.host"
    # port "6600"
    # Input #######################################################################
    input {
    plugin "curl"
    proxy "proxy.isp.com:8080"
    proxy_user "user"
    proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # An example of an ALSA output:
    #audio_output {
    # type "alsa"
    # name "My ALSA Device"
    ## device "hw:0,0" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "PCM" # optional
    ## mixer_index "0" # optional
    audio_output {
    type "pulse"
    name "pulse audio"
    format "48000:16:2"
    server "127.0.0.1"
    ## sink "remote_server_sink" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## url "http://example.com" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    # An example of a winmm output (Windows multimedia API).
    #audio_output {
    # type "winmm"
    # name "My WinMM output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    # or
    ## device "0" # optional
    ## mixer_type "hardware" # optional
    # An example of an openal output.
    #audio_output {
    # type "openal"
    # name "My OpenAL output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album", "track" or "auto". "auto" is a special mode that
    # chooses between "track" and "album" depending on the current state of
    # random playback. If random playback is enabled then "track" mode is used.
    # See <http://www.replaygain.org> for more details about ReplayGain.
    # This setting is off by default.
    replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    replaygain_preamp "0"
    # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
    # By default this setting is disabled.
    #replaygain_missing_preamp "0"
    # This setting enables or disables ReplayGain limiting.
    # MPD calculates actual amplification based on the ReplayGain tags
    # and replaygain_preamp / replaygain_missing_preamp setting.
    # If replaygain_limit is enabled MPD will never amplify audio signal
    # above its original level. If replaygain_limit is disabled such amplification
    # might occur. By default this setting is enabled.
    #replaygain_limit "yes"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "4096"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    /etc/X11/xinit/xinitrc.d/pulseaudio [not sure if I even need this?]
    #!/bin/bash
    case "$DESKTOP_SESSION" in
    gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
    # Extra checks in case DESKTOP_SESSION is not set correctly
    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
    /usr/bin/start-pulseaudio-x11
    fi
    esac
    /etc/pulse/daemon.conf
    # This file is part of PulseAudio.
    # PulseAudio is free software; you can redistribute it and/or modify
    # it under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    # USA.
    ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
    ## more information. Default values are commented out. Use either ; or # for
    ## commenting.
    ; daemonize = no
    ; fail = yes
    ; allow-module-loading = yes
    ; allow-exit = yes
    ; use-pid-file = yes
    ; system-instance = no
    ; local-server-type = user
    ; enable-shm = yes
    ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
    ; lock-memory = no
    ; cpu-limit = no
    ; high-priority = yes
    ; nice-level = -11
    ; realtime-scheduling = yes
    ; realtime-priority = 5
    exit-idle-time=0
    ; exit-idle-time = 20
    ; scache-idle-time = 20
    ; dl-search-path = (depends on architecture)
    ; load-default-script-file = yes
    ; default-script-file = /etc/pulse/default.pa
    ; log-target = auto
    log-level = error
    ; log-meta = no
    ; log-time = no
    ; log-backtrace = 0
    resample-method = speex-float-7
    ; enable-remixing = yes
    ; enable-lfe-remixing = no
    flat-volumes = no
    ; rlimit-fsize = -1
    ; rlimit-data = -1
    ; rlimit-stack = -1
    ; rlimit-core = -1
    ; rlimit-as = -1
    ; rlimit-rss = -1
    ; rlimit-nproc = -1
    ; rlimit-nofile = 256
    ; rlimit-memlock = -1
    ; rlimit-locks = -1
    ; rlimit-sigpending = -1
    ; rlimit-msgqueue = -1
    ; rlimit-nice = 31
    ; rlimit-rtprio = 9
    ; rlimit-rttime = 1000000
    default-sample-format = s24le
    default-sample-rate = 48000
    ; alternate-sample-rate = 48000
    ; default-sample-channels = 2
    ; default-channel-map = front-left,front-right
    default-fragments = 2
    default-fragment-size-msec = 76
    ; enable-deferred-volume = yes
    ; deferred-volume-safety-margin-usec = 8000
    ; deferred-volume-extra-delay-usec = 0
    /etc/pulse/default.pa
    #!/usr/bin/pulseaudio -nF
    # This file is part of PulseAudio.
    # PulseAudio is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software Foundation,
    # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
    # This startup script is used only if PulseAudio is started per-user
    # (i.e. not in system mode)
    .nofail
    ### Load something into the sample cache
    #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
    #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
    .fail
    ### Automatically restore the volume of streams and devices
    load-module module-device-restore
    load-module module-stream-restore
    load-module module-card-restore
    ### Automatically augment property information from .desktop files
    ### stored in /usr/share/application
    load-module module-augment-properties
    ### Should be after module-*-restore but before module-*-detect
    load-module module-switch-on-port-available
    ### Load audio drivers statically
    ### (it's probably better to not load these drivers manually, but instead
    ### use module-udev-detect -- see below -- for doing this automatically)
    #load-module module-alsa-sink
    #load-module module-alsa-source device=hw:1,0
    #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
    #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
    #load-module module-null-sink
    #load-module module-pipe-sink
    ### Automatically load driver modules depending on the hardware available
    .ifexists module-udev-detect.so
    load-module module-udev-detect
    .else
    ### Use the static hardware detection module (for systems that lack udev support)
    load-module module-detect
    .endif
    ### Automatically connect sink and source if JACK server is present
    .ifexists module-jackdbus-detect.so
    .nofail
    load-module module-jackdbus-detect channels=2
    .fail
    .endif
    ### Automatically load driver modules for Bluetooth hardware
    #.ifexists module-bluetooth-policy.so
    #load-module module-bluetooth-policy
    #.endif
    #.ifexists module-bluetooth-discover.so
    #load-module module-bluetooth-discover
    #.endif
    ### Load several protocols
    .ifexists module-esound-protocol-unix.so
    load-module module-esound-protocol-unix
    .endif
    load-module module-native-protocol-unix
    ### Network access (may be configured with paprefs, so leave this commented
    ### here if you plan to use paprefs)
    #load-module module-esound-protocol-tcp
    load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
    #load-module module-zeroconf-publish
    ### Load the RTP receiver module (also configured via paprefs, see above)
    #load-module module-rtp-recv
    ### Load the RTP sender module (also configured via paprefs, see above)
    #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
    #load-module module-rtp-send source=rtp.monitor
    ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
    ### Please keep in mind that the modules configured by paprefs might conflict with manually
    ### loaded modules.
    .ifexists module-gconf.so
    .nofail
    load-module module-gconf
    .fail
    .endif
    ### Automatically restore the default sink/source when changed by the user
    ### during runtime
    ### NOTE: This should be loaded as early as possible so that subsequent modules
    ### that look up the default sink/source get the right value
    load-module module-default-device-restore
    ### Automatically move streams to the default sink if the sink they are
    ### connected to dies, similar for sources
    load-module module-rescue-streams
    ### Make sure we always have a sink around, even if it is a null sink.
    load-module module-always-sink
    ### Honour intended role device property
    load-module module-intended-roles
    ### Automatically suspend sinks/sources that become idle for too long
    load-module module-suspend-on-idle
    ### If autoexit on idle is enabled we want to make sure we only quit
    ### when no local session needs us anymore.
    .ifexists module-console-kit.so
    load-module module-console-kit
    .endif
    .ifexists module-systemd-login.so
    load-module module-systemd-login
    .endif
    ### Enable positioned event sounds
    load-module module-position-event-sounds
    ### Cork music/video streams when a phone stream is active
    load-module module-role-cork
    ### Modules to allow autoloading of filters (such as echo cancellation)
    ### on demand. module-filter-heuristics tries to determine what filters
    ### make sense, and module-filter-apply does the heavy-lifting of
    ### loading modules and rerouting streams.
    load-module module-filter-heuristics
    load-module module-filter-apply
    # X11 modules should not be started from default.pa so that one daemon
    # can be shared by multiple sessions.
    ### Load X11 bell module
    #load-module module-x11-bell sample=bell-windowing-system
    ### Register ourselves in the X11 session manager
    #load-module module-x11-xsmp
    ### Publish connection data in the X11 root window
    #.ifexists module-x11-publish.so
    #.nofail
    #load-module module-x11-publish
    #.fail
    #.endif
    ### Make some devices default
    #set-default-sink output
    #set-default-source input
    ~/.xinitrc [currently using daemon mpd]
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    #if grep -q "state: pause" /home/quiv/.config/mpd/state; then
    # mpc toggle
    #fi
    #mpd ~/.config/mpd/mpd.conf
    ~/.config/bspwm/panel/notify_mpd
    xrdb ~/.Xresources
    xset +fp ~/.fonts
    xset +fp /usr/share/fonts/misc
    xset fp rehash
    xsetroot -cursor_name left_ptr &
    # imlibsetroot -x e -s f /home/quiv/Pictures/bloom_one_desktop.jpg
    sh ~/.fehbg &
    compton -CGb --backend glx --paint-on-overlay --vsync opengl-swc &
    # exec gnome-session
    # exec startkde
    # exec startxfce4
    # ...or the Window Manager of your choice
    sxhkd &
    exec bspwm
    ~/.zprofile [currently trying to use systemd/User]
    #[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    EDIT:A small update; it seems I don't need to have /etc/systemd/system/[email protected]/autologin.conf when using systemd to manag my user session as I removed it and I'm both automatically logged on and in X-session.
    Last edited by quiv (2014-07-05 13:40:30)

    o_caino wrote:
    Setting mpd as a systemd user service is very simple. This is what I did.
    In ~/.config/systemd/user/mpd.service
    [Unit]
    Description=Music Player Daemon
    After=network.target sound.target
    [Service]
    ExecStart=/usr/bin/mpd --no-daemon
    ExecStop=/usr/bin/mpd --kill
    [Install]
    WantedBy=default.target
    To enable
    systemctl --user enable mpd
    Done.
    Well shit. I guess I didn't need to do all that other stuff. I only wish I'd known about this before wasting most of my day. Thank you very much, everything appears to be working flawlessly now.

  • [Solved] VLC-Pulseaudio Volume Problem

    Hello,
    my problem is the following (using VLC, Pulseaudio, KDE).
    If I change the volume in VLC, this volume setting with stick to the system audio settings even after VLC is closed. Example, I set the volume to 200% in VLC, the system volume will also stay set to 200% (you cannot see this, it will show 100% but actually it isn't) and audio in other programs will become weak quality while playback.
    To solve this problem I have to touch the system audios setting slider and it will jump to the correct setting. Even VLC itself will stick to the previous now 'wrong' audio when I choose the setting inside VLC to put the volume setting at each start to 100%.
    i guess it has something to do with VLC, because other video and audio players doesn't produce this problem.
    I found a post from before who had a similar issue, but it did not help me.
    https://bbs.archlinux.org/viewtopic.php?id=155886
    Thank you.
    Last edited by alocacoc (2013-09-10 12:59:25)

    Is it this issue? Or does the fix given here solve the problem?
    Clients alter master output volume (aka volume jumps to 100% after running application)
    Last edited by clfarron4 (2013-09-10 10:20:48)

  • [Solved] OSS4 KDE Notifications problem

    After reading a lot of great stuff about OSS4, I decided to give it a shot.  I installed it and parts of it seem to work just fine, but I noticed that a lot of my KDE sounds weren't working.  To make a long story short, for some reason OSS4 doesn't seem to be able to play Ogg Vorbis files on my system.  Is this a problem with OSS4 or is there maybe something else I should be looking at?  I have an extremely fresh install of Arch so I'm not sure what the issue could be if it's mine.
    Thanks!
    Last edited by Locri (2008-05-18 14:13:29)

    Another update, wine works fine too, so I figured I'd look directly at 'play'
    Running play from the commandline gives me a good hint at what's going on:
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
    ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
    ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
    ALSA snd_pcm_open error: No such file or directory
    play ao: Could not open default device: error 5
    play soxio: Failed writing `default':
    So it looks like 'play' is trying to use ALSA rather than OSS.  I've been looking around for configuration options of some sort, but nothing seems to be coming up.  Could the package in the repositories possibly have been built without OSS support?  Or is there possibly something else I'm missing?
    Thanks again for the help.
    Edit:  Ok, I've made a custom compiled SOX package that definitely compiled OSS support and it's still doing the same thing >_<
    Last edited by Locri (2008-05-18 13:19:45)

  • [SOLVED]OSS4 and lib32 question

    Well... I'm thinking about installing arch64 on my new notebook with some lib32 packages and in the wiki I noticed the for sound in 32bit application is needed lib32-alsa. In case I use oss4 is there something else needed for using sound in 32 bit applications?
    Also a quiestion: I noticed that if arch=i686 the oss-linux-free package compiles libflashsupport.so and puts it in /usr/lib/. Will I have sound in flashplugin wiht oss4 if that step is not complited.
    The PKGBUILD:
    pkgname=oss-linux-free
    pkgver=4.0_1016
    pkgrel=1
    _realname=oss-v4.0-build1016-src-gpl
    pkgdesc="OSS/Open source driver"
    arch=('i686' 'x86_64')
    url="http://www.opensound.com/"
    license=('GPL2')
    depends=('gcc' 'make' 'gtk2' 'libtool' 'bc' 'sed')
    makedepends=('gawk' 'pkgconfig')
    conflicts=('oss-linux')
    provides=('oss')
    install=oss.install
    source=(rc.oss-linux-free http://www.4front-tech.com/developer/sources/stable/gpl/$_realname.tar.bz2)
    md5sums=('f343bb70a4dbd1aabefabbea0f76e886'
    'b8c3409b477387dbe87118caf46773ed')
    build() {
    rm -rf build ; mkdir build ; cd build
    sed -i "s|export HAVE_ALSA=1|# export HAVE_ALSA=1|g" $srcdir/$_realname/configure
    sed -i "s|700|755|g" $srcdir/$_realname/setup/Linux/build.sh
    unset CFLAGS
    $srcdir/$_realname/configure || return 1
    make build || return 1
    cp -r prototype/{etc,usr} $pkgdir/
    install -Dm755 ../rc.oss-linux-free $pkgdir/etc/rc.d/oss-linux-free
    if [ `uname -m` == "i686" ]; then
    cd setup/Linux/oss/lib
    gcc -m32 -shared -fPIC -O2 -Wall -Werror -lssl flashsupport.c -o libflashsupport.so || return 1
    cp libflashsupport.so $pkgdir/usr/lib/oss/lib/
    fi
    NVM I sticked to the chroot approach and I have no trouble with oss4 audio output.
    Last edited by Dheart (2008-07-16 10:13:13)

    Yes, I have PHP5.2.5 and Apache 2.2
    But I have solved the problem. It was with windows. Under windows explorer --> tools --> Folder Options --> view tab. Uncheck the Hide extensions for known file types. This fixed my problem
    Thank you all for taking time to help me.
    Thank you very much
    Message was edited by:
    pransuj

  • [SOLVED]wlan0 up - Operation not possible due to RF-kill

    Hello everyone.
    I've encountered trouble trying to activate my wlan0 interface and I was wishing that someone here might be able to help me.
    $ip link
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback
    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether
    3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether
    My attempt at trying to activate wlan0 renders the following;
    $sudo ip link set wlan0 up
    RTNETLINK answers: Operation not possible due to RF-kill
    Unblocking everything with RF-Kill does not seem to change much in particular:
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes
    $sudo rfkill unblock all
    $rfkill list all
    0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
    1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
    Enabling/Disabling the wifi-button on my keyboard only changes the Hard Blocked-parameter of hp-wifi. The Soft block remains unchanged regardless of me trying to unblock all with rfkill.
    The following is the output of dmesg | grep phy0
    $ dmesg | grep phy0
    [ 7.460715] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
    [ 7.465387] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5390 detected
    [ 7.500363] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    dmesg | grep hp-wifi renders nothing.
    Additional Information:
    $uname -r
    3.12.2-1-ARCH
    Entire output of lsmod
    Module Size Used by
    hid_generic 1161 0
    usbhid 40577 0
    hid 90678 2 hid_generic,usbhid
    arc4 2008 2
    rt2800pci 11055 0
    rt2800lib 74595 1 rt2800pci
    rt2x00pci 2664 1 rt2800pci
    rt2x00mmio 2945 1 rt2800pci
    rt2x00lib 37807 4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
    joydev 9671 0
    eeprom_93cx6 2193 1 rt2800pci
    mac80211 466554 3 rt2x00lib,rt2x00pci,rt2800lib
    cfg80211 412854 2 mac80211,rt2x00lib
    uvcvideo 72900 0
    kvm_amd 52575 0
    videobuf2_vmalloc 3280 1 uvcvideo
    videobuf2_memops 2343 1 videobuf2_vmalloc
    videobuf2_core 28027 1 uvcvideo
    kvm 389125 1 kvm_amd
    videodev 111140 2 uvcvideo,videobuf2_core
    hp_wmi 7627 0
    media 11751 2 uvcvideo,videodev
    radeon 1284675 6
    sparse_keymap 3154 1 hp_wmi
    crc_ccitt 1371 1 rt2800lib
    rfkill 15651 2 cfg80211,hp_wmi
    r8169 58399 0
    microcode 15216 0
    evdev 10989 13
    mii 4035 1 r8169
    pcspkr 2035 0
    k10temp 3058 0
    psmouse 85428 0
    ttm 63411 1 radeon
    serio_raw 5049 0
    rtsx_pci_ms 7266 0
    drm_kms_helper 36286 1 radeon
    memstick 7472 1 rtsx_pci_ms
    drm 238206 8 ttm,drm_kms_helper,radeon
    sp5100_tco 5824 0
    thermal 8532 0
    battery 6837 0
    wmi 8419 1 hp_wmi
    i2c_piix4 10592 0
    snd_hda_codec_realtek 40772 1
    i2c_algo_bit 5399 1 radeon
    i2c_core 24164 6 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon,videodev
    ac 3332 0
    acpi_cpufreq 10779 0
    video 11228 0
    snd_hda_intel 36904 0
    shpchp 25465 0
    button 4677 0
    snd_hda_codec 149633 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 6340 1 snd_hda_codec
    snd_pcm 77709 2 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7242 2 snd_pcm,snd_hda_intel
    snd_timer 18726 1 snd_pcm
    snd 59173 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5450 1 snd
    processor 24935 3 acpi_cpufreq
    ext4 474187 4
    crc16 1367 1 ext4
    mbcache 6082 1 ext4
    jbd2 83504 1 ext4
    sr_mod 14898 0
    cdrom 34848 1 sr_mod
    sd_mod 30789 6
    rtsx_pci_sdmmc 14332 0
    mmc_core 95691 1 rtsx_pci_sdmmc
    ahci 22896 5
    libahci 21401 1 ahci
    rtsx_pci 32049 2 rtsx_pci_ms,rtsx_pci_sdmmc
    libata 170792 2 ahci,libahci
    ehci_pci 4000 0
    ohci_pci 4072 0
    ohci_hcd 23937 1 ohci_pci
    ehci_hcd 59220 1 ehci_pci
    usbcore 180136 6 uvcvideo,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid
    scsi_mod 130669 3 libata,sd_mod,sr_mod
    usb_common 1656 1 usbcore
    Entire output of lspci
    00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 14h Processor Root Complex
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
    00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
    00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
    00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
    00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
    00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40)
    00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
    00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0)
    00:15.1 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1)
    00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB900 PCI to PCI bridge (PCIE port 3)
    00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
    00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
    00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
    00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
    00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
    00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
    00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
    00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
    00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
    00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
    02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
    07:00.0 Network controller: Ralink corp. RT5390 Wireless 802.11n 1T/1R PCIe
    It is worth mentioning that this problem has remained persistent throughout multiple linux distributions that I've tried on my laptop. The Wifi works fine in Windows 7 but as soon as I switch to any linux distro it stops working.
    I intend to put your advice to good use so any help would be very appreciated.
    Last edited by FunkDojo (2013-12-05 13:02:45)

    As I can see you have two wireless interaces, when i see only phy0 with rfkill, it's maybe your hp-wifi that force to disable phy0 interace. I think if you blacklist the driver it might allow phy0 to be enabled.
    Please download and install lshw available in the community repo and enter in a terminal :
    $ lshw -c network
    Last edited by maxarsys (2013-12-05 06:26:05)

  • (Solved) MPD Pulseaudio client no sound

    Hi,
    I've installed MPD on my server, configured the music path I can play music on clients, but I don't have sound on client !
    I've try audio_output HTTP and Icecast, I'm not interrested in these two solutions.
    So I wanted to broadcast sound over network, so I leanrt about Pulseaudio, in my /etc/mpd.conf I uncomment the pulse sound card.
    Edit /etc/pulse/default.pa in order to add my client IP
    load-module module-native-protocol-tcp auth-ip-acl=192.168.1.5
    And start pulseaudio --start.
    On the client edit the /etc/pulse/client.conf to add server ip address.
    default-server=192.168.1.10
    And started as well !
    Message error on client :
    User-configured server at 192.168.1.10 refusing to start /autospawn.
    I simply want to broadcast the audio_outup in the server to the clients
    How can I fix it  ?
    Thanks in advance.
    Last edited by NeanderMarcl (2013-07-15 11:49:36)

    Okay, so it is a back end problem. 
    In Pavucontrol, go to the Output Devices tab and check the port pull down.  Make sure yours is set for something rational.  Maybe try all the ones that make sense.  Also, go to the configuration tab and look at the various profiles.  Make sure that it, too, selects something rational; If you are using built in speakers, make sure it is not trying to use HDMI.
    Then, pop over to your favorite mixer and make sure all the controls are un-muted and that the volumes are up. 
    If none of that helps, post the output of
    pacmd dump
    pacmd dump-volumes
    and of
    amixer
    ewaller$@$odin ~ 1005 %pacmd dump-volumes
    Welcome to PulseAudio! Use "help" for usage information.
    >>> Sink 0: reference = 0: 35% 1: 35%, real = 0: 35% 1: 35%, soft = 0: 100% 1: 100%, current_hw = 0: 35% 1: 35%, save = yes
    Input 0: volume = 0: 35% 1: 35%, reference_ratio = 0: 100% 1: 100%, real_ratio = 0: 100% 1: 100%, soft = 0: 100% 1: 100%, volume_factor = 0: 100% 1: 100%, volume_factor_sink = 0: 100% 1: 100%, save = yes
    Source 0: reference = 0: 153% 1: 153%, real = 0: 153% 1: 153%, soft = 0: 153% 1: 153%, current_hw = 0: 153% 1: 153%, save = yes
    Source 1: reference = 0: 100% 1: 100%, real = 0: 100% 1: 100%, soft = 0: 100% 1: 100%, current_hw = 0: 100% 1: 100%, save = yes
    ewaller$@$odin ~ 1006 %pacmd dump
    Welcome to PulseAudio! Use "help" for usage information.
    >>> ### Configuration dump generated at Sun Jul 14 09:05:28 2013
    load-module module-device-restore
    load-module module-stream-restore
    load-module module-card-restore
    load-module module-augment-properties
    load-module module-switch-on-port-available
    load-module module-alsa-card device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
    load-module module-udev-detect
    load-module module-jackdbus-detect channels=2
    load-module module-bluetooth-policy
    load-module module-bluetooth-discover
    load-module module-esound-protocol-unix
    load-module module-native-protocol-unix
    load-module module-gconf
    load-module module-default-device-restore
    load-module module-rescue-streams
    load-module module-always-sink
    load-module module-intended-roles
    load-module module-suspend-on-idle
    load-module module-console-kit
    load-module module-systemd-login
    load-module module-position-event-sounds
    load-module module-role-cork
    load-module module-filter-heuristics
    load-module module-filter-apply
    load-module module-dbus-protocol
    load-module module-cli-protocol-unix
    set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 0x5ad5
    set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo no
    suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
    set-source-volume alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 0x18675
    set-source-mute alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
    suspend-source alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
    set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0xffff
    set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo yes
    suspend-source alsa_input.pci-0000_00_1b.0.analog-stereo yes
    set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
    set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
    set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo
    ### EOF
    >>> %
    ewaller$@$odin ~ 1007 %amixer
    Simple mixer control 'Master',0
    Capabilities: pvolume pswitch pswitch-joined
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 65536
    Mono:
    Front Left: Playback 23253 [35%] [on]
    Front Right: Playback 23253 [35%] [on]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch cswitch-joined
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 65536
    Front Left: Capture 65535 [100%] [off]
    Front Right: Capture 65535 [100%] [off]
    ewaller$@$odin ~ 1008 %
    Last edited by ewaller (2013-07-14 16:10:08)

  • [SOLVED] flash (pulseaudio) works but got quiet after update

    Hi there,
    Using pulseaudio, flash' audio output worked for me before `pacman -Syu` yesterday (last update was 2 or 3 weeks ago). Now there is still audio output, but it's very quiet. Really quiet. Like 2mm on the 10cm volume meter in pavucontrol.
    The sound works flawlessly and waay louder with vlc. Of course I double checked volume settings, in flash, with pavucontrol and even alsamixer.
    What has changed?
    no ~/.asoundrc. /etc/asound.conf:
    # Use PulseAudio by default
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    # vim:set ft=alsaconf:
    EDIT: tried turning it off and on again - and now it works. w00t
    Last edited by Kei (2014-09-23 12:41:52)

    Hi there,
    Using pulseaudio, flash' audio output worked for me before `pacman -Syu` yesterday (last update was 2 or 3 weeks ago). Now there is still audio output, but it's very quiet. Really quiet. Like 2mm on the 10cm volume meter in pavucontrol.
    The sound works flawlessly and waay louder with vlc. Of course I double checked volume settings, in flash, with pavucontrol and even alsamixer.
    What has changed?
    no ~/.asoundrc. /etc/asound.conf:
    # Use PulseAudio by default
    pcm.!default {
    type pulse
    fallback "sysdefault"
    hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
    ctl.!default {
    type pulse
    fallback "sysdefault"
    # vim:set ft=alsaconf:
    EDIT: tried turning it off and on again - and now it works. w00t
    Last edited by Kei (2014-09-23 12:41:52)

  • [Potentially Solved] Touchpad sometimes not detected possible IRQ.

    Edit:
    Potentially solved: since adding the below entries to my bootloader I have not encountered the issue, or it may be just a coincidence.
    append to the boot line: i8042.nomux=1 i8042.reset
    I've been experiencing an issue for the last few years which has bugged me across two different brands of laptop, but has been very hard to debug due to how random the event seems to occur.
    One in every 20 or so boots, the touchpad on my laptop (Lenovo Z500) is not detected; not just by X, but by the system as a whole, it's as if it has been physically disconnected somehow.
    It will take a few good reboots for the system to detect it again, and the problem disappears for another few days/weeks
    One strange thing I have noticed, is that when looking at the listing of interrupts during a 'failed touchpad boot', IRQ 12, which I believe is normally the touchpad, has vanished.
    I'm not very clued up on these matters so I'm not sure how to start debugging this, and working out if the issue is down to my setup of the system or not.
    Any ideas on what could be causing this?
    Thanks.
    Output of /proc/interrupts during a working boot:
    CPU0 CPU1 CPU2 CPU3
    0: 23 0 0 0 IO-APIC-edge timer
    1: 16 723 9 10 IO-APIC-edge i8042
    8: 0 0 0 1 IO-APIC-edge rtc0
    9: 299 118 10 14 IO-APIC-fasteoi acpi
    12: 845 21415 146 77 IO-APIC-edge i8042
    16: 461 8993 74 44 IO-APIC-fasteoi ehci_hcd:usb1
    17: 0 0 0 0 IO-APIC-fasteoi ath9k
    23: 2 25 5 1 IO-APIC-fasteoi ehci_hcd:usb2
    41: 5 22 0 2 PCI-MSI-edge xhci_hcd
    42: 1557 1065 596 500 PCI-MSI-edge ahci
    43: 11 2 0 0 PCI-MSI-edge mei_me
    44: 266 0 0 0 PCI-MSI-edge snd_hda_intel
    46: 4 28 26 1 PCI-MSI-edge i915
    NMI: 0 0 0 0 Non-maskable interrupts
    LOC: 3002 12958 2572 1842 Local timer interrupts
    SPU: 0 0 0 0 Spurious interrupts
    PMI: 0 0 0 0 Performance monitoring interrupts
    IWI: 88 170 115 197 IRQ work interrupts
    RTR: 1 0 0 0 APIC ICR read retries
    RES: 367 332 393 431 Rescheduling interrupts
    CAL: 129 71 24 58 Function call interrupts
    TLB: 99 72 157 892 TLB shootdowns
    TRM: 0 0 0 0 Thermal event interrupts
    THR: 0 0 0 0 Threshold APIC interrupts
    MCE: 0 0 0 0 Machine check exceptions
    MCP: 2 2 2 2 Machine check polls
    THR: 0 0 0 0 Hypervisor callback interrupts
    ERR: 0
    MIS: 0
    Output of /proc/interrupts during a non-working boot:
    CPU0 CPU1 CPU2 CPU3
    0: 23 0 0 0 IO-APIC-edge timer
    1: 9 235 2 11 IO-APIC-edge i8042
    8: 0 0 1 0 IO-APIC-edge rtc0
    9: 217 44 24 40 IO-APIC-fasteoi acpi
    16: 96 2512 38 173 IO-APIC-fasteoi ehci_hcd:usb1
    17: 0 0 0 0 IO-APIC-fasteoi ath9k
    23: 3 25 1 4 IO-APIC-fasteoi ehci_hcd:usb2
    41: 6 23 0 1 PCI-MSI-edge xhci_hcd
    42: 1445 937 649 479 PCI-MSI-edge ahci
    43: 9 3 0 1 PCI-MSI-edge mei_me
    45: 11 10 4 39 PCI-MSI-edge i915
    46: 93 80 94 0 PCI-MSI-edge snd_hda_intel
    NMI: 0 0 0 0 Non-maskable interrupts
    LOC: 1251 3465 1964 692 Local timer interrupts
    SPU: 0 0 0 0 Spurious interrupts
    PMI: 0 0 0 0 Performance monitoring interrupts
    IWI: 76 97 47 79 IRQ work interrupts
    RTR: 1 0 0 0 APIC ICR read retries
    RES: 349 252 190 335 Rescheduling interrupts
    CAL: 110 72 30 69 Function call interrupts
    TLB: 101 52 817 651 TLB shootdowns
    TRM: 0 0 0 0 Thermal event interrupts
    THR: 0 0 0 0 Threshold APIC interrupts
    MCE: 0 0 0 0 Machine check exceptions
    MCP: 2 2 2 2 Machine check polls
    THR: 0 0 0 0 Hypervisor callback interrupts
    ERR: 0
    MIS: 0
    Output of /proc/bus/input/devices during a working boot (touchpad detected at bus 0011):
    I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio0/input/input0
    U: Uniq=
    H: Handlers=kbd event0
    B: PROP=0
    B: EV=120013
    B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=7
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=PNP0C0C/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input2
    U: Uniq=
    H: Handlers=kbd event1
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0019 Vendor=0000 Product=0005 Version=0000
    N: Name="Lid Switch"
    P: Phys=PNP0C0D/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
    U: Uniq=
    H: Handlers=event2
    B: PROP=0
    B: EV=21
    B: SW=1
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
    U: Uniq=
    H: Handlers=kbd event3
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0019 Vendor=0000 Product=0000 Version=0000
    N: Name="Ideapad extra buttons"
    P: Phys=ideapad/input0
    S: Sysfs=/devices/platform/VPC2004:00/input/input5
    U: Uniq=
    H: Handlers=kbd rfkill event4
    B: PROP=0
    B: EV=13
    B: KEY=1400800100c03 400000000300000 0 0
    B: MSC=10
    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/devices/platform/pcspkr/input/input7
    U: Uniq=
    H: Handlers=kbd event5
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0003 Vendor=13d3 Product=5170 Version=0730
    N: Name="Lenovo EasyCamera"
    P: Phys=usb-0000:00:14.0-4/button
    S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/input/input9
    U: Uniq=
    H: Handlers=kbd event6
    B: PROP=0
    B: EV=3
    B: KEY=100000 0 0 0
    I: Bus=0001 Vendor=10ec Product=0269 Version=0001
    N: Name="HDA Digital PCBeep"
    P: Phys=card0/codec#0/beep0
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input8
    U: Uniq=
    H: Handlers=kbd event7
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Mic"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10
    U: Uniq=
    H: Handlers=event8
    B: PROP=0
    B: EV=21
    B: SW=10
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Headphone"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
    U: Uniq=
    H: Handlers=event9
    B: PROP=0
    B: EV=21
    B: SW=4
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH HDMI/DP,pcm=3"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
    U: Uniq=
    H: Handlers=event10
    B: PROP=0
    B: EV=21
    B: SW=140
    I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
    N: Name="SynPS/2 Synaptics TouchPad"
    P: Phys=isa0060/serio1/input0
    S: Sysfs=/devices/platform/i8042/serio1/input/input6
    U: Uniq=
    H: Handlers=event11 mouse0
    B: PROP=5
    B: EV=b
    B: KEY=e520 10000 0 0 0 0
    B: ABS=660800011000003
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:35/LNXVIDEO:00/input/input13
    U: Uniq=
    H: Handlers=kbd event12
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:03/input/input14
    U: Uniq=
    H: Handlers=kbd event13
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    Output of /proc/bus/input/devices during a non-working boot:
    I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
    N: Name="AT Translated Set 2 keyboard"
    P: Phys=isa0060/serio0/input0
    S: Sysfs=/devices/platform/i8042/serio0/input/input2
    U: Uniq=
    H: Handlers=kbd event0
    B: PROP=0
    B: EV=120013
    B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
    B: MSC=10
    B: LED=7
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=PNP0C0C/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/PNP0C0C:00/input/input3
    U: Uniq=
    H: Handlers=kbd event1
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0019 Vendor=0000 Product=0005 Version=0000
    N: Name="Lid Switch"
    P: Phys=PNP0C0D/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input4
    U: Uniq=
    H: Handlers=event2
    B: PROP=0
    B: EV=21
    B: SW=1
    I: Bus=0019 Vendor=0000 Product=0001 Version=0000
    N: Name="Power Button"
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5
    U: Uniq=
    H: Handlers=kbd event3
    B: PROP=0
    B: EV=3
    B: KEY=10000000000000 0
    I: Bus=0019 Vendor=0000 Product=0000 Version=0000
    N: Name="Ideapad extra buttons"
    P: Phys=ideapad/input0
    S: Sysfs=/devices/platform/VPC2004:00/input/input6
    U: Uniq=
    H: Handlers=kbd rfkill event4
    B: PROP=0
    B: EV=13
    B: KEY=1400800100c03 400000000300000 0 0
    B: MSC=10
    I: Bus=0010 Vendor=001f Product=0001 Version=0100
    N: Name="PC Speaker"
    P: Phys=isa0061/input0
    S: Sysfs=/devices/platform/pcspkr/input/input7
    U: Uniq=
    H: Handlers=kbd event5
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0003 Vendor=13d3 Product=5170 Version=0730
    N: Name="Lenovo EasyCamera"
    P: Phys=usb-0000:00:14.0-4/button
    S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/input/input8
    U: Uniq=
    H: Handlers=kbd event6
    B: PROP=0
    B: EV=3
    B: KEY=100000 0 0 0
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:35/LNXVIDEO:00/input/input9
    U: Uniq=
    H: Handlers=kbd event7
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0019 Vendor=0000 Product=0006 Version=0000
    N: Name="Video Bus"
    P: Phys=LNXVIDEO/video/input0
    S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:03/input/input10
    U: Uniq=
    H: Handlers=kbd event8
    B: PROP=0
    B: EV=3
    B: KEY=3e000b00000000 0 0 0
    I: Bus=0001 Vendor=10ec Product=0269 Version=0001
    N: Name="HDA Digital PCBeep"
    P: Phys=card0/codec#0/beep0
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input11
    U: Uniq=
    H: Handlers=kbd event9
    B: PROP=0
    B: EV=40001
    B: SND=6
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Mic"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
    U: Uniq=
    H: Handlers=event10
    B: PROP=0
    B: EV=21
    B: SW=10
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH Headphone"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
    U: Uniq=
    H: Handlers=event11
    B: PROP=0
    B: EV=21
    B: SW=4
    I: Bus=0000 Vendor=0000 Product=0000 Version=0000
    N: Name="HDA Intel PCH HDMI/DP,pcm=3"
    P: Phys=ALSA
    S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input14
    U: Uniq=
    H: Handlers=event12
    B: PROP=0
    B: EV=21
    B: SW=140
    Last edited by kYd (2014-07-01 18:11:45)

    Hi gav989,
    welcome to the forums. Please have a look at our forum etiquette, esp. at the "Pasting Pictures and Code" section.
    The image you posted is too big, but only slightly, so I leave it there for now. You may want to look at these screenshot posting rules as well.

  • [solved] Help troubleshoot Virtualbox hanging (possible btrfs related)

    Sometime longer than a week ago I did not have this problem.
    Yesterday I encountered it for the first time. Starting a windows 8 VM works all the way through the apps screen and then it just hangs. No way to quit virtualbox. Weirdly enough, Firefox is still working at this point but becomes unresponsive after a while as well. My WM (awesome) and terminals are unaffected, but kill/killall doesn't work.
    On shutdown I see this error (first code box below). I have done btrfsck on all my partitions since then, still the same problem.
    My pacman log for the past 10 days is in the second code box below. I have tried downgrading to linux-3.11.1-1 and 3.11-1 without success. 3.11-1 allows me to get past the apps screen, but once I open a document in the VM it becomes unresponsive again, so the bug is just being delayed.
    This laptop is heavily used and no other unresponsivity was noted this past week prior to using VirtualBox.
    Final point, I'm fully updated using [testing].
    Any suggestions would be appreciated, I'm quite stumped at this point. Considering creating a new VM to test whether my image is faulty....
    Sep 25 11:24:01 ngoonee-laptop kernel: ------------[ cut here ]------------
    Sep 25 11:24:01 ngoonee-laptop kernel: kernel BUG at fs/btrfs/ctree.c:2964!
    Sep 25 11:24:02 ngoonee-laptop kernel: invalid opcode: 0000 [#1] PREEMPT SMP
    Sep 25 11:24:02 ngoonee-laptop kernel: Modules linked in: ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables pci_stub vboxpci(O) vboxnetflt(O) vboxneta
    Sep 25 11:24:02 ngoonee-laptop kernel: i2c_core mei_me mei serio_raw battery evdev processor shpchp ac thermal button mxm_wmi vboxdrv(O) vhba(O) asus_nb_wmi asus_wmi sparse_keymap rfkill wmi video btrfs libcrc3
    Sep 25 11:24:02 ngoonee-laptop kernel: CPU: 0 PID: 435 Comm: btrfs-endio-wri Tainted: G O 3.11.0-1-ARCH #1
    Sep 25 11:24:02 ngoonee-laptop kernel: Hardware name: ASUSTeK COMPUTER INC. N56VJ/N56VJ, BIOS N56VJ.203 08/29/2012
    Sep 25 11:24:02 ngoonee-laptop kernel: task: ffff88021e1721c0 ti: ffff880222da6000 task.ti: ffff880222da6000
    Sep 25 11:24:02 ngoonee-laptop kernel: RIP: 0010:[<ffffffffa02a6d21>] [<ffffffffa02a6d21>] btrfs_set_item_key_safe+0x161/0x170 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: RSP: 0018:ffff880222da7b18 EFLAGS: 00010286
    Sep 25 11:24:02 ngoonee-laptop kernel: RAX: 00000000ffffffff RBX: 0000000000000027 RCX: 000000002fa00000
    Sep 25 11:24:02 ngoonee-laptop kernel: RDX: 00000000ffffffff RSI: ffff880222da7c1e RDI: ffff880222da7b37
    Sep 25 11:24:02 ngoonee-laptop kernel: RBP: ffff880222da7b70 R08: 0000000000000001 R09: ffff880222da7b38
    Sep 25 11:24:02 ngoonee-laptop kernel: R10: 000000002fa60000 R11: 000000002fa60000 R12: ffff880222da7b26
    Sep 25 11:24:02 ngoonee-laptop kernel: R13: ffff8801cd7f23f0 R14: ffff880222da7c1e R15: ffff880217e95040
    Sep 25 11:24:02 ngoonee-laptop kernel: FS: 0000000000000000(0000) GS:ffff88022ee00000(0000) knlGS:0000000000000000
    Sep 25 11:24:02 ngoonee-laptop kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Sep 25 11:24:02 ngoonee-laptop kernel: CR2: 00000032768abac0 CR3: 000000000180d000 CR4: 00000000001427f0
    Sep 25 11:24:02 ngoonee-laptop kernel: Stack:
    Sep 25 11:24:02 ngoonee-laptop kernel: ffff8802218a7800 4511ffffa02e0c39 006c00000000000f 11000000002f9f80
    Sep 25 11:24:02 ngoonee-laptop kernel: 6c00000000000f45 000000002f9f8000 ffff880217e95040 000000002fa00000
    Sep 25 11:24:02 ngoonee-laptop kernel: 0000000000000000 ffff8801cd7f23f0 00000000000007b8 ffff880222da7c68
    Sep 25 11:24:02 ngoonee-laptop kernel: Call Trace:
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02ddfa9>] __btrfs_drop_extents+0x559/0xac0 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02deff0>] btrfs_drop_extents+0x60/0x90 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02cf7ec>] insert_reserved_file_extent.constprop.58+0x6c/0x290 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02d6cae>] btrfs_finish_ordered_io+0x52e/0x9a0 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff8106ed62>] ? del_timer_sync+0x52/0x60
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff814dbc5c>] ? schedule_timeout+0x13c/0x290
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff8106e170>] ? detach_if_pending+0x120/0x120
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02d7305>] finish_ordered_fn+0x15/0x20 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02f737e>] worker_loop+0x14e/0x550 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff81093832>] ? default_wake_function+0x12/0x20
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffffa02f7230>] ? btrfs_queue_worker+0x330/0x330 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff810836a0>] kthread+0xc0/0xd0
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff810835e0>] ? kthread_create_on_node+0x120/0x120
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff814e892c>] ret_from_fork+0x7c/0xb0
    Sep 25 11:24:02 ngoonee-laptop kernel: [<ffffffff810835e0>] ? kthread_create_on_node+0x120/0x120
    Sep 25 11:24:02 ngoonee-laptop kernel: Code: 48 8b 45 bf 48 8d 7d c7 4c 89 f6 48 89 45 d0 0f b6 45 be 88 45 cf 48 8b 45 b6 48 89 45 c7 e8 a7 f2 ff ff 85 c0 0f 8f 48 ff ff ff <0f> 0b 0f 0b 66 66 2e 0f 1f 84 00 00
    Sep 25 11:24:02 ngoonee-laptop kernel: RIP [<ffffffffa02a6d21>] btrfs_set_item_key_safe+0x161/0x170 [btrfs]
    Sep 25 11:24:02 ngoonee-laptop kernel: RSP <ffff880222da7b18>
    Sep 25 11:24:03 ngoonee-laptop kernel: ---[ end trace 80929b31898e484c ]---
    [2013-09-16 12:01] [PACMAN] Running 'pacman -Syu'
    [2013-09-16 12:01] [PACMAN] synchronizing package lists
    [2013-09-16 12:02] [PACMAN] starting full system upgrade
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > Ardour now supports video timeline. To use this feature, please get
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > static builds of the required external runtime dependencies from:
    [2013-09-16 12:06] [ALPM-SCRIPTLET]
    [2013-09-16 12:06] [ALPM-SCRIPTLET] http://x42.github.io/harvid/
    [2013-09-16 12:06] [ALPM-SCRIPTLET]
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > You may then install the binaries in /usr/local/bin and import a video
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > via Session > Open Video.
    [2013-09-16 12:06] [ALPM-SCRIPTLET]
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > Due to uncertainties with regards to program stability, 'harvid' is
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > currently not packaged in our repositories.
    [2013-09-16 12:06] [ALPM-SCRIPTLET]
    [2013-09-16 12:06] [ALPM-SCRIPTLET] > In addition to the timeline, video can be monitored with xjadeo.
    [2013-09-16 12:06] [PACMAN] upgraded ardour (3.3-1 -> 3.4-1)
    [2013-09-16 12:07] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-09-16 12:07] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> ERROR: file not found: `fsck.btrfs'
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> WARNING: No fsck helpers found. fsck will not be run on boot.
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-09-16 12:07] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-16 12:07] [PACMAN] upgraded linux (3.11-1 -> 3.11.1-1)
    [2013-09-16 12:07] [PACMAN] upgraded bbswitch (0.7-13 -> 0.7-14)
    [2013-09-16 12:07] [ALPM-SCRIPTLET] Generating locales...
    [2013-09-16 12:07] [ALPM-SCRIPTLET] en_GB.UTF-8... done
    [2013-09-16 12:07] [ALPM-SCRIPTLET] en_GB.ISO-8859-1... done
    [2013-09-16 12:07] [ALPM-SCRIPTLET] en_US.UTF-8... done
    [2013-09-16 12:07] [ALPM-SCRIPTLET] en_US.ISO-8859-1... done
    [2013-09-16 12:07] [ALPM-SCRIPTLET] Generation complete.
    [2013-09-16 12:07] [PACMAN] upgraded glibc (2.18-3 -> 2.18-4)
    [2013-09-16 12:07] [PACMAN] upgraded bluez-libs (5.7-1 -> 5.8-1)
    [2013-09-16 12:07] [PACMAN] upgraded bluez-utils (5.7-1 -> 5.8-1)
    [2013-09-16 12:07] [PACMAN] upgraded cinelerra-cv (1:2.2-17 -> 1:2.2-18)
    [2013-09-16 12:07] [PACMAN] upgraded hdf5 (1.8.10_patch1-1 -> 1.8.11-1)
    [2013-09-16 12:07] [PACMAN] upgraded lib32-glibc (2.18-3 -> 2.18-4)
    [2013-09-16 12:07] [PACMAN] upgraded linux-headers (3.11-1 -> 3.11.1-1)
    [2013-09-16 12:07] [PACMAN] upgraded lirc-utils (1:0.9.0-59 -> 1:0.9.0-60)
    [2013-09-16 12:07] [PACMAN] upgraded meld (1.7.5-1 -> 1.8.0-1)
    [2013-09-16 12:07] [PACMAN] upgraded nvidia (325.15-6 -> 325.15-7)
    [2013-09-16 12:07] [PACMAN] upgraded postgresql-libs (9.3.0-2 -> 9.3.0-3)
    [2013-09-16 12:07] [PACMAN] upgraded sip (4.15.1.908d49322dcf-1 -> 4.15.2-1)
    [2013-09-16 12:07] [PACMAN] upgraded python-sip (4.15.1.908d49322dcf-1 -> 4.15.2-1)
    [2013-09-16 12:07] [PACMAN] upgraded python2-sip (4.15.1.908d49322dcf-1 -> 4.15.2-1)
    [2013-09-16 12:07] [PACMAN] upgraded raptor (2.0.9-2 -> 2.0.10-2)
    [2013-09-16 12:07] [PACMAN] upgraded valgrind (3.8.1-3 -> 3.8.1-4)
    [2013-09-16 12:07] [ALPM-SCRIPTLET] > Updating module dependencies...
    [2013-09-16 12:07] [PACMAN] upgraded vhba-module (20130607-13 -> 20130607-14)
    [2013-09-16 12:07] [PACMAN] upgraded vigra (1.9.0-5 -> 1.9.0-6)
    [2013-09-16 12:07] [ALPM-SCRIPTLET] In order to use the new version, reload all virtualbox modules manually.
    [2013-09-16 12:07] [PACMAN] upgraded virtualbox-host-modules (4.2.18-2 -> 4.2.18-3)
    [2013-09-16 12:07] [PACMAN] upgraded xorg-luit (1.1.1-1 -> 1.1.1-2)
    [2013-09-16 13:57] [PACMAN] Running '/usr/bin/pacman -S --asdeps lsb-release'
    [2013-09-16 13:58] [PACMAN] installed lsb-release (1.4-13)
    [2013-09-16 13:58] [PACMAN] Running '/usr/bin/pacman -U /home/ngoonee/cower/google-talkplugin/google-talkplugin-4.5.3.0-1-x86_64.pkg.tar.xz'
    [2013-09-16 13:58] [PACMAN] installed google-talkplugin (4.5.3.0-1)
    [2013-09-17 07:33] [PACMAN] Running 'pacman -Syu'
    [2013-09-17 07:33] [PACMAN] synchronizing package lists
    [2013-09-17 07:33] [PACMAN] starting full system upgrade
    [2013-09-17 07:34] [PACMAN] upgraded btrfs-progs (0.20rc1.2-2 -> 0.20rc1.3-1)
    [2013-09-17 07:34] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
    [2013-09-17 07:34] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
    [2013-09-17 07:34] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)
    [2013-09-17 07:34] [PACMAN] upgraded icedtea-web-java7 (1.4-2 -> 1.4.1-1)
    [2013-09-17 07:34] [PACMAN] upgraded intel-tbb (4.1_20130613-1 -> 4.2_20130725-1)
    [2013-09-17 07:34] [PACMAN] upgraded lib32-libsm (1.2.1-1 -> 1.2.2-1)
    [2013-09-17 07:34] [PACMAN] upgraded lib32-libx11 (1.6.1-1 -> 1.6.2-1)
    [2013-09-17 07:34] [PACMAN] upgraded lib32-libxrandr (1.4.1-1 -> 1.4.2-1)
    [2013-09-17 07:34] [PACMAN] upgraded lib32-libxv (1.0.9-1 -> 1.0.10-1)
    [2013-09-17 07:34] [PACMAN] upgraded libpng (1.6.3-1 -> 1.6.5-1)
    [2013-09-17 07:34] [PACMAN] upgraded orc (0.4.17-1 -> 0.4.18-1)
    [2013-09-17 07:34] [PACMAN] upgraded python-setuptools (1.0-1 -> 1.1.5-1)
    [2013-09-17 07:34] [PACMAN] upgraded python2-setuptools (1.0-1 -> 1.1.5-1)
    [2013-09-17 07:34] [PACMAN] upgraded serf (1.3.0-1 -> 1.3.1-1)
    [2013-09-17 07:34] [PACMAN] upgraded subversion (1.8.1-2 -> 1.8.3-1)
    [2013-09-17 07:34] [PACMAN] upgraded udisks2 (2.1.0-3 -> 2.1.1-1)
    [2013-09-17 07:34] [PACMAN] upgraded xorg-xinput (1.6.0-1 -> 1.6.1-1)
    [2013-09-18 07:11] [PACMAN] Running 'pacman -Syu'
    [2013-09-18 07:11] [PACMAN] synchronizing package lists
    [2013-09-18 07:12] [PACMAN] starting full system upgrade
    [2013-09-18 07:13] [PACMAN] upgraded firefox (23.0.1-1 -> 24.0-1)
    [2013-09-18 07:13] [PACMAN] upgraded lib32-libpng (1.6.3-1 -> 1.6.5-1)
    [2013-09-18 07:13] [PACMAN] upgraded ruby (2.0.0_p247-1 -> 2.0.0_p247-3)
    [2013-09-18 07:13] [PACMAN] upgraded systemd (207-1 -> 207-2)
    [2013-09-18 07:13] [PACMAN] upgraded systemd-sysvcompat (207-1 -> 207-2)
    [2013-09-18 08:50] [PACMAN] Running 'pacman -S gptfdisk'
    [2013-09-18 08:50] [PACMAN] installed gptfdisk (0.8.7-1)
    [2013-09-19 09:01] [PACMAN] Running 'pacman -Syu'
    [2013-09-19 09:01] [PACMAN] synchronizing package lists
    [2013-09-19 09:02] [PACMAN] starting full system upgrade
    [2013-09-19 09:04] [PACMAN] upgraded bluez-libs (5.8-1 -> 5.9-1)
    [2013-09-19 09:04] [PACMAN] upgraded systemd (207-2 -> 207-3)
    [2013-09-19 09:04] [PACMAN] upgraded bluez-utils (5.8-1 -> 5.9-1)
    [2013-09-19 09:04] [PACMAN] upgraded chromium (29.0.1547.65-1 -> 29.0.1547.76-1)
    [2013-09-19 09:04] [PACMAN] upgraded polkit (0.111-1 -> 0.112-1)
    [2013-09-19 09:04] [PACMAN] upgraded systemd-sysvcompat (207-2 -> 207-3)
    [2013-09-19 09:04] [PACMAN] upgraded xvidcore (1.3.2-1 -> 1.3.2-2)
    [2013-09-19 10:25] [PACMAN] Running 'pacman -S steam'
    [2013-09-19 10:26] [ALPM-SCRIPTLET] if you are running x86_64, you need the lib32 opt depends for your driver
    [2013-09-19 10:26] [ALPM-SCRIPTLET] if you are having problems with the steam license, remove .steam and .local/share/Steam
    [2013-09-19 10:26] [PACMAN] installed steam (1.0.0.42-1)
    [2013-09-19 14:24] [PACMAN] Running 'pacman -S lib32-primus'
    [2013-09-19 14:24] [PACMAN] installed lib32-primus (20130815-1)
    [2013-09-20 07:45] [PACMAN] Running 'pacman -Syu'
    [2013-09-20 07:45] [PACMAN] synchronizing package lists
    [2013-09-20 07:45] [PACMAN] starting full system upgrade
    [2013-09-20 07:47] [PACMAN] upgraded gparted (0.16.1-5 -> 0.16.2-1)
    [2013-09-20 07:47] [PACMAN] upgraded systemd (207-3 -> 207-5)
    [2013-09-20 07:47] [PACMAN] upgraded systemd-sysvcompat (207-3 -> 207-5)
    [2013-09-20 12:01] [PACMAN] Running 'pacman -Syu'
    [2013-09-20 12:01] [PACMAN] synchronizing package lists
    [2013-09-20 12:02] [PACMAN] starting full system upgrade
    [2013-09-22 21:04] [PACMAN] Running 'pacman -Syu'
    [2013-09-22 21:04] [PACMAN] synchronizing package lists
    [2013-09-22 21:04] [PACMAN] starting full system upgrade
    [2013-09-22 21:06] [PACMAN] upgraded elfutils (0.155-1 -> 0.156-1)
    [2013-09-22 21:06] [PACMAN] upgraded fakeroot (1.19-1 -> 1.20-1)
    [2013-09-22 21:06] [PACMAN] upgraded ibus (1.5.3-2 -> 1.5.4-1)
    [2013-09-22 21:06] [PACMAN] upgraded imagemagick (6.8.6.9-1 -> 6.8.6.10-1)
    [2013-09-22 21:07] [PACMAN] upgraded inkscape (0.48.4-10 -> 0.48.4-11)
    [2013-09-22 21:07] [PACMAN] upgraded lib32-dbus (1.6.12-1 -> 1.6.14-1)
    [2013-09-22 21:07] [PACMAN] upgraded lib32-elfutils (0.155-2 -> 0.156-1)
    [2013-09-22 21:07] [PACMAN] upgraded lib32-sqlite (3.8.0.1-1 -> 3.8.0.2-1)
    [2013-09-22 21:07] [PACMAN] upgraded libmariadbclient (5.5.32-2 -> 5.5.33-1)
    [2013-09-22 21:07] [PACMAN] upgraded m4 (1.4.16-3 -> 1.4.17-1)
    [2013-09-22 21:07] [PACMAN] upgraded man-pages (3.53-1 -> 3.54-1)
    [2013-09-22 21:07] [PACMAN] upgraded meld (1.8.0-1 -> 1.8.1-1)
    [2013-09-22 21:07] [PACMAN] upgraded mutagen (1.21-1 -> 1.22-1)
    [2013-09-22 21:07] [PACMAN] upgraded python2-mako (0.8.1-2 -> 0.9.0-1)
    [2013-09-22 21:07] [PACMAN] upgraded rtkit (0.11-2 -> 0.11-3)
    [2013-09-22 21:07] [PACMAN] upgraded tcl (8.6.0-6 -> 8.6.1-1)
    [2013-09-22 21:07] [PACMAN] upgraded tk (8.6.0-4 -> 8.6.1-1)
    [2013-09-23 06:00] [PACMAN] Running 'pacman -Syu'
    [2013-09-23 06:00] [PACMAN] synchronizing package lists
    [2013-09-23 06:01] [PACMAN] starting full system upgrade
    [2013-09-23 06:03] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-09-23 06:03] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-2-ARCH
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> ERROR: file not found: `fsck.btrfs'
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> WARNING: No fsck helpers found. fsck will not be run on boot.
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-2-ARCH
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-09-23 06:03] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-23 06:03] [PACMAN] upgraded linux (3.11.1-1 -> 3.11.1-2)
    [2013-09-23 06:03] [PACMAN] upgraded linux-headers (3.11.1-1 -> 3.11.1-2)
    [2013-09-24 07:06] [PACMAN] Running 'pacman -Syu'
    [2013-09-24 07:06] [PACMAN] synchronizing package lists
    [2013-09-24 07:07] [PACMAN] starting full system upgrade
    [2013-09-24 07:08] [PACMAN] upgraded jre7-openjdk-headless (7.u40_2.4.1-3 -> 7.u40_2.4.2-1)
    [2013-09-24 07:08] [PACMAN] upgraded jre7-openjdk (7.u40_2.4.1-3 -> 7.u40_2.4.2-1)
    [2013-09-24 07:08] [PACMAN] upgraded jdk7-openjdk (7.u40_2.4.1-3 -> 7.u40_2.4.2-1)
    [2013-09-24 07:08] [PACMAN] upgraded networkmanager (0.9.8.2-1 -> 0.9.8.4-1)
    [2013-09-24 07:08] [PACMAN] upgraded network-manager-applet (0.9.8.2-1 -> 0.9.8.4-1)
    [2013-09-24 07:08] [PACMAN] upgraded python-setuptools (1.1.5-1 -> 1.1.6-1)
    [2013-09-24 07:08] [PACMAN] upgraded python2-setuptools (1.1.5-1 -> 1.1.6-1)
    [2013-09-24 07:08] [PACMAN] upgraded serf (1.3.1-1 -> 1.3.1-2)
    [2013-09-24 15:41] [PACMAN] Running 'pacman -Syu'
    [2013-09-24 15:41] [PACMAN] synchronizing package lists
    [2013-09-24 15:41] [PACMAN] starting full system upgrade
    [2013-09-24 15:42] [ALPM-SCRIPTLET] Generating locales...
    [2013-09-24 15:42] [ALPM-SCRIPTLET] en_GB.UTF-8... done
    [2013-09-24 15:42] [ALPM-SCRIPTLET] en_GB.ISO-8859-1... done
    [2013-09-24 15:42] [ALPM-SCRIPTLET] en_US.UTF-8... done
    [2013-09-24 15:42] [ALPM-SCRIPTLET] en_US.ISO-8859-1... done
    [2013-09-24 15:42] [ALPM-SCRIPTLET] Generation complete.
    [2013-09-24 15:42] [PACMAN] upgraded glibc (2.18-4 -> 2.18-5)
    [2013-09-24 15:42] [PACMAN] upgraded lib32-glibc (2.18-4 -> 2.18-5)
    [2013-09-24 22:13] [PACMAN] Running 'pacman -Syu'
    [2013-09-24 22:13] [PACMAN] synchronizing package lists
    [2013-09-24 22:14] [PACMAN] starting full system upgrade
    [2013-09-24 22:20] [PACMAN] upgraded cantarell-fonts (0.0.14-1 -> 0.0.15-1)
    [2013-09-24 22:20] [PACMAN] upgraded dialog (1.2_20130902-1 -> 1.2_20130923-1)
    [2013-09-24 22:20] [PACMAN] upgraded libmariadbclient (5.5.33-1 -> 5.5.33.a-1)
    [2013-09-24 22:21] [PACMAN] Running '/usr/bin/pacman -U /home/ngoonee/cower/google-talkplugin/google-talkplugin-4.6.3.0-1-x86_64.pkg.tar.xz'
    [2013-09-24 22:21] [PACMAN] upgraded google-talkplugin (4.5.3.0-1 -> 4.6.3.0-1)
    [2013-09-25 08:30] [PACMAN] Running 'pacman -Syu'
    Last edited by ngoonee (2013-09-26 03:03:29)

    And after scratching my head with different kernels and rebuilding vboxdrv, I dug up an old VDI for this virtual machine and hey presto, doesn't seem to hang. Seems the btrfs errors were the symptom rather than the cause.

  • [SOLVED] MPlayer/Pulseaudio, No audio output

    I can't seem to figure out how to make mplayer's "ao=pulse" option to work.
    It works fine with alsa, but I couldn't find anything definitive on Google about what might be wrong.  I think one of the problems might be that I couldn't find any errors in mplayer's output.
    Here is the verbose output of an example file:
    $ mplayer -v example.mp4
    MPlayer SVN-r35107-4.7.2 (C) 2000-2012 MPlayer Team
    CPU vendor name: GenuineIntel max cpuid level: 11
    CPU: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz (Family: 6, Model: 37, Stepping: 2)
    extended cpuid-level: 8
    extended cache-info: 16801856
    Detected cache-line size is 64 bytes
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
    Compiled with runtime CPU detection.
    get_path('codecs.conf') -> '/home/user/.mplayer/codecs.conf'
    Reading optional codecs config file /home/mike/.mplayer/codecs.conf: No such file or directory
    Reading optional codecs config file /etc/mplayer/codecs.conf: 198 audio & 409 video codecs
    init_freetype
    Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
    get_path('fonts') -> '/home/user/.mplayer/fonts'
    Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-cdparanoia --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --enable-xvmc --enable-radio --enable-radio-capture --disable-vdpau --enable-vaapi --language=all --confdir=/etc/mplayer
    CommandLine: '-v' 'example.mp4'
    Using nanosleep() timing
    get_path('input.conf') -> '/home/user/.mplayer/input.conf'
    Reading optional input config file /home/user/.mplayer/input.conf: No such file or directory
    Parsing input config file /etc/mplayer/input.conf
    Input config file /etc/mplayer/input.conf parsed: 92 binds
    get_path('example.mp4.conf') -> '/home/user/.mplayer/example.mp4.conf'
    Playing example.mp4.
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [file] File size is 2285184 bytes
    STREAM: [file] example.mp4
    STREAM: Description: File
    STREAM: Author: Albeu
    STREAM: Comment: based on the code from ??? (probably Arpi)
    libavformat version 54.25.104 (internal)
    Configuration: --enable-gpl --enable-postproc
    LAVF_check: QuickTime / MOV
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]ISO: File Type Major Brand: mp42
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position before avformat_find_stream_info() is 10279
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]first_dts 14 not matching first dts 0 in que
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]File position after avformat_find_stream_info() is 31013
    ==> Found video stream: 0
    ======= VIDEO Format ======
    biSize 79
    biWidth 640
    biHeight 360
    biPlanes 0
    biBitCount 24
    biCompression 875967048='H264'
    biSizeImage 691200
    Unknown extra header dump: [1] [42] [c0] [1e] [ff] [e1] [0] [18] [67] [42] [c0] [1e] [da] [2] [80] [bf] [e5] [84] [0] [0] [3] [0] [4] [0] [0] [3] [0] [c0] [3c] [58] [ba] [80] [1] [0] [4] [68] [ce] [3c] [80]
    ===========================
    [lavf] stream 0: video (h264), -vid 0
    ==> Found audio stream: 1
    ======= WAVE Format =======
    Format Tag: 20557 (0x504D)
    Channels: 2
    Samplerate: 44100
    avg byte/sec: 12021
    Block align: 1
    bits/sample: 16
    cbSize: 16
    Unknown extra header dump: [12] [10] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
    ==========================================================================
    [lavf] stream 1: audio (aac), -aid 0, -alang und
    LAVF: 1 audio and 1 video streams found
    LAVF: build 3545448
    VIDEO: [H264] 640x360 24bpp 24.000 fps 562.6 kbps (68.7 kbyte/s)
    [V] filefmt:44 fourcc:0x34363248 size:640x360 fps:24.000 ftime:=0.0417
    Clip info:
    major_brand: mp42
    minor_version: 0
    compatible_brands: isommp42
    creation_time: 2013-03-18 01:56:42
    Load subtitles in ./
    get_path('sub/') -> '/home/user/.mplayer/sub/'
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0xeed4a0]demuxer injecting skip 2112
    X11 opening display: :0
    vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
    vo: X11 running at 1600x900 with depth 24 and 32 bpp (":0" => local display)
    [x11] Detected wm supports NetWM.
    [x11] Detected wm supports FULLSCREEN state.
    [x11] Detected wm supports ABOVE state.
    [x11] Detected wm supports BELOW state.
    [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
    [VO_XV] Using Xv Adapter #0 (Intel(R) Textured Video)
    [xv common] Drawing no colorkey.
    [xv common] Maximum source image dimensions: 2048x2048
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 54.53.100 (internal)
    Configuration: --enable-gpl --enable-postproc
    INFO: libavcodec init OK!
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    dec_audio: Allocating 1536000 + 131072 = 1667072 bytes for output buffer.
    FFmpeg's libavcodec audio codec
    INFO: libavcodec "aac" init OK!
    AUDIO: 44100 Hz, 2 ch, s16le, 96.2 kbit/6.81% (ratio: 12021->176400)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
    [libaf] Adding filter dummy
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Trying preferred audio driver 'pulse', options '[none]'
    AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
    AO: Description: PulseAudio audio output
    AO: Author: Lennart Poettering
    Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    [dummy] Was reinitialized: 44100Hz/2ch/s16le
    Starting playback...
    Increasing filtered audio buffer size from 0 to 46144
    Unsupported PixelFormat 61
    Unsupported PixelFormat 81
    Unsupported PixelFormat 61
    [VD_FFMPEG] Trying pixfmt=0.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 61
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=1.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: H.264 VA-API Acceleration)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    Unsupported PixelFormat 81
    [VD_FFMPEG] Trying pixfmt=2.
    [ffmpeg] aspect_ratio: 0.000000
    Unsupported PixelFormat 81
    VDec: vo config request - 640 x 360 (preferred colorspace: Unknown 0x0000)
    Trying filter chain: vo
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    SwScale params: -1 x -1 (-1=no scaling)
    Trying filter chain: scale vo
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    [VD_FFMPEG] Trying pixfmt=3.
    [ffmpeg] aspect_ratio: 0.000000
    VDec: vo config request - 640 x 360 (preferred colorspace: Planar YV12)
    Trying filter chain: vo
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    VO Config (640x360->640x360,flags=0,'MPlayer',0x32315659)
    VO: [xv] 640x360 => 640x360 Planar YV12
    VO: Description: X11/Xv
    VO: Author: Gerd Knorr <[email protected]> and others
    Xvideo image format: 0x32595559 (YUY2) packed
    Xvideo image format: 0x32315659 (YV12) planar
    Xvideo image format: 0x30323449 (I420) planar
    Xvideo image format: 0x59565955 (UYVY) packed
    Xvideo image format: 0x434d5658 (XVMC) planar
    using Xvideo port 75 for hw scaling
    *** [vo] Exporting mp_image_t, 640x360x12bpp YUV planar, 345600 bytes
    Unicode font: 2293 glyphs.
    Unicode font: 2293 glyphs.
    A: 4.3 V: 4.3 A-V: 0.000 ct: 0.042 0/ 0 4% 0% 0.3% 0 0
    Uninit audio filters...
    [libaf] Removing filter dummy
    Uninit audio: ffmpeg
    Uninit video: ffmpeg
    vo: uninit ...
    Exiting... (Quit)
    Is there something else I can check with the MPlayer feedback?
    Also, I'm using mplayer-vaapi, but I took a look at its abs PKGBUILD and it didn't have any configure options disabling pulseaudio.  At least I'm assuming the abs PKGBUILDs reflect the default options that the binaries come with.
    Last edited by mellowmaroon (2013-04-14 05:26:07)

    You were right about it being muted through the PA mixer!  I didn't think about that, and installed pavucontrol.  I figure I'll try to learn how to learn to do it through pactl/pacmd sometime.
    Though, I have "flat-volumes = no" so I have a kind of global maximum volume and normally can set other applications' volumes individually from within the program. Pavucontrol reflects MPD+ncmpcpp volume changes, but apparently doesn't seem to pick up MPlayer's application volume.
    Is there any way to fix MPlayer so it's internal volume adjustment will be the same as what is under Playback in pavucontrol?  Or if it isn't exclusive to MPlayer, is there any way to have all applications start at the 100% playback volume (not the output device volume)?
    EDIT: Quickly found it! Haha I had "softvol=yes" in my config file, I think to try to increase the Alsa volume when I had that on.  Thanks for your help anyway!
    Last edited by mellowmaroon (2013-04-14 05:25:24)

  • [SOLVED][GNOME] Pulseaudio doesn't start

    Hey,
    On cinnamon, pulseaudio starts on startup but with gnome3.8/3.6 pulseaudio doesn't start.
    I always need to start it manually via `pulseaudio --start`.
    Does someone know how to fix this?
    Thanks in advance!
    Last edited by sh4nks (2013-05-01 07:04:20)

    ijanos wrote:Run gnome-session-properties and enable "PulseAudio Sound System"
    Thanks!
    But there wasn't such an entry so I have to add by myself
    If someone is curious how I added it..:
    1. Run `gnome-session-propertiers`
    2. Click on `Add`
    3. Fill in
    `Name` with `PulseAudio Sound System` or something like that and
    `Command` with `start-pulseaudio-x11`
    Thats it!
    Last edited by sh4nks (2013-05-01 07:07:03)

  • [SOLVED] Gnome3 + Pulseaudio?

    Hey guys,
    I've been trying for days to get pulseaudio to work in Gnome3... It doesn't seem to recognize my soundcard. When I run pacman -S gnomemedia-pulse, it asks if I want to replace testing/gnome-media with gnome-media-pulse and testing/gnome-settings-daemon with gnome-settings-daemon-pulse, which are obviously out of date. If I replace it, then booting into Gnome3 gives me a black screen.
    If I ignore those 2 packages, I can boot into Gnome3 perfectly, sound just doesn't work
    I've got an ASUS Xonar DX. Maybe it's not compatible?
    Thanks!
    Update:
    Woohoo! Guess it wasn't a Gnome3 problem.
    sudo modprobe snd-virtuoso got it working.
    Last edited by swiftdemise (2011-04-19 01:51:25)

    swiftdemise wrote:
    Hey guys,
    I've been trying for days to get pulseaudio to work in Gnome3... It doesn't seem to recognize my soundcard. When I run pacman -S gnomemedia-pulse, it asks if I want to replace testing/gnome-media with gnome-media-pulse and testing/gnome-settings-daemon with gnome-settings-daemon-pulse, which are obviously out of date. If I replace it, then booting into Gnome3 gives me a black screen.
    If I ignore those 2 packages, I can boot into Gnome3 perfectly, sound just doesn't work
    I've got an ASUS Xonar DX. Maybe it's not compatible?
    Thanks!
    Uhm... you don't need gnome-media-pulse (which is in extra).  Just gnome-media from testing.

  • [Solved] Control pulseaudio with shell script via pacmd

    Hi,
    i wrote a shell script that switches between the internal sound card and an usb card as soon as i dock my laptop. The script is triggered by an acpi-event that's generated when the laptop is docked.
    Everything works fine, if the script is run from the command line as the user that started pulseaudio. But if it's started by the acpi-event it can't connect to the pulseaudio server. it's run as:
    su --login my_user -c "/usr/local/sbin/toggle-sink.sh"
    where my_user is the user who started pulseaudio. i get the error:
    No PulseAudio daemon running, or not running as session daemon.
    How can i fix this? Somebody has an idea?
    ccc1
    Last edited by ccc1 (2013-01-05 11:06:03)

    PulseAudio uses some environment variables and X11 properties on the root window. You probably need a way to fake these.
    Have you tried something like
    export DISPLAY=":0"
    In the script, so it knows on which display these values are stored?
    You can also try running "pavucontrol" or "paman"(AUR) from the script, so it pops a window that is supposed to connect to PulseAudio. You might get a working pavucontrol window (which means pacmd and pactl should work), or a more detailled error message.
    If this still doesn't work, you may also try running it in system-wide mode, so everybody has access to it including your script.

Maybe you are looking for

  • Error while creating JVM -Urgent

    This is my Java program - Prog.java public class Prog { public static void main(String[] args) { System.out.println("Hello World" + args[0]); This is my c program --invoke.c include <jni.h> #ifdef _WIN32 #define PATH_SEPARATOR ';' #else /* UNIX */ #d

  • Creation of a Popup Menu for a Tree Node

    Hi Ppl,   I need to create a Pop-up Menu for a tree node in WebDynpro Application, please give me a "How to .." sort of material or a link which would have same sort of information... Also, My requirement is to call the pop-up on the right click of m

  • [SOLVED] Connecting extra Monitor, laptop screen goes black.

    Whenever i connect a additional monitor through HDMI (my only output), the laptop screen goes black. If i do FN + external_monitor switch, then the laptop screen turns on but the external monitor turns off. If you move the mouse you can feel that the

  • Force z-sorting of objects?

    I am trying to create a 3d interface that displays on top/front of the 3d scene. I have different objects I want to display in the correct order but because of perspectives of different cameras, and the moving/animating of some objects, they don't al

  • Portal connection test for connector giving error.

    Hi All, In the portal , No connection to system SAP_BW found: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested excepti