Ubuntu

Could not get/set settings from/on resource.

Reported by David on 2006-07-09
10
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
Medium
Ubuntu Audio Team
totem (Ubuntu)
Undecided
Unassigned

Bug Description

I get the above error whenever i try to play any sound or movie files. even the sample files

Daniel Holbach (dholbach) wrote :

Thakns for your bug report. Which version of totem and Ubuntu do you use? Do you use totem-xine or totem-gstreamer? Can you start totem from the terminal and copy the output here?

Changed in totem:
assignee: nobody → desktop-bugs
importance: Untriaged → Medium
status: Unconfirmed → Needs Info
David (jdwalker76) wrote :

Daniel,

I am running the version of totem that came with my download of Ubuntu 6.06 alternate i386, which is totem-gstreamer. I also see the same error when I boot up with the live CD version.

When I ran totem in the terminal window it didn’t generate any external messages or error codes, and only gives me the error message "Could not get/set settings from/on resource" when I try and play any of the files included in the examples.

Other things to Note:

I receive the same error message when I use the juicer program
The system will not play an audio CD
I have sound when I log in and log out and can change and hear system sounds (log on, log off ect)
My sound card is an Aureal vortex with the 8830 chip

Please let me know what other information you need

Dave

David (jdwalker76) wrote :

I was able to resolve this problem by changing out my sound card. I went from a Turtle Beach sound card to a Cobra sound card.

The Audio Chip on the Turtle Beach sound card is a AU8830A2

Dave

Sebastien Bacher (seb128) wrote :

not an application bug, looks like your soundcard was not configured correctly. Could you get "dmesg" and "lspci" logs with it?

Changed in totem:
assignee: desktop-bugs → nobody
NigelK (nigel-kennington) wrote :

I'm getting this same bug and would love to help with the dmesg and lspci logs if you can point me at how to get them.

Sebastien Bacher (seb128) wrote :

Open a command line and just enter the name of those commands on it

NigelK (nigel-kennington) wrote :
Download full text (17.8 KiB)

Which gets us...

DMESG

