Audio/Video Broke on Ubuntu 12.04

Asked by emerald_knight

System specks from Second Life Viewer.

CPU: AMD Athlon(tm) Processor LE-1600 (2200 MHz)
Memory: 3828 MB
OS Version: Linux 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64
Graphics Card Vendor: VMware, Inc. ~This is wrong.~
Graphics Card: Gallium 0.4 on llvmpipe (LLVM 0x300) ~This is wrong.~
OpenGL Version: 1.4 (2.1 Mesa 8.0.4)

Viewer SSE Version: SSE2
libcurl Version: libcurl/7.24.0 OpenSSL/1.0.0g zlib/1.2.6 c-ares/1.7.5 libidn/1.23
J2C Decoder Version: OpenJPEG: 1.4.0.635, Runtime: 1.4.0.635
Audio Driver Version: (none)
Qt Webkit Version: 4.7.1 (version number hard-coded)

Actuall video and sound card information from Sysinfo

VGA compatible controller
 VIA Technologies, Inc. K8M980CE/K8N890CE [Crome 9] (rev 11) (prog-if 00 [VGA controller])

 Subsystem: ASUSTek Computer Inc. Device 8297

Multimedia audio controller
 VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)
 Subsystem: ASUSTek Computer Inc. Device 8290

ALSA info
http://www.alsa-project.org/db/?f=3ac62140a79753b0b904e1c5198d536cfdb8e527

OpenChrome, ALSA, and PulseAudio are all installed, but not running.
No Audio output on my desktop, but Dummy only on my wifes.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
emerald_knight
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Those chrome GPUs don't do well under ubuntu. You will only get 2D acceleration at best

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#2

I'm still having problems with no sound card.

On Wed, Jan 2, 2013 at 5:01 PM, actionparsnip
<email address hidden> wrote:
> Your question #218139 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/218139
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Those chrome GPUs don't do well under ubuntu. You will only get 2D
> acceleration at best
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/218139/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/218139
>
> You received this question notification because you asked the question.

Revision history for this message
Daniel Letzeisen (dtl131) said :
#3

There is no hardware 3D acceleration for most VIA GPU's, so they use a generic CPU/software driver (which is slow, but better than no 3D accel at all). The software driver is llvmpipe and it was written by VMWare, so that part's correct.

As for your sound, the kernel module is missing/borked. I would recommend installing this .deb and rebooting: https://code.launchpad.net/~ubuntu-audio-dev/+archive/alsa-daily/+files/alsa-hda-dkms_0.201212202005%7Eprecise1_all.deb

If audio still isn't working, run the alsa info script again and see if the !!Soundcards recognised by ALSA----------------------- section is no longer blank. If an audio card appears there, repost the updated alsa info.

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#4

I have sound before I log in, and had sound for a few minutes, and then it went silent when I reopened Rythembox.

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See '/home/emerald/alsa-info.sh --help' for command line options.

Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=fa96173850bbe0f98f4195d566dc31580ac27dac

Please inform the person helping you.

Revision history for this message
Daniel Letzeisen (dtl131) said :
#5

Hmm. My suggestion is to make a verbose pulseaudio log, and kill pulseaudio as soon as you lose sound (since it seems like your driver is okay now). I'm not good at reading them, but I will look at it.

Also, when the sound dies, look at the last lines of dmesg.
dmesg | tail -n 50

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#6

Kind of new to this. I've never had this kid of issue with Ubuntu
before. I'm still a noob. lol

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#7

Here is the Verbose log.

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#8

Looks like the attachment didn't carry though the mail. BTW The only thing I can get sound out of is Audacity. I can actaully select the sound card as output in it. The default sound has RTP Multicast and Simultaneous Output with no input.

( 0.000| 0.000) I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
( 0.000| 0.000) I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
( 0.000| 0.000) D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
( 0.027| 0.027) D: [pulseaudio] core-util.c: RealtimeKit worked.
( 0.027| 0.000) I: [pulseaudio] core-util.c: Successfully gained nice level -11.
( 0.027| 0.000) I: [pulseaudio] main.c: This is PulseAudio 2.0
( 0.028| 0.000) D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
( 0.028| 0.000) D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
( 0.028| 0.000) D: [pulseaudio] main.c: Running on host: Linux x86_64 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012
( 0.028| 0.000) D: [pulseaudio] main.c: Found 1 CPUs.
( 0.028| 0.000) I: [pulseaudio] main.c: Page size is 4096 bytes
( 0.028| 0.000) D: [pulseaudio] main.c: Compiled with Valgrind support: no
( 0.028| 0.000) D: [pulseaudio] main.c: Running in valgrind mode: no
( 0.028| 0.000) D: [pulseaudio] main.c: Running in VM: no
( 0.028| 0.000) D: [pulseaudio] main.c: Optimized build: yes
( 0.028| 0.000) D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
( 0.028| 0.000) I: [pulseaudio] main.c: Machine ID is be941418ba995e71db1162180000000d.
( 0.028| 0.000) I: [pulseaudio] main.c: Session ID is be941418ba995e71db1162180000000d-1357369444.775977-921760189.
( 0.028| 0.000) I: [pulseaudio] main.c: Using runtime directory /home/emerald/.pulse/be941418ba995e71db1162180000000d-runtime.
( 0.028| 0.000) I: [pulseaudio] main.c: Using state directory /home/emerald/.pulse.
( 0.028| 0.000) I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-2.0/modules.
( 0.028| 0.000) I: [pulseaudio] main.c: Running in system mode: no
( 0.029| 0.000) I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
( 0.029| 0.000) D: [pulseaudio] memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
( 0.029| 0.000) I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT
( 0.029| 0.000) I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
( 0.029| 0.000) I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
( 0.029| 0.000) I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
( 0.029| 0.000) I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
( 0.029| 0.000) I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
( 0.029| 0.000) I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
( 0.031| 0.001) D: [pulseaudio] database-tdb.c: Opened TDB database '/home/emerald/.pulse/be941418ba995e71db1162180000000d-device-volumes.tdb'
( 0.031| 0.000) I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/emerald/.pulse/be941418ba995e71db1162180000000d-device-volumes'.
( 0.031| 0.000) I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
( 0.031| 0.000) D: [pulseaudio] database-tdb.c: Opened TDB database '/home/emerald/.pulse/be941418ba995e71db1162180000000d-stream-volumes.tdb'
( 0.031| 0.000) I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/emerald/.pulse/be941418ba995e71db1162180000000d-stream-volumes'.
( 0.031| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
( 0.031| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry0
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry1
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry2
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry3
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry4
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry5
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry6
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry7
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry8
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry9
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry10
( 0.032| 0.000) D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1.RestoreEntry added for object /org/pulseaudio/stream_restore1/entry11
( 0.032| 0.000) I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
( 0.040| 0.008) D: [pulseaudio] database-tdb.c: Opened TDB database '/home/emerald/.pulse/be941418ba995e71db1162180000000d-card-database.tdb'
( 0.040| 0.000) I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/emerald/.pulse/be941418ba995e71db1162180000000d-card-database'.
( 0.040| 0.000) I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
( 0.041| 0.000) I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
( 0.041| 0.000) D: [pulseaudio] cli-command.c: Checking for existence of '/usr/lib/pulse-2.0/modules/module-udev-detect.so': success
( 0.042| 0.001) D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
( 0.043| 0.000) D: [pulseaudio] module-udev-detect.c: /devices/pci0000:20/0000:20:01.0/sound/card0 is busy: yes
( 0.043| 0.000) I: [pulseaudio] module-udev-detect.c: Found 1 cards.
( 0.043| 0.000) I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #4; argument: "").
( 0.043| 0.000) D: [pulseaudio] cli-command.c: Checking for existence of '/usr/lib/pulse-2.0/modules/module-jackdbus-detect.so': failure
( 0.043| 0.000) D: [pulseaudio] cli-command.c: Checking for existence of '/usr/lib/pulse-2.0/modules/module-bluetooth-discover.so': failure
( 0.043| 0.000) D: [pulseaudio] cli-command.c: Checking for existence of '/usr/lib/pulse-2.0/modules/module-esound-protocol-unix.so': failure
( 0.053| 0.009) I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
( 0.053| 0.000) D: [pulseaudio] cli-command.c: Checking for existence of '/usr/lib/pulse-2.0/modules/module-gconf.so': success
( 0.107| 0.053) D: [pulseaudio] module-gconf.c: Loading module 'module-native-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
( 0.108| 0.001) I: [pulseaudio] module.c: Loaded "module-native-protocol-tcp" (index: #6; argument: "auth-anonymous=1").
( 0.108| 0.000) D: [pulseaudio] module-gconf.c: Loading module 'module-esound-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
( 0.109| 0.000) E: [pulseaudio] module.c: Failed to open module "module-esound-protocol-tcp": file not found
( 0.109| 0.000) E: [pulseaudio] module-gconf.c: pa_module_load() failed
( 0.109| 0.000) D: [pulseaudio] module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
( 0.116| 0.006) D: [pulseaudio] module-zeroconf-publish.c: Publishing services in Zeroconf
( 0.122| 0.006) I: [pulseaudio] module.c: Loaded "module-zeroconf-publish" (index: #7; argument: "").
( 0.122| 0.000) D: [pulseaudio] module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
( 0.129| 0.007) I: [pulseaudio] module.c: Loaded "module-zeroconf-discover" (index: #8; argument: "").
( 0.129| 0.000) D: [pulseaudio] module-gconf.c: Loading module 'module-combine' with args '' due to GConf configuration.
( 0.130| 0.000) W: [pulseaudio] module.c: module-combine is deprecated: Please use module-combine-sink instead of module-combine!
( 0.130| 0.000) W: [pulseaudio] module-combine.c: We will now load module-combine-sink. Please make sure to remove module-combine from your configuration.
( 0.130| 0.000) I: [pulseaudio] module-device-restore.c: Restoring volume for sink combined.
( 0.130| 0.000) I: [pulseaudio] module-device-restore.c: Restoring mute state for sink combined.
( 0.131| 0.000) I: [pulseaudio] sink.c: Created sink 0 "combined" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
( 0.131| 0.000) I: [pulseaudio] sink.c: device.class = "filter"
( 0.131| 0.000) I: [pulseaudio] sink.c: device.description = "Simultaneous Output"
( 0.131| 0.000) I: [pulseaudio] sink.c: device.icon_name = "audio-card"
( 0.131| 0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 0.131| 0.000) I: [pulseaudio] source.c: Created source 0 "combined.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
( 0.131| 0.000) I: [pulseaudio] source.c: device.description = "Monitor of Simultaneous Output"
( 0.131| 0.000) I: [pulseaudio] source.c: device.class = "monitor"
( 0.131| 0.000) I: [pulseaudio] source.c: device.icon_name = "audio-input-microphone"
( 0.131| 0.000) D: [combine] module-combine-sink.c: Thread starting up
( 0.148| 0.016) D: [combine] core-util.c: RealtimeKit worked.
( 0.148| 0.000) I: [combine] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 6.

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#9

Got it working for now. I was missing an ALSA mixer to control the sound
levels.

Revision history for this message
emerald_knight (campy-tv-batman-phill) said :
#10

Sound is choppy at times, but I'm sure this is due to the graphics card and sound card both being integrated.