I have recently switched over to Ubuntu 24.04 and I hear crackling sounds more often why is it and how can I fix it?
Emanuele's questions
Recently I'm having an issue for which audio crackles when I run VirtualBox in Ubuntu 20.04.
If I then execute pulseaudio -k
it does fix it (upon restarting programs), but still this workaround is not great.
Sometimes (much rarely though) this also happens without opening VirtualBox, just by watching a video on Firefox.
I currently have the HWE kernel 5.8.0-59-generic #66~20.04.1-Ubuntu
and my audio system is the onboard analog device as following (aplay --list-device
):
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
And this is what reported by lspci -v
:
10:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASRock Incorporation Starship/Matisse HD Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 135
Memory at fcb00000 (32-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Not sure what to do next? How could I debug/investigate this further?
Thanks!
I've read around that now it should be possible to have kernel 5.8 with HWE 20.04.2. Looks like this was released last week, but my 20.04 system is still on 5.4.
I've seen this answer and can clearly see that the kernel should be available.
What about xorg? Another user is suggesting the following:
sudo apt-get install --install-recommends linux-generic-hwe-20.04 xserver-xorg-hwe-20.04
Unfortunately I get the errors
E: Unable to locate package xserver-xorg-hwe-20.04
E: Couldn't find any package by glob 'xserver-xorg-hwe-20.04'
E: Couldn't find any package by regex 'xserver-xorg-hwe-20.04'
Am I doing something wrong? Or the xorg packages are not anymore on HWE upgrade cycles?
Thanks!
appendix
ma@scv:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Would like to install HWE packages for my 20.04 Ubuntu, not sure if the kernel has been updated or not yet (to which there would be no point in doing for now).
How can I list what version of the kernel would be used by upgrading the HWE packages? OR Where can I find such info?
Thanks
As per subject I'm trying to install the drivers version 455 on Ubuntu 20.04. I have enabled the ppa:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
And I can see the drivers as package nvidia-graphics-drivers-455
.
But when I try to install them with
ema@scv:~$ sudo apt install nvidia-graphics-drivers-455
I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-graphics-drivers-455
Output of update
and dist-upgrade
ema@scv:~$ sudo apt update && sudo apt dist-upgrade
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://archive.canonical.com/ubuntu focal InRelease
Hit:5 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
Hit:6 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:8 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:9 https://download.virtualbox.org/virtualbox/debian focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
N: Skipping acquisition of configured file 'contrib/binary-i386/Packages', as repository 'https://download.virtualbox.org/virtualbox/debian focal InRelease' doesn't support architecture 'i386'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Now I'm getting the package nvidia-driver-455
, but it tells me the following:
ema@scv:~$ sudo apt install nvidia-driver-455
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
nvidia-driver-455 : Depends: libnvidia-gl-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: nvidia-dkms-455 (<= 455.23.04-1) but it is not going to be installed
Depends: nvidia-dkms-455 (>= 455.23.04) but it is not going to be installed
Depends: nvidia-kernel-source-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-extra-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: nvidia-compute-utils-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-decode-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-encode-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: nvidia-utils-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-cfg1-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-ifr1-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Depends: libnvidia-fbc1-455 (= 455.23.04-0ubuntu0~0.20.04.1) but it is not going to be installed
Recommends: libnvidia-compute-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
Recommends: libnvidia-decode-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
Recommends: libnvidia-encode-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
Recommends: libnvidia-ifr1-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
Recommends: libnvidia-fbc1-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
Recommends: libnvidia-gl-455:i386 (= 455.23.04-0ubuntu0~0.20.04.1)
E: Unable to correct problems, you have held broken packages.
Not sure what's going on. Has anyone any Idea why this would happen?
Thanks!
As per subject I would like to know what are the fonts that Ubuntu console uses, especially the eastern Unicode.
I tried loading the Ubuntu Monospace both regular and bold, but seems like all the eastern utf8 glyphs are missing.
How does the Ubuntu terminal display such glyphs?
What fonts does it use?
As per subject would like to efficiently record 3d games/3d apps running full screen.
I have an Nvidia 2080 Ti and I've heard about NVENC and obs-studio.
Has anyone any suggestion? Can I just use it out of the Ubuntu PPAs?
Thanks!
I've just bought a Gigabyte Technology Co., Ltd. Z370 AORUS Ultra Gaming-CF
, using it with an i7-8700k
.
Issue I have is that I can't get the fan speed and whatnot - just CPU temperatures with coretemp.
I've raised a bug on https://github.com/groeck/lm-sensors/issues/44 to ask the author if I should do anything, he suggested loading the driver it87
. I have to say, when I run sensors-detect
, it doesn't come suggested, hence not sure what I should do next.
I'm running kernel 4.10.0-42-generic
.
Thanks!
I have a Xonar D1 installed and I can see it in aplay -l
, in pavucontrol
, in sound
and all other applications.
I can select its microphone in, its analogue stereo output and other options. When I play mp3, music and other audio source, I can see in the different sound utilities that the sound itself is being sent to the card.
According to what I observed, it should work just fine.
But it does not.
On Ubuntu 16.04 I can only use the microphone in, but the out doesn't work. I simply hear nothing. Instead, on Ubuntu 16.10, fresh from bootable USB stick, it works as intended.
I have tried many different solutions:
pulseaudio -k && sudo alsa force-reload
. Didn't help.sudo apt-get remove --purge alsa-base pulseaudio
, followed bysudo rm /var/lib/alsa/asound.state
and then bysudo apt-get install alsa-base pulseaudio
. Didn't help.
This is my aplay -l
:
**** List of PLAYBACK Hardware Devices ****
card 0: D1 [Xonar D1], device 0: Multichannel [Multichannel]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: D1 [Xonar D1], device 1: Digital [Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
pulseaudio
I'm using is version 8.0, packages repositories I use are:
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Hit:3 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Get:5 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:6 http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu xenial InRelease
Ign:7 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 InRelease
Hit:8 http://ppa.launchpad.net/wine/wine-builds/ubuntu xenial InRelease
Hit:9 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release
Get:10 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
What should I do next? Any idea? How should I reset all the configuration files related to sound? I'm really speechless at this point...
Thanks!
Since today, 14 Aug 2016, Skype can't connect from my Ubuntu 16.04 x64 installation. I've tried removing it and reinstalling it without success. I was able to use it 3 days ago.
Any suggestion?
I'm running kernel 4.7.
I have the following lspci -nn
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
...
09:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360] [1002:6900] (rev ff)
How can I make sure to use the R7 with radeon drivers on 16.04?
Thanks!
I have just upgraded from 14.04 to 16.04 and lspci -nn
reports:
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
...
09:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360] [1002:6900] (rev ff)
If I run glxinfo
instead I get:
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile
How can I enable my R7 GPU and use it? Am I supposed to use the AMDGPU driver? Any suggestion to get decent OpenGL acceleration? I don't want to use the integrated i5...
Thanks for your help!
As per subject, when I try to transfer files to my Android devices (Samsung tablet, HTC phone, ...) via MTP, the screen freezes/locks. I have to resort using the network and the speeds there are just ~1MB/s. Not ideal when you want to transfer GBs of files...
What can I do?
Suppose I could use both a wired and wireless connection; now, let's say I want to run firefox using the wireless and steam using the wired, how can I achieve that? How can I plug them in? First connect wired then wireless? Then, what should I do next? I'm using Ubuntu 14.04 64.
Cheers!
Can you please suggest a good wireless xbox-360 compatible pad (rechargeable via USB) which would work out of the box with Ubuntu 14.04+ and steam?
Cheers
My kernel is currently
Linux scv 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
But I know it should be
3.13.0-45-generic #74Why is it not updated by default on my pc upon execution of
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
Any idea? How can I fix this?
EDIT:
executing
ema@scv:~$ cat /etc/issue Ubuntu 14.04.2 LTS \n \lreports 14.04.2 apparently...
EDIT2:
on my other computer, with a fresher install of Ubuntu 14.04, I got 3.13.0-45-generic #74...
EDIT3:
all the repos/ppa
ema@scv:~$ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/* deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb http://gb.archive.ubuntu.com/ubuntu/ trusty universe deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty universe deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe deb http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://security.ubuntu.com/ubuntu trusty-security universe deb-src http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse deb http://archive.canonical.com/ubuntu trusty partner deb-src http://archive.canonical.com/ubuntu trusty partner deb http://extras.ubuntu.com/ubuntu trusty main deb-src http://extras.ubuntu.com/ubuntu trusty main deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu trusty main deb http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu trusty main deb http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main deb http://ppa.launchpad.net/osmoma/audio-recorder/ubuntu trusty main deb http://ppa.launchpad.net/pipelight/stable/ubuntu trusty main deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main deb http://ppa.launchpad.net/stebbins/handbrake-snapshots/ubuntu trusty main deb http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu trusty main deb http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu trusty main deb http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main deb http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu trusty main deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu trusty main deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu trusty main
I've installed a brand new GTX 980 and my Xonar audio card (plugged in!) has suddenly disappeared (I'm using one HDMI and DVI port for my two displays).
In order to listen to something I had to re-enable onboard audio, but I would want to use my Xonar, not the rubbish onboard solution.
Any idea?
Cheers!
I can connect and use my PS3 pad with the USB wire without issues, and then using xboxdrv I'm able to fully use it as an xbox pad under Steam.
Only issue is that I'd like to use it as a wireless device.
I've got bluetooth enabled but I don't seem to be able to link it and use it neither wireless neither with xboxdrv.
I'm using Ubuntu 12.04 (latest LTS).
Any idea?
Thanks!
apparently my system is crashing (i.e. the screen is frozen, but I can connect via ssh
- kill -9 -1
doesn't kill all my processes though) when I play intensive videogames/3D benchmarks (SC2
, HoN
and the Unigine Valley
benchmark).
What I've experienced so far is that apparently the GPU (nVidia 470 GTX) skyrockets to 91+ degree of temperature. If I keep the case open this behaviour usually doesn't happen.
What do you think it is? Is it my GPU bruned and doesn't tolerate high temperatures anymore?
I'm using Ubuntu 12.04 (x86-64) and driver nVidia 310.14.
Cheers
Is there a package or a simple tutorial how to setup a normal 12.04 (not server) with wireless connection on by default?
Basically I'd like to be able to have my PC connected to the network before I login, so I can do ssh and run programs remotely even.
I've looked around but haven't spot any good tutorial yet. Could you point me to one?
Cheers!