[17179569.184000] Linux version 2.6.15-26-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Mon Jul 17 19:52:53 UTC 2006
[17179569.184000] BIOS-provided physical RAM map:
[17179569.184000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[17179569.184000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[17179569.184000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[17179569.184000] BIOS-e820: 0000000000100000 - 000000003fff0000 (usable)
[17179569.184000] BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS)
[17179569.184000] BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data)
[17179569.184000] BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
[17179569.184000] BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
[17179569.184000] BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
[17179569.184000] 127MB HIGHMEM available.
[17179569.184000] 896MB LOWMEM available.
[17179569.184000] found SMP MP-table at 000f5d20
[17179569.184000] On node 0 totalpages: 262128
[17179569.184000] DMA zone: 4096 pages, LIFO batch:0
[17179569.184000] DMA32 zone: 0 pages, LIFO batch:0
[17179569.184000] Normal zone: 225280 pages, LIFO batch:31
[17179569.184000] HighMem zone: 32752 pages, LIFO batch:7
[17179569.184000] DMI 2.3 present.
[17179569.184000] ACPI: RSDP (v000 AWARD ) @ 0x000f7690
[17179569.184000] ACPI: RSDT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3000
[17179569.184000] ACPI: FADT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff3040
[17179569.184000] ACPI: MADT (v001 AWARD AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3fff6a40
[17179569.184000] ACPI: DSDT (v001 AWARD AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
[17179569.184000] ACPI: PM-Timer IO Port: 0x1008
[17179569.184000] ACPI: Local APIC address 0xfee00000
[17179569.184000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[17179569.184000] Processor #0 6:8 APIC version 16
[17179569.184000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[17179569.184000] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[17179569.184000] IOAPIC[0]: apic_id 2, version 20, address 0xfec00000, GSI 0-23
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[17179569.184000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
[17179569.184000] ACPI: IRQ0 used by override.
[17179569.184000] ACPI: IRQ2 used by override.
[17179569.184000] ACPI: IRQ9 used by override.
[17179569.184000] Enabling APIC mode: Flat. Using 1 I/O APICs
[17179569.184000] Using ACPI (MADT) for SMP configuration information
[17179569.184000] Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
[17179569.184000] Built 1 zonelists
[17179569.184000] Kernel command line: root=/dev/hda4 ro quiet splash
[17179569.184000] mapped APIC to ffffd000 (fee00000)
[17179569.184000] mapped IOAPIC to ffffc000 (fec00000)
[17179569.184000] Initializing CPU#0
[17179569.184000] PID hash table entries: 4096 (order: 12, 65536 bytes)
[17179569.184000] Detected 1834.017 MHz processor.
[17179569.184000] Using pmtmr for high-res times...

NigelK (nigel-kennington) wrote :

and...

LSPCI

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
0000:00:05.0 IDE interface: Silicon Integrated Systems [SiS] RAID bus controller 180 SATA/PATA [SiS] (rev 01)
0000:00:0a.0 Multimedia audio controller: Aureal Semiconductor Vortex 2 (rev fe)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)

NigelK (nigel-kennington) wrote :

Anything else I can get for you?

Sebastien Bacher (seb128) wrote :

Reassigning to alsa-lib and ubuntu-audio team, maybe they have an idea on it

Jerzy Pisanko (jpisanko) wrote :

Hello,
I have this same problem with my sound card AU8830.

Additional information:

command:
gstreamer-properties
gives:
gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'polypsink'
gstreamer-properties-Message: Skipping unavailable plugin 'sdlvideosink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'v4l2src'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Skipping unavailable plugin 'polypsrc'

for output (alsasink) test I get:
gstreamer-properties-Message: Error running pipeline 'ALSA - Advanced Linux Soun d Architecture': Could not get/set settings from/on resource. [gstalsasink.c(666 ): set_hwparams (): /pipeline0/alsasink1:
Unable to set buffer time 200000 for playback: Zły argument]

for input (alsasrc) test I get:
gstreamer-properties-Message: Error running pipeline 'ALSA - Advanced Linux Sound Architecture': Could not get/set settings from/on resource. [gstalsasink.c(666): set_hwparams (): /pipeline1/alsasink2:
Unable to set buffer time 200000 for playback: Zły argument]

(from page:
http://www.sabi.co.uk/Notes/linuxSoundALSA.html)
command:
 dd if=/dev/urandom bs=8000 count=1 | aplay -D plughw:0,0
Odtwarzanie surowe dane 'stdin' : Unsigned 8 bit, Częstotliwość 8000 Hz, Mono
1+0 records in
1+0 records out
I can hear sound

I can use Skype (I hear my interlocutor and he hear me) but I do not hear any ring-signal.

When I try play any sound file (for example from Skype: call_in.wav - using Totem) I receive messages:
1. Could not get/set settings from/on resources.
2. Internal data flow error.

Best Regards,
Jerzy Pisanko

Andrew Banks (banksand) wrote :

I have this same error ("Could not get/set settings from/on resource"). System sounds play, but CDs and sample video and audio files do not.

I use Dapper and have gstreamer-0.10-alsa.

Maybe I need to change the setting for the sound card. The Device Manager says I have an "Aureal Semiconductor Vortex 2," but I really have a Yamaha 724. But I do not know how to change the driver in Ubuntu.

> Reassigning to alsa-lib and ubuntu-audio team, maybe they have an idea on it.

Well? It's been more than two months. Have those teams any thoughts?

Andrew Banks (banksand) wrote :

I fixed it! On the command line, enter:

gstreamer-properties

A window for the Multimedia Systems Selector pops up. For "Default Output Plugin", change it to "ESD - Enlightenment Sound Daemon."

Now CDs play!

Daniel T Chen (crimsun) wrote :

Worked around using esound.

Changed in totem:
status: Unconfirmed → Rejected
Changed in alsa-lib:
status: Unconfirmed → Rejected
Noel J. Bergman (noeljb) wrote :

FWIW, I've just seen this with totem in Jaunty. Switching from gstreamer backend to xine backend took care of it.

Raymond (superquad-vortex2) wrote :

Soun d Architecture': Could not get/set settings from/on resource.
 [gstalsasink.c(666 ): set_hwparams (): /pipeline0/alsasink1:

This is because au88x0 driver require the period_size to be power of two

      snd_pcm_hw_constraint_integer(runtime,
        SNDRV_PCM_HW_PARAM_PERIODS)

      snd_pcm_hw_constraint_pow2(runtime, 0,
     SNDRV_PCM_HW_PARAM_PERIOD_BYTES)

This is no enough for alsa-lib to refine the hardware parameters (buffer_size, period_size ,period , buffer_time, period_time ) when application (e.g. gstreamer, wine) call snd_pcm_hw_params_set_buffer_time_near() or snd_pcm_hw_params_set_period_time_near()

possible fix may be adding another constraint for buffer_bytes to help alsa-lib to refine that hardware parameters

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers