You are not logged in.

#1 2019-12-27 11:45:54

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Flushing DNS cache?

I'm experiencing a problem with Spotify web player, as it isn't playing anything at all. One of the solutions I've run into advise to "flush DNS cache".

Ho to do that under Arch?


"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

#2 2019-12-27 13:11:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,431

Re: Flushing DNS cache?

Depends on your network configuration, what are you using? If you didn't knowingly set this up, the answer is likely to be you are not caching a DNS. So you should elaborate on the actual issue. What does "isn't playing anything at all" mean exactly? Does the progress bar not continue? What's your audio setup? What are the outputs of

sudo fuser -v /dev/snd/*
#If using pulse
pacmd list-sinks
pacmd list-sink-inputs

Online

#3 2019-12-28 21:45:03

Zibi1981
Member
From: Poland
Registered: 2008-01-31
Posts: 628

Re: Flushing DNS cache?

I didn't set DNS caching, at least I don't remember doing this.
The play button can be clicked, but nothing happens, there is no sound, no progress etc. Spotify native Linux client build from AUR works perfectly, although I'm not satisfied with the sound quality (s16le, 44,1kHz only).

LC_ALL=C sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  zbyszek    1284 F.... pulseaudio
/dev/snd/controlC1:  zbyszek    1284 F.... pulseaudio
/dev/snd/pcmC0D0p:   zbyszek    1284 F...m pulseaudio
LC_ALL=C pacmd list-sinks
3 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9039
        volume: front-left: 32768 /  50% / -18,06 dB,   front-right: 32768 /  50% / -18,06 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 90,09 ms
        max request: 67 KiB
        max rewind: 67 KiB
        monitor source: 0
        sample spec: s32le 2 k 96000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 90,00 ms; range is 0,50 .. 2000,00 ms
        card: 1 <alsa_card.pci-0000_00_1f.3>
        module: 7
        properties:
                alsa.resolution_bits = "32"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC1220 Analog"
                alsa.id = "ALC1220 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x9a210000 irq 156"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.product.name = "Cannon Lake PCH cAVS"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "1536000"
                device.buffering.fragment_size = "768000"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analogowe stereo"
                device.description = "Wbudowany dźwięk Analogowe stereo"
                alsa.mixer_name = "Realtek ALC1220"
                alsa.components = "HDA:10ec1220,1462121c,00100101"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Głośniki (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
        active port: <analog-output-speaker>
    index: 1
        name: <PulseEffects_apps>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: (none)
        priority: 9000
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 8,80 ms
        max request: 7 KiB
        max rewind: 0 KiB
        monitor source: 1
        sample spec: float32le 2 k 96000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 2
        configured latency: 10,00 ms; range is 0,50 .. 50,00 ms
        module: 27
        properties:
                device.description = "PulseEffects(apps)"
                device.class = "sound"
                device.icon_name = "audio-card"
    index: 2
        name: <PulseEffects_mic>
        driver: <module-null-sink.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9000
        volume: front-left: 52432 /  80% / -5,81 dB,   front-right: 52432 /  80% / -5,81 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 37 KiB
        max rewind: 0 KiB
        monitor source: 2
        sample spec: float32le 2 k 96000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 50,00 ms
        module: 28
        properties:
                device.description = "PulseEffects(mic)"
                device.class = "sound"
                device.icon_name = "audio-card"
LC_ALL=C pacmd list-sink-inputs
2 sink input(s) available.
    index: 4
        driver: <protocol-native.c>
        flags: START_CORKED 
        state: RUNNING
        sink: 0 <alsa_output.pci-0000_00_1f.3.analog-stereo>
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        muted: no
        current latency: 73,68 ms
        requested latency: 90,00 ms
        sample spec: float32le 2 k 96000 Hz
        channel map: front-left,front-right
                     Stereo
        resample method: copy
        module: 12
        client: 15 <PulseEffects>
        properties:
                application.id = "com.github.wwmm.pulseeffects.sinkinputs"
                media.name = "Playback Stream"
                application.name = "PulseEffects"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "33"
                application.icon_name = "pulseeffects"
                application.process.id = "1504"
                application.process.user = "zbyszek"
                application.process.host = "titanlinux"
                application.process.binary = "pulseeffects"
                application.language = "pl_PL.UTF-8"
                window.x11.display = ":0"
                application.process.machine_id = "e6356ef8461349318707a27e3626d5ed"
                application.process.session_id = "2"
                module-stream-restore.id = "sink-input-by-application-id:com.github.wwmm.pulseeffects.sinkinputs"
    index: 131
        driver: <protocol-native.c>
        flags: START_CORKED FIX_RATE 
        state: RUNNING
        sink: 1 <PulseEffects_apps>
        volume: front-left: 55705 /  85% / -4,24 dB,   front-right: 55705 /  85% / -4,24 dB
                balance 0,00
        muted: no
        current latency: 2022,00 ms
        requested latency: 40,00 ms
        sample spec: float32le 2 k 48000 Hz
        channel map: front-left,front-right
                     Stereo
        resample method: soxr-vhq
        module: 12
        client: 79 <juk>
        properties:
                media.role = "music"
                media.name = "audio stream"
                application.name = "juk"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "33"
                application.id = "org.kde.phonon.juk"
                application.version = "19.12.0"
                application.icon_name = "juk"
                application.language = "pl_PL.UTF-8"
                application.process.id = "9256"
                application.process.user = "zbyszek"
                application.process.host = "titanlinux"
                application.process.binary = "juk"
                window.x11.display = ":0"
                application.process.machine_id = "e6356ef8461349318707a27e3626d5ed"
                application.process.session_id = "2"
                module-stream-restore.id = "sink-input-by-media-role:music"

"... being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."

MSI Raider GE78HX 13VI-032PL

Offline

Board footer

Powered by FluxBB