[ZenBook S UX391UA, Realtek ALC294, Mic, Internal] No sound at all

Bug #1784485 reported by Pawel
126
This bug affects 25 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Won't Fix
Undecided
Unassigned
Disco
Fix Released
Medium
Unassigned
linux-hwe (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

Internal speaker - not sound at all
Cable Headphonse - realy quiet disorted sound
Bluetooth headphones - sound works fine

On Windows 10 everything works fine.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pmichalski 7964 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 30 22:32:10 2018
InstallationDate: Installed on 2018-07-17 (12 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaRecordingTest: ALSA recording test through plughw:PCH failed
Symptom_Card: Wbudowany dźwięk - HDA Intel PCH
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: gdm 2988 F.... pulseaudio
                      pmichalski 7964 F.... pulseaudio
Symptom_Jack: Mic, Internal
Symptom_Type: No sound at all
Title: [ZenBook S UX391UA, Realtek ALC294, Mic, Internal] No sound at all
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: UX391UA.204
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: UX391UA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrUX391UA.204:bd05/18/2018:svnASUSTeKCOMPUTERINC.:pnZenBookSUX391UA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnUX391UA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.family: ZenBook S
dmi.product.name: ZenBook S UX391UA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Pawel (pawel-t) wrote :
Revision history for this message
Pawel (pawel-t) wrote :
Revision history for this message
nik (nik.gnomic) wrote :

found this page looking for information for same model laptop running Manjaro, also confirmed sound working on windows 10
found another page for ALC294 codec - https://askubuntu.com/questions/986140/no-sound-output-ubuntu-17-10-asus-zenbook-13
all 3 appear to have common problem caused by windows 10 shutdown

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
sojusnik (sojusnik) wrote :

This also happens on Manjaro, see https://forum.manjaro.org/t/alc294-analog-audio-card-detected-but-no-sound-internaly-or-headphones/54089/16

Did somebody already find a solution or knows how to debug this properly?

Revision history for this message
Arnau Prat Gasull (aeronau) wrote :

I am experiencing the same problem running Ubuntu and Windows 10 on the same Zenbook model. Sound working on Windows 10 but not on Ubuntu 18.04. I have not managed to solve the problem.

Revision history for this message
Shreyas Mandre (shreyasmandre) wrote :

Same issue for me. I have Ubuntu 18.04 on Asus UX391UA. No sound either through headphones or speakers.

Revision history for this message
sojusnik (sojusnik) wrote :

I even installed Windows on an external drive, because the author of this thread (https://askubuntu.com/questions/986140/no-sound-output-ubuntu-17-10-asus-zenbook-13) assumed that a proper shutdown of Windows could solve this issue for Linux users, but it didn't help either.

Revision history for this message
sojusnik (sojusnik) wrote :

BTW, can somebody confirm that this ZenBook S UX391UA on Ubuntu 18.04 runs quite hot, even while doing normal "office stuff"?

At some point the preinstalled thermald daemon even forcefully shuts down Ubuntu, preventing it from overheating. "Package temperature above threshold, cpu clock throttled" normally appears before this in the logs.

The only solution I've found is to remove the thermald package. Didn't observe any undesirable side effects so far.

Revision history for this message
Nitish (nitd24) wrote :

Not facing any issues due to heating so far. Primarily using the laptop for coding.
It does occasionally gets heated, but then nothing that causes any problems.
I'll update if I face anything.

Revision history for this message
osimbora45 (osimbora45) wrote :

Also affects me (ASUS Zenbook UX931U)

Revision history for this message
fademind (fademind) wrote :

Also affected Asus VivoBook R542UF

```
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook 15_ASUS Laptop X542UF
  v: 1.0 serial: <filter>
  Mobo: ASUSTeK model: X542UF v: 1.0 serial: <filter>
  UEFI: American Megatrends v: X542UF.303 date: 03/15/2018
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
  v: kernel bus ID: 00:1f.3
  Sound Server: ALSA Kernel: 4.19
```
```
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
```
Dmesg parts
```
[ 12.342528] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC294: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 12.342531] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 12.342533] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 12.342535] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 12.342536] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 12.342538] snd_hda_codec_realtek hdaudioC0D0: Mic=0x1b
```
```
[ 12.634171] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[ 12.634389] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[ 12.634563] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[ 12.634737] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[ 12.634905] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[ 12.635045] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
```

Revision history for this message
Jan Smeds (jan-smeds) wrote :

Same problem for me...

Revision history for this message
sojusnik (sojusnik) wrote :

Still no sound, even on Ubuntu 18.10.

Revision history for this message
sojusnik (sojusnik) wrote :

I've opened another issue regarding this notebook. It's about overheating. Would be very helpful, if you could share your experience here: https://askubuntu.com/questions/1087672/unusually-hot-asus-ux391ua

Revision history for this message
Abhishek Sharma (helkaistari) wrote :

I'm also having an issue with my ux391ua running MATE18.04 with no Windows 10 installed. There is sound output audible with headphones on and volume >100% but it is very distorted and crackly. 18.10 was not helpful and updating kerenel to 19 doesn't change anything.

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC294 Analog [ALC294 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pacmd list-cards
1 card(s) available.
    index: 0
 name: <alsa_card.pci-0000_00_1f.3>
 driver: <module-alsa-card.c>
 owner module: 7
 properties:
  alsa.card = "0"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xec228000 irq 135"
  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 = "9d71"
  device.product.name = "Sunrise Point-LP HD Audio"
  device.form_factor = "internal"
  device.string = "0"
  device.description = "Built-in Audio"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"

I've tried various mixer related avenues which do nothing. I noticed that pavucontrol shows sound btw.

Revision history for this message
Karen Chaltikian (chaltik) wrote :

Asus UX430U mid-2018 edition.
Dual boot Win10/Ubuntu 18.04 LTS
Audio works fine on Windows both through laptop speakers and 3.5mm jack headphones
When booted in Ubuntu -- no sound on laptop speakers or headphones.

confirm the pavucontrol shows audio streaming.

alsamixer all outputs set to "oo".

Revision history for this message
odeiber (o-deiber) wrote :

hello
I just bought a zenbook asus S UX391UA under windows 10; I installed Ubuntu 18.10 64 bits in dual boot and I have the same problem: no sound (although it works correctly under Windows)

thank you

Revision history for this message
Karen Chaltikian (chaltik) wrote :

To add to the above: shutting down the laptop and then starting from there in Ubuntu, as suggested in one of the workarounds above, actually made the sound work

Revision history for this message
sojusnik (sojusnik) wrote :

@Karen Chaltikian

Good news! Although I've tried this on my UX391UA, but without success.

Can you describe your procedure step-by-step?

Revision history for this message
Thusitha Chandrapala (thusi87-q) wrote :

I have the issue as well. I have a dual boot system with following.
Zenbook UX490UAR
Ubuntu 18.04.1
Windows 10

I think this is due to windows not properly shutting down and holding on to a hardware device, although not sure how. Managed to resolve by a full shutdown. i.e. go to shutdown on the windows start menu and hold shift while pressing restart. A screen will appear where you can select to shutdown.

After the restart and logging into ubuntu, sound works .
For the volume control related bug, there was a guide here : https://askubuntu.com/questions/906303/volume-control-on-asus-zenbook-3

Revision history for this message
sojusnik (sojusnik) wrote :

Can somebody confirm that the above mentioned procedure also works with an UX391UA.

It does NOT work on my UX391UA.

Revision history for this message
Nitish (nitd24) wrote :

The above procedure does not work on my UX391UA either :(

Revision history for this message
Greg (buchovagabond) wrote :

I have same issue on new Asus ZenBook 14 UX433FA (ALC294) on Ubuntu 10.04.1 (NO dual boot).

Tried the 4.19.2 kernel and nothing changed.

Looking forward to some sort of fix/workaround!

Revision history for this message
craig jackson (craig-jackson) wrote :

Same on Asus Zenbook UX533 with Realtek ALC294. No sound on Kubuntu 18.10 (4.18.0-11-generic) - speakers or headphones. Dual boot with Windows 10. Windows 10 sounds work fine.

Revision history for this message
craig jackson (craig-jackson) wrote :

Interestingly, if I put the sound device into power save mode and wait a few seconds before playing a sound, I can actually hear it perffectly clearly, but after repeating the playing of the sound a few times, it distorts then disappears:

  sudo -i
  echo 10 >/sys/module/snd_hda_intel/parameters/power_save
  sleep 10
  aplay /usr/share/sounds/alsa/Front_Center.wav

Revision history for this message
craig jackson (craig-jackson) wrote :
Revision history for this message
Pawel (pawel-t) wrote :

Guys please keep this ticket for Zenbook S UX391UA nad ALC294.
UX533 is different issue. This not make sense. I've got 3 other Asus laptops, where sound worked perfectly on Linux.

Rebooting through Windows 10 or setting card in power_save does not work on UX391UA.
I bought external usb-c soundcard and now I am using it with headphones.

I think that without support from Realtek (for example Kailang Yang <email address hidden> https://www.systutorials.com/linux-kernels/84502/alsa-hda-realtek-new-codecs-support-for-alc234-alc274-alc294-linux-4-4-12/), Kernel Alsa team, Canonical team or Asus there will be no changes.
I've tried to contact all of them but without any results.

Revision history for this message
craig jackson (craig-jackson) wrote :

Hi Pawel,

You may be right, but I think the common thread in all the laptops exhibiting this problem is the ALC294. Does the power save trick mentioned in my comment work for you at all?

Cheers,
Craig

Revision history for this message
chovy (anchovy) wrote :

I have the pavucontrol showing audio but no sound is coming out of the spakers.

ACL294 on Asus Zenbook UX433FA-DH74

Revision history for this message
aditya lele (adityadlele) wrote :

Same problem with Asus Zenbook UX533FD.

Also, can someone please specify the windows shutdown method?
"i.e. go to shutdown on the windows start menu and hold shift while pressing restart. A screen will appear where you can select to shutdown." This doesn't work.

I am dual booting Win10 and Ubuntu 18.04.

Revision history for this message
chovy (anchovy) wrote :

I've tried everything. Nothing works. I originally booted into windows once and then installed linux over it. I did not power off I only did a reboot, some people are saying powering off from windows fixes sound on linux, which makes me think its some bios setting, but I don't see anything for sound settings in bios.

I no longer have windows so I can't boot into it.

Revision history for this message
VanVan (w-o) wrote :

I have the same issue on new Asus ZenBook 14 UX433FA (ALC294) on Ubuntu 2018.10 with Realtek ALC294.

Revision history for this message
aditya lele (adityadlele) wrote :

The only workaround that I have found till now is using a bluetooth headset. It works perfectly well.

Revision history for this message
VanVan (w-o) wrote :

Yes, I can confirm that bluetooth works well, but I hope we can find a way to use internal sound, it's a good quality speaker for a small laptop :)

Revision history for this message
Alban Boissard (albatas) wrote :

Hello,
sorry for my poor english, I am french.

A had exactly the same issue with a ASUS Zenbook UX433, and I fund a solution.

The issue comes from the Kernel part of the Alsa drivers.

Daniel Drake and Jian-Hong Pan provided a patch in the alsa mailing list to fix this issue for UX533/UX433 laptop (and maybe other Asus models) :
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142572.html

This patch is not in the current kernel, nor in 4.20rc tree as far I can see.
Fortunatly, you can find a patched version of the files in :
https://github.com/endlessm/linux/tree/master/sound
(A nice, easy to use linux distro)

What I did :
- clone official Kernel source repo (4.19-7 in my case)
- clone endless Os repo
- Copy the "sound" folder from endless tree to official kernel tree.
- Compile the "no more official" Kernel.
(I followed this tuto : https://wiki.archlinux.org/index.php/Kernel/Traditional_compilation because I use Manjaro, based on Arch) You have to find an appropriate tuto for Ubuntu. It was the firt time I compile a kernel.)
- Use this kernel : the sound work perfectly.

Note : I'm absolutly not a linux expert, it maybe exists a better way to use the patch than recompile the kernel.

Revision history for this message
Badaoui Mohamed (mohamed-badaoui) wrote :

Hi,

ALC294 works but you will have to recompile the kernel :/

A patched was made that you can find at
http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142689.html

Be carefull there are 3 mails containing differents patches of the same file sound/pci/hda/patch_realtek.c

Personnally I have a ASUS UX433 laptop and I applied this patch on the linux-4.19.8.tar.xz kernel with a Debian distro.
Once done all works ok.

It should works also on a ASUS UX533.

Hope this helps.

Mohamed.

Revision history for this message
chovy (anchovy) wrote :

I'm using Ubuntu 18.04. Does anyone know if its possible to apply this patch? I would need idiot proof instructions.

Revision history for this message
chovy (anchovy) wrote :

I tried installing kernel 4.20-rc5 and sound speakers (built in) still don't work.

Revision history for this message
chovy (anchovy) wrote :
Revision history for this message
chovy (anchovy) wrote :

4.20-rc6 no go either.

Revision history for this message
VanVan (w-o) wrote :

It can't work if you install official kernel.
You need to replace the audio part by this one https://github.com/endlessm/linux/tree/master/sound

So you need to compile it ny yourself.

The correction is not yet on official kernel, it can take time before someone accept the pull request to the official kernel.

Revision history for this message
VanVan (w-o) wrote :

If you want to compile the kernel with the sound patch, you can use my github as a ready to use official kernel with patch :

git clone https://github.com/VanVan/linux.git
sudo apt-get install build-essential initramfs-tools fakeroot debconf-utils dpkg-dev debhelper bin86 kernel-package

You can then compile the kernel and install it.
You can follow some tuto here https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

There is a lot of other tuto for each distribution.

Then, the sound works well :)

Revision history for this message
chovy (anchovy) wrote :

Can someone submit a PR to linux kernel? I did not see one when searching. I'd be happy to upvote it.

Revision history for this message
VanVan (w-o) wrote :

It's already done like mohamed badaoui said: http://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/142572.html

Linux kernel is a big project, it can takes months to accept it.
We use mailing list rather than PR request.

If you don't want to wait, you can compile it by yourself following my previous message.

Revision history for this message
KlintFR (klintfr) wrote :

@VanVan (w-o)

Thank you for your message.
But I keep failing, trying to understand any "compile & build kernel" tutorials.

I don't get it , how it works...

I got your patched kernel and ran the sudo apt-get [...]
Then, i really don't know what to do , what part of the tutorial I have to do ...

:( I'm the rookiest rookie in the eternal rookiness

Revision history for this message
Ben (z80-ben) wrote :

I've compiled 4.20-rc6 from VanVan's github repository, and it has no effect on my UX391UA - still no sound.

I notice the patch doesn't actually refer specifically to the UX931UA though, only other ASUS models.

Revision history for this message
VanVan (w-o) wrote :

@z80-ben Yes, you are right, UX931UA is not part of the list, it could have worked :/
Be sure that you have no configuration error on /etc/modprobe.d/alsa-base.conf

Tested on Asus UX333, UX433, UX533 with ALC294
Support for Asus G751, P5440FF, X430UN, D640SA, UX550GE, X705FD; X430UN, GL503VM, Q524UQK, X542UN with ALC256 and some others.
A lot of Acer computers too and some other brands.

@klintfr It depends on your Linux distribution

Revision history for this message
chovy (anchovy) wrote :

i also got errors when trying to follow that ubuntu guide for compiling your own kernel.

Revision history for this message
Ben (z80-ben) wrote :

I got an error when building the modules from @VanVan's github due to /sound/pci/hda_codec.h having been moved to /include/sound/hda_codec.h

Fixing this let the compile finish without error (this is on Fedora 29).

Revision history for this message
KlintFR (klintfr) wrote :

@VanVan i'm using the classic Ubuntu 18.04 lts
I don't understand where to move the cloned folder from your repo , or what command i should type then. The tutorial you linked says :

fakeroot debian/rules clean

but there is no such folder

Sorry to bother you , I feel like I will manage to compile this only with a detailed step by step tuto ... Feelsbadman

Revision history for this message
chovy (anchovy) wrote :

yes, i also got `command not found` when running `fakeroot`

Revision history for this message
craig jackson (craig-jackson) wrote :

For those following https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel, I had to do some extra things to get kernel compilation working.

The workaround steps are described here: https://askubuntu.com/questions/1085411/unable-to-follow-kernel-buildyourownkernel/1099988. Substitute the kernel version relevant to you wherever you see "4.18.0"...

Revision history for this message
craig jackson (craig-jackson) wrote :

The above worked for (k)ubuntu 18.10.

Revision history for this message
VanVan (w-o) wrote :

Thanks to craig-jackson if you want to check before compiling your kernel if you have the same problem that I had, you can check if the sound can work for a few seconds with the command below :

sudo apt install git
git clone https://github.com/VanVan/check_sound.git
sudo ./check_sound/check_sound

If you can hear a sound from your internal speaker it's good, if not, compiling a new kernel can still give you sound, depends on your laptop.

When you compile a new kernel, do not forget do to a git pull inside the linux folder or you can remove and clone again the repository to have the latest commit (hda_codec.h correction):
git clone https://github.com/VanVan/linux.git

Revision history for this message
chovy (anchovy) wrote :

ettinger@sunny:~
$ sudo apt-get build-dep linux-image-$(uname -r)
[sudo] password for ettinger:
Sorry, try again.
[sudo] password for ettinger:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
ettinger@sunny:~
$ apt-get source linux-image-$(uname -r)
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
ettinger@sunny:~
$ sudo apt-get source linux-image-$(uname -r)
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list

Revision history for this message
craig jackson (craig-jackson) wrote :

Just uncomment the deb-src lines in /etc/apt/sources.list.

For example, replace:

    # deb-src http://au.archive.ubuntu.com/ubuntu/ cosmic main restricted

With:

    deb-src http://au.archive.ubuntu.com/ubuntu/ cosmic main restricted

Revision history for this message
craig jackson (craig-jackson) wrote :

Don't forget to 'sudo apt update' after making those changes.

Revision history for this message
chovy (anchovy) wrote :

i have those lines already. this guide is terrible.

Revision history for this message
VBlack (vblack2006) wrote :

I have made it working for UX391UA laptop. I am using Linux Mint 19.
What I did:
1. Follow this on how to download and compile linux kernel from sources (I use 4.19.9)
2. check compiled kernel (reboot)
3. Apply 3 patches from here:
3.1 https://lkml.org/lkml/2018/12/7/158
3.2 https://lkml.org/lkml/2018/12/7/160
3.3 https://lkml.org/lkml/2018/12/7/159
4. Additionally specify my laptop in same file by adding one more change:
SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK),
+SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),
5. Recompile kernel and reboot
6. Now I have sound!

Revision history for this message
VBlack (vblack2006) wrote :
Revision history for this message
Ben (z80-ben) wrote :

Also works for me @vblack2006

I downloaded the current stable kernel from kernel.org (4.19.9), applied the 3 patches that you linked to and added:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK

to /sound/pci/hda/patch_realtek.c

After compiling and installing, I now have sound working on my UX391UA running Fedora 29!

Revision history for this message
fademind (fademind) wrote :

Silly question, `0x1043, 0x10a1` for ex. are taken from lspci results just like that? :>

Revision history for this message
VBlack (vblack2006) wrote :

I take my numbers from
hwinfo --sound
(SubVendor and SubDevice)

13: PCI 1f.3: 0403 Audio device
  [Created at pci.378]
  Unique ID: nS1_.CMWMjFG1cGE
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9d71
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x10a1
  Revision: 0x21
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xec228000-0xec22bfff (rw,non-prefetchable)
  Memory Range: 0xec200000-0xec20ffff (rw,non-prefetchable)
  IRQ: 125 (338 events)
  Module Alias: "pci:v00008086d00009D71sv00001043sd000010A1bc04sc03i80"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_soc_skl is active
    Driver Activation Cmd: "modprobe snd_soc_skl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

Revision history for this message
fademind (fademind) wrote :

I booted **manjaro-kde-18.0-stable-x86_64.iso** aaaand sounds works (internal speakers) like a charm.
Sound details:
```
[manjaro@manjaro ~]$ sudo hwinfo --sound
20: PCI 1f.3: 0403 Audio device
  [Created at pci.378]
  Unique ID: nS1_.b28td23g3aB
  SysFS ID: /devices/pci0000:00/0000:00:1f.3
  SysFS BusID: 0000:00:1f.3
  Hardware Class: sound
  Model: "Intel Audio device"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9d71
  SubVendor: pci 0x1043 "ASUSTeK Computer Inc."
  SubDevice: pci 0x1a00
  Revision: 0x21
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xef528000-0xef52bfff (rw,non-prefetchable)
  Memory Range: 0xef500000-0xef50ffff (rw,non-prefetchable)
  IRQ: 130 (615 events)
  Module Alias: "pci:v00008086d00009D71sv00001043sd00001A00bc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Driver Info #1:
    Driver Status: snd_soc_skl is active
    Driver Activation Cmd: "modprobe snd_soc_skl"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
```

This ISO included patches for ALSA,
Patches for ASUS sound issues was applied in **4.19.8-2** release via this commit >
https://gitlab.manjaro.org/packages/core/linux419/commit/ef116a4b40754fa3f08e605c9e30fca35f0d6f03
Naming taken from this:
https://gitlab.manjaro.org/packages/core/linux419/commit/082db04a3e3d904e13e1550ae80f553dd1a0cba6

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1784485

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
sojusnik (sojusnik) wrote :

I have a ASUS UX391UA and finally want to get the sound working.

Is it theoretically possible to apply the above mentioned fix using the Kernel Update Utility for Ubuntu (https://github.com/teejee2008/ukuu)?

What's the proper way to apply the following patches afterwards?

https://lkml.org/lkml/2018/12/7/158
https://lkml.org/lkml/2018/12/7/160
https://lkml.org/lkml/2018/12/7/159

Revision history for this message
Greg (buchovagabond) wrote :

I just saw that the fix is included in the new 4.19.10 kernel. You can use UKUU to install.

-----------
Jian-Hong Pan (2):
      ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
      ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN/UX333FA with ALC294

Revision history for this message
chovy (anchovy) wrote :

Confirmed 4.19 fixes audio! Excellent work guys!

Revision history for this message
VanVan (w-o) wrote :

Audio fixes start with Linux 4.20-rc6, not 4.19

Revision history for this message
sojusnik (sojusnik) wrote :

@Greg (buchovagabond)

Without adding those 3 patches and the SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK) tweak to to /sound/pci/hda/patch_realtek.c ?

So only updating with UKUU will work?

Revision history for this message
sojusnik (sojusnik) wrote :

Installed 4.20.0-rc7 kernel through UKUU, but still no sound on ASUS UX391U :/

Revision history for this message
Ben (z80-ben) wrote :

The fixes in the 4.20-rc kernels are for other laptops, not the UX391UA. You'll need to add:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK

to /sound/pci/hda/patch_realtek.c

to get sound working on this laptop.

I used the 4.19.9 kernel, applied the 3 linked patches and added the line above. If you're using 4.20-rc6 / 7, you may only need to add the line to patch_realtek.c

Revision history for this message
sojusnik (sojusnik) wrote :

@Ben

patch_realtek.c is missing under /lib/modules/4.20.0-042000rc7-generic/kernel/sound/pci/hda/ after installing 4.20.0-rc7 kernel.

Can't find it elsewhere either.

How do you properly applied those 3 patches?

And the proper command is: SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK)

You forgot to close the brackets.

Revision history for this message
Ben (z80-ben) wrote :

@sojusnik

Yes, you're right, I missed the closing bracket. The correct line to add is:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),

You won't find patch_realtek.c anywhere in /lib/modules/ because it's already been compiled and installed. You need to download the source code, apply the patches, then compile and install the kernel.

Try downloading the 4.20-rc7 from kernel.org (the patches are already applied to this version), extract it, and then edit /sound/pci/hda/patch_realtek.c

Look for this line:

SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK),

And beneath it add:

SND_PCI_QUIRK(0x1043, 0x10a1, "ASUS UX391UA", ALC294_FIXUP_ASUS_SPK),

If you then compile and install the kernel, you should have working sound on your UX391UA.

Revision history for this message
sojusnik (sojusnik) wrote :

@Ben

Thanks!

Patching and compiling the kernel is out of my league. I prefer the user-friendly and "foolproof" way through the Kernel Update Utility for Ubuntu (UKUU), mentioned above. Afaik, I can't edit the patch_realtek.c file when doing so with UKUU.

Do you know if it's already planned to merge the UX391UA line too? If not, can somebody mention this to the kernel developers.

VanVan (w-o)
Changed in alsa-driver (Ubuntu):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
VanVan (w-o) wrote :
Revision history for this message
craig jackson (craig-jackson) wrote :

I can confirm the following fixed the no-sound issue on my UX533 per buchovagabond's post above:

    sudo ukuu --install v4.19.10

Cheers,
Craig

Revision history for this message
chovy (anchovy) wrote :

sorry 4.19.10 worked, but 4.19.11 doesn't.

Revision history for this message
chovy (anchovy) wrote :

4.19.10 no longer works :(

I booted into windows and now sound doesn't work. Sound works fine in windows but not Ubuntu.

Revision history for this message
chovy (anchovy) wrote :

Fixed, for anyone using windows on a dual boot, you have to SHUTDOWN from windows. and then power on and go into Ubuntu. If you RESTART from windows sound will not work in Ubuntu.

Revision history for this message
chovy (anchovy) wrote :

4.19.11 works

Revision history for this message
Belen Guaranda (bellengc) wrote :

Hello, I've recently bought an UX533FD ASUS, with the same sound problem. Sorry, though I´m an ubuntu user I have no experience in compiling kernels, and after reading this thread, I have two questions: 1)Is the fix available in kernel 4.19.11? 2) Is this command: sudo ukuu --install v4.19.11 the only one to execute?

Revision history for this message
Santiago Londoño (slondon0) wrote :

I managed to solve it in my Asus ZenBook UX433F. I'm running Ubuntu 18.04.
I upgraded the Kernel to v4.19.11 as to Jorge Castro's answer to this question:

https://askubuntu.com/questions/119080/how-to-update-kernel-to-the-latest-mainline-version-without-any-distro-upgrade

Here are the exact steps I followed:

1. Download the appropriate files from:

https://kernel.ubuntu.com/~kernel-ppa/mainline/

For example:

linux-headers-4.19.11-041911_4.19.11-041911.201812191931_all.deb
linux-headers-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
linux-image-unsigned-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
linux-modules-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb

2. Install each one in the appropriate order:

sudo dpkg -i linux-headers-4.19.11-041911_4.19.11-041911.201812191931_all.deb
sudo dpkg -i linux-headers-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
sudo dpkg -i linux-modules-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb
sudo dpkg -i linux-image-unsigned-4.19.11-041911-generic_4.19.11-041911.201812191931_amd64.deb

3. Restart. In GRUB choose "Advanced options for Ubuntu". Select the new Kernel version.

Cheers

Revision history for this message
sojusnik (sojusnik) wrote :

@Santiago Londoño

Or you could have used UKUU: https://github.com/teejee2008/ukuu

Too bad that the 4.20 kernel doesn't contain the fix for the UX391UA :/

Revision history for this message
VanVan (w-o) wrote :

@sojusnik
It should be included for UX391UA, I committed it on 19 December
https://github.com/torvalds/linux/commit/9cf6533e8060d3896b88ea14b27f620e6504b84b

Revision history for this message
sojusnik (sojusnik) wrote :

@VanVan

That's strange!

To be on the safe side, I even did a fresh Ubuntu 18.10 installation and updated to the 4.20 kernel with UKUU, but I still don't have sound. Neither from the internal, nor the external speakers. I've played around with alsamixer in the terminal – without success.

Can somebody confirm that they got the sound running just by installing the latest kernel (4.20) on the ASUS UX391UA (that's the model this issues is actually about)?

Revision history for this message
sojusnik (sojusnik) wrote :

Some additional sysinfo with inxi:

System: Host: mir Kernel: 4.20.0-042000-generic x86_64 bits: 64 Desktop: Gnome 3.30.1
           Distro: Ubuntu 18.10 (Cosmic Cuttlefish)
Machine: Type: Laptop System: ASUSTeK product: ZenBook S UX391UA v: 1.0 serial: <filter>
           Mobo: ASUSTeK model: UX391UA v: 1.0 serial: <filter>
           UEFI [Legacy]: American Megatrends v: UX391UA.301 date: 10/15/2018

BTW, ASUS released recently a new BIOS version, but it still doesn't solve our problem: https://www.asus.com/de/Laptops/ASUS-ZenBook-S-UX391UA/HelpDesk_BIOS/

Revision history for this message
Ben (z80-ben) wrote :

The UX391UA fix is not in 4.20 as it was already a release candidate. To get sound working on this model you'll need to download the 4.20 source, apply the patch to sound/pci/hda/patch_realtek.c then compile and install the kernel.

Revision history for this message
Pawel (pawel-t) wrote :
Revision history for this message
sojusnik (sojusnik) wrote :

Thanks Pawel!

Revision history for this message
Ian George (hatboxcrafts) wrote :

Can confirm that installing kernel 5.0-rc1 using UKUU that sound from the speakers and earphones now work on my Zenbook UX391UA.

Revision history for this message
Sofus Albertsen (sofusalbertsen) wrote :

Confirm solved for kernel 4.20 via Ukuu for Asus Zenbook ux433f

Revision history for this message
Thales Loiola Raveli (thales-loiola) wrote :

Hello guys,

I followed your discussion to try to solve my problem. Now sound works in my PC, but I've got some other problems that came with.

My PC is an Asus UX333FN, and I'm currently running on Ubuntu 18.04 with kernel 4.20. It came with 4.15.0.29.31 originally.

When following the steps to install new kernels, above 4.18, I always get these messages :

W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/image.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/sec2/desc.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/nvdec/scrubber.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_method_init.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_bundle_init.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_nonctx.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/sw_ctx.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_data.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_inst.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/gpccs_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_sig.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_data.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_inst.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/gr/fecs_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_unload.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/ucode_load.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/unload_bl.bin for module nouveau
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
(This time I was trying to install 4.18 for example)

As I said, sound works, but my problem now is apparently the NVIDIA Card (it has a Geforce MX150). Sometimes my screen and my mouse freeze, and I also get something like in the attached picture. I also need to press two times the Fn keys for it to start working, which didn't happen with the other kernel.

Has someone faced the same problem?

Thank you a lot

Revision history for this message
Eric (ericbskis) wrote :

Confirming that install 4.19.10 via ukuu as mentioned by Craig in comment #78 worked for me on zenbook ux533FD with no windows install.

Revision history for this message
Lucia Di Fino (luciadf) wrote :

I encounter the exact same problems of Thales Loiola Raveli on an ASUS 14 UX433FN with Linux Mint 19.1 Cinnamon.

When will the patch be added to a Linux Mint-supported kernel version? Please please please, it's hard to have a brand-new but mute PC :/

Revision history for this message
Zhuokun Yang (salkvmcv) wrote :

The problem can been solved by updating to the newest 4.19.x kernel. I am a Ubuntu user with Asus UX433FA. After a few testing, I can confirm that newer kernel 4.19.17 currently available in kernel.org is the solution (I tried out 4.19.8 as well but I experienced something else so I decided to use 4.19.17, which, by default, accepts the changes suggested by Jian-Hong).

However, I am using a dual boot system. There is a minor problem that bugs me: even if I turned off the fast boosting in BIOS, if I boot into Windows then restart and try to boot into Ubuntu, the sound will distort and disappear eventually. The solution would be completely shutdown Windows every time you want to switch between the OS. Hope this could be solved in the future.

A good thing though, is after installing the new kernel, the original 4.15.x kernel that ships with Ubuntu 18.04 can also output sound properly !!!

But, I have always got the feeling that the sound quality on Ubuntu is not as good as that of Windows. I might be over-sensitive tho.

Revision history for this message
Zhuokun Yang (salkvmcv) wrote :

@Thales Loiola Raveli

Try to blacklist the nouveau; go to the software updates -> additional driver to look for nvidia driver. I am fortunate that I did not get the mx150 model.

Revision history for this message
You Chuan-hao (howtomakeaturn) wrote :

I confirm that install 4.19.10 via ukuu worked for me on zenbook ux533FD with windows 10 dual boot!

Now I can play PC game with my windows 10, and develop on my ubuntu 18.04!

Thank you all very much!

You guys are the best!

Revision history for this message
antubis (avreon) wrote :

I also want to confirm that the sound has come back when I upgraded the kernel to 4.19.18. I am using Mint 19.1 and by default it didn't work.

Warning! I first upgraded to 4.20.5 but it didn't work. I switched to the 4.19 and it magically started to work!

And on a side note it works better than the stock windows version. The sound card was making weird static noises when used on Windows 10.

Revision history for this message
Maksym Antonyuk (maks2002) wrote :

Hey All. I run into troubles with sound also on my Asus UX331UAL (EG022T) laptop with ALC294 sound card. I run Kubuntu 18.04.
I confirmed that after updating kernel to v4.19.19 Sound works well. Updated only kernel without any patches. Updated using Ukuu app. And it is not depending form method of shutdown windows OS (shutdown or restart).
Thanks this topic)

PS: I also run into other troubles. When laptop in sleep mode when running Kubuntu battery is not charging (battery led not lighting). When I trying to charge laptop when Kubuntu work normally, the battery starts charging (battery led lighting), but it never finishes charging and led always lighting with orange. When I shutting down my laptop battery charging in normal mode. Also, all works perfectly in Windows.
Did the anyone run into such troubles? And I will appreciate if anyone can forward me to the solution for this issue.

Revision history for this message
Maksym Antonyuk (maks2002) wrote :

Small Update. Yes, sometimes when I work on Windows and reboot to Kubuntu sound card stop working.
When I load back to Windows and next shutdown it. And after that sound card begins work correctly.

Revision history for this message
antubis (avreon) wrote :

I have the issue that Maksym is talking about. Indeed using 4.19.18 "fixed" the problem but it seems to be fixed somehow randomly. When I restart the laptop and enter my paassword, Linux Mint tries to play an intro chime but it gets cut off at the middle or at the end. I have to restart, login and it may or maynot fix the issue. After few restarts it starts working permanently for the duration of the session but this is not a real solution, isn't it? If someone is aware how to fix this issue please raise your voice!

Revision history for this message
VanVan (w-o) wrote :

@avreon Keep in mind there is two different fixes to the kernel depending on your hardware :
- Fix for UX333, UX433, UX533 and some others starting from 4.19.10
- Fix for UX391UA and some others starting from kernel 5.0-rc1

Revision history for this message
uecm (uecm) wrote :

Quick question, I have exactly the same problem but with one small difference. I have Asus Q325UA which is pretty much the black version of UX391UA as far as I know. lshw gives out the following information

system Q325UAR
bus Q325UAR

My concern is that since the system reports a different model, it will require yet another different line to be added to the patch. Can somebody shed some light if that model needs to be added separately or will the UX391UA fix the problem on QA325UA as well?

Also, how should I go about submitting a request for the QA325UA if needed?

Thanks!

Revision history for this message
xiajiexing (xingxiajie) wrote :

confirmed my sound problem was solved using
-Linux Kernel 4.19.10
on my
-aus zenbook ux533fd
-dual boot windows 10 and ubuntu 16.04

by following the next steps:

1. install Ukuu

sudo add-apt-repository ppa:teejee2008/ppa

sudo apt-get update

sudo apt-get install ukuu

2. install kernel 4.19.10

sudo ukuu --install v4.19.10

3.restart(reboot)->select "advanced options" -> select kernel version 4.19.10

for more questions, simply: <email address hidden>

thanks the commends upon, especially #78 #96

thanks all !

Revision history for this message
antubis (avreon) wrote :

So I switched to Linux Kernel 5 since RC-5 and I was switching to the latest version ever since a new one is released. It seems that the 5 branch has fixed the issue for good. I am on 5.0.1 and have no issue with output. *fingers crossed*

However I do have an issue with the input. Cannot recognize my internal microphone. Not a big issue as I don't speak that much or I can use different devices for that communication but the mic is the last bit that is not working on that "damn" Asus Zenbook.

Revision history for this message
Javier Marzan (javiermrz) wrote :

[Edited] (Didnt find how to edit a post)

Confirmed kernel 4.19.17 solved my problem.
Notebook Model: Asus Zenbook UX433FN
Ubuntu 18.10.
Dual Boot with Windows 10.

I changed the kernel with the visual interface of ukuu, easy and simple.
You just select the version, install, and then reboot. In the GRUB menu, select Advanced Options for Ubuntu, and select the desired kernel version.
If you have an Nvidia card it's possible that ukuu gets stuck in "setting up linux-headers" while installing the kernel version. Only thing you have to do to solve this is Disable Secure Boot from the BIOS.

Thanks to all in this thread, saved my life :D

Revision history for this message
uecm (uecm) wrote :

@VanVan

Just updated to kernel 5.0 and the sound on my model ( Asus Q325UAR / dual boot ) does NOT work.
How/where can I submit a report so that the model is included in the list for the fix?

As far as I am aware the Q325UAR hardware is exactly the same as UX391UA but the model was targeted at a different retailer.

Thanks!

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The kernel fix (comment #77) only checks for the laptop model name, not anything else. So it will only work for "ASUS UX391UA". If you have a different model of laptop then please open a different bug.

https://mailman.alsa-project.org/pipermail/alsa-devel/2018-December/143282.html

no longer affects: alsa-driver (Ubuntu)
Changed in linux (Ubuntu Disco):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Cosmic):
status: New → Confirmed
Changed in linux (Ubuntu Bionic):
status: New → Confirmed
Revision history for this message
Ben (z80-ben) wrote :

The Q325UAR is quite different from the UX391UA so as @vanvugt points out, a separate bug report should be opened for that and any model other than the UX391UA, which now has this issue fixed.

Revision history for this message
Stephan Griesel (sgriesel) wrote :

Thank you @Santiago Londoño your solution worked. Just to add I also had to disable secure boot else it was not booting up.

Revision history for this message
Yaroslav (jasow) wrote :

Thank you @Santiago Londoño. I spend a lot of hours trying to fix this problem on my ux533fd. You saved me)

Revision history for this message
Tigran Najaryan (tignaj) wrote :

I have the same problem on Asus Zenbook UX430U. Upgrading to kernel 4.20.16 using ukuu did not fully solve the problem. It worked after the first boot, but no longer works after restarting.

Should I open a separate bug?

Revision history for this message
Tigran Najaryan (tignaj) wrote :

Update: the sound problem on UX430U is intermittent. Sometimes it works, sometimes it is gone. I haven't been able to see a clear pattern so far. This is definitely not a hardware problem since everything works rock solid under Windows (I have a dual boot).

Revision history for this message
Ben (z80-ben) wrote :

You might be experiencing an issue caused by the way Windows handles powering off the sound card. Restarting from Windows yields a non-functioning sound card in Linux. A full shutdown from Windows and subsequent power-on will allow sound to work in Linux.

This bug report is for the UX391UA and has been confirmed as fixed - please open a new report specific to your issue if required.

Revision history for this message
Stefan Bader (smb) wrote :

The kernel fix is not released to updates, we just have it committed to git.

Changed in linux (Ubuntu Disco):
importance: Undecided → Medium
status: Fix Released → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-disco' to 'verification-done-disco'. If the problem still exists, change the tag 'verification-needed-disco' to 'verification-failed-disco'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-disco
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (57.5 KiB)

This bug was fixed in the package linux - 5.0.0-21.22

---------------
linux (5.0.0-21.22) disco; urgency=medium

  * linux: 5.0.0-21.22 -proposed tracker (LP: #1834902)

  * Disco update: 5.0.15 upstream stable release (LP: #1834529)
    - net: stmmac: Use bfsize1 in ndesc_init_rx_desc
    - Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
    - ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
    - staging: greybus: power_supply: fix prop-descriptor request size
    - staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
    - staging: most: cdev: fix chrdev_region leak in mod_exit
    - staging: most: sound: pass correct device when creating a sound card
    - ASoC: tlv320aic3x: fix reset gpio reference counting
    - ASoC: hdmi-codec: fix S/PDIF DAI
    - ASoC: stm32: sai: fix iec958 controls indexation
    - ASoC: stm32: sai: fix exposed capabilities in spdif mode
    - ASoC: stm32: sai: fix race condition in irq handler
    - ASoC:soc-pcm:fix a codec fixup issue in TDM case
    - ASoC:hdac_hda:use correct format to setup hda codec
    - ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
    - ASoC: dpcm: prevent snd_soc_dpcm use after free
    - ASoC: nau8824: fix the issue of the widget with prefix name
    - ASoC: nau8810: fix the issue of widget with prefixed name
    - ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
    - ASoC: rt5682: Check JD status when system resume
    - ASoC: rt5682: fix jack type detection issue
    - ASoC: rt5682: recording has no sound after booting
    - ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
    - clk: meson-gxbb: round the vdec dividers to closest
    - ASoC: stm32: dfsdm: manage multiple prepare
    - ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
    - ASoC: cs4270: Set auto-increment bit for register writes
    - ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
    - drm/omap: hdmi4_cec: Fix CEC clock handling for PM
    - IB/hfi1: Clear the IOWAIT pending bits when QP is put into error state
    - IB/hfi1: Eliminate opcode tests on mr deref
    - IB/hfi1: Fix the allocation of RSM table
    - MIPS: KGDB: fix kgdb support for SMP platforms.
    - ASoC: tlv320aic32x4: Fix Common Pins
    - drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
    - perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
    - perf/x86/intel: Initialize TFA MSR
    - linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
    - iov_iter: Fix build error without CONFIG_CRYPTO
    - xtensa: fix initialization of pt_regs::syscall in start_thread
    - ASoC: rockchip: pdm: fix regmap_ops hang issue
    - drm/amdkfd: Add picasso pci id
    - drm/amdgpu: Adjust IB test timeout for XGMI configuration
    - drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in
      shadow_list
    - drm/amd/display: fix cursor black issue
    - ASoC: cs35l35: Disable regulators on driver removal
    - objtool: Add rewind_stack_do_exit() to the noreturn list
    - slab: fix a crash by reading /proc/slab_allocators
    - drm/sun4i: tcon top: Fix NULL/inv...

Changed in linux (Ubuntu Disco):
status: Fix Committed → Fix Released
Changed in linux (Ubuntu Bionic):
status: Confirmed → Fix Committed
Changed in linux (Ubuntu Cosmic):
status: Confirmed → Won't Fix
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-bionic' to 'verification-done-bionic'. If the problem still exists, change the tag 'verification-needed-bionic' to 'verification-failed-bionic'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-bionic
Revision history for this message
VanVan (w-o) wrote :

The bug is back for me with kernel :
Linux version 5.0.0-25-generic (buildd@lgw01-amd64-008) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)) #26-Ubuntu SMP Thu Aug 1 12:04:58 UTC 2019

Sounds working for few seconds, and go down, no sound after 5 seconds.
Works again for 5 seconds after some minutes without sounds

This bug was resolved for a while, nothing was done except updating the system, so probably related to kernel update.
Someone else has the same issue with latest update of Ubuntu 19.04 ?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If the problem has definitely returned after being declared fixed then please create a new bug by running:

  ubuntu-bug linux

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-xenial' to 'verification-done-xenial'. If the problem still exists, change the tag 'verification-needed-xenial' to 'verification-failed-xenial'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-xenial
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in linux-hwe (Ubuntu):
status: New → Fix Released
no longer affects: linux-hwe (Ubuntu Bionic)
no longer affects: linux-hwe (Ubuntu Cosmic)
no longer affects: linux-hwe (Ubuntu Disco)
Changed in linux-hwe (Ubuntu Xenial):
status: New → Fix Committed
no longer affects: linux (Ubuntu Xenial)
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (235.3 KiB)

This bug was fixed in the package linux - 4.15.0-60.67

---------------
linux (4.15.0-60.67) bionic; urgency=medium

  * bionic/linux: 4.15.0-60.67 -proposed tracker (LP: #1841086)

  * [Regression] net test from ubuntu_kernel_selftests failed due to bpf test
    compilation issue (LP: #1840935)
    - SAUCE: Fix "bpf: relax verifier restriction on BPF_MOV | BPF_ALU"

  * [Regression] failed to compile seccomp test from ubuntu_kernel_selftests
    (LP: #1840932)
    - Revert "selftests: skip seccomp get_metadata test if not real root"

  * Packaging resync (LP: #1786013)
    - [Packaging] resync getabis

linux (4.15.0-59.66) bionic; urgency=medium

  * bionic/linux: 4.15.0-59.66 -proposed tracker (LP: #1840006)

  * zfs not completely removed from bionic tree (LP: #1840051)
    - SAUCE: (noup) remove completely the zfs code

  * Packaging resync (LP: #1786013)
    - [Packaging] update helper scripts

  * [18.04 FEAT] Enhanced hardware support (LP: #1836857)
    - s390: report new CPU capabilities
    - s390: add alignment hints to vector load and store

  * [18.04 FEAT] Enhanced CPU-MF hardware counters - kernel part (LP: #1836860)
    - s390/cpum_cf: Add support for CPU-MF SVN 6
    - s390/cpumf: Add extended counter set definitions for model 8561 and 8562

  * ideapad_laptop disables WiFi/BT radios on Lenovo Y540 (LP: #1837136)
    - platform/x86: ideapad-laptop: Remove no_hw_rfkill_list

  * Stacked onexec transitions fail when under NO NEW PRIVS restrictions
    (LP: #1839037)
    - SAUCE: apparmor: fix nnp subset check failure when, stacking

  * bcache: bch_allocator_thread(): hung task timeout (LP: #1784665) // Tight
    timeout for bcache removal causes spurious failures (LP: #1796292)
    - SAUCE: bcache: fix deadlock in bcache_allocator

  * bcache: bch_allocator_thread(): hung task timeout (LP: #1784665)
    - bcache: never writeback a discard operation
    - bcache: improve bcache_reboot()
    - bcache: fix writeback target calc on large devices
    - bcache: add journal statistic
    - bcache: fix high CPU occupancy during journal
    - bcache: use pr_info() to inform duplicated CACHE_SET_IO_DISABLE set
    - bcache: fix incorrect sysfs output value of strip size
    - bcache: fix error return value in memory shrink
    - bcache: fix using of loop variable in memory shrink
    - bcache: Fix indentation
    - bcache: Add __printf annotation to __bch_check_keys()
    - bcache: Annotate switch fall-through
    - bcache: Fix kernel-doc warnings
    - bcache: Remove an unused variable
    - bcache: Suppress more warnings about set-but-not-used variables
    - bcache: Reduce the number of sparse complaints about lock imbalances
    - bcache: Fix a compiler warning in bcache_device_init()
    - bcache: Move couple of string arrays to sysfs.c
    - bcache: Move couple of functions to sysfs.c
    - bcache: Replace bch_read_string_list() by __sysfs_match_string()

  * linux hwe i386 kernel 5.0.0-21.22~18.04.1 crashes on Lenovo x220
    (LP: #1838115)
    - x86/mm: Check for pfn instead of page in vmalloc_sync_one()
    - x86/mm: Sync also unmappings in vmalloc_sync_all()
    - mm/vmalloc.c: add priority threshold to __purge_vmap_area_lazy()...

Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (235.5 KiB)

This bug was fixed in the package linux-hwe - 4.15.0-60.67~16.04.1

---------------
linux-hwe (4.15.0-60.67~16.04.1) xenial; urgency=medium

  * xenial/linux-hwe: 4.15.0-60.67~16.04.1 -proposed tracker (LP: #1841085)

  [ Ubuntu: 4.15.0-60.67 ]

  * bionic/linux: 4.15.0-60.67 -proposed tracker (LP: #1841086)
  * [Regression] net test from ubuntu_kernel_selftests failed due to bpf test
    compilation issue (LP: #1840935)
    - SAUCE: Fix "bpf: relax verifier restriction on BPF_MOV | BPF_ALU"
  * [Regression] failed to compile seccomp test from ubuntu_kernel_selftests
    (LP: #1840932)
    - Revert "selftests: skip seccomp get_metadata test if not real root"
  * Packaging resync (LP: #1786013)
    - [Packaging] resync getabis

linux-hwe (4.15.0-59.66~16.04.1) xenial; urgency=medium

  * xenial/linux-hwe: 4.15.0-59.66~16.04.1 -proposed tracker (LP: #1840005)

  [ Ubuntu: 4.15.0-59.66 ]

  * bionic/linux: 4.15.0-59.66 -proposed tracker (LP: #1840006)
  * zfs not completely removed from bionic tree (LP: #1840051)
    - SAUCE: (noup) remove completely the zfs code
  * Packaging resync (LP: #1786013)
    - [Packaging] update helper scripts
  * [18.04 FEAT] Enhanced hardware support (LP: #1836857)
    - s390: report new CPU capabilities
    - s390: add alignment hints to vector load and store
  * [18.04 FEAT] Enhanced CPU-MF hardware counters - kernel part (LP: #1836860)
    - s390/cpum_cf: Add support for CPU-MF SVN 6
    - s390/cpumf: Add extended counter set definitions for model 8561 and 8562
  * ideapad_laptop disables WiFi/BT radios on Lenovo Y540 (LP: #1837136)
    - platform/x86: ideapad-laptop: Remove no_hw_rfkill_list
  * Stacked onexec transitions fail when under NO NEW PRIVS restrictions
    (LP: #1839037)
    - SAUCE: apparmor: fix nnp subset check failure when, stacking
  * bcache: bch_allocator_thread(): hung task timeout (LP: #1784665) // Tight
    timeout for bcache removal causes spurious failures (LP: #1796292)
    - SAUCE: bcache: fix deadlock in bcache_allocator
  * bcache: bch_allocator_thread(): hung task timeout (LP: #1784665)
    - bcache: never writeback a discard operation
    - bcache: improve bcache_reboot()
    - bcache: fix writeback target calc on large devices
    - bcache: add journal statistic
    - bcache: fix high CPU occupancy during journal
    - bcache: use pr_info() to inform duplicated CACHE_SET_IO_DISABLE set
    - bcache: fix incorrect sysfs output value of strip size
    - bcache: fix error return value in memory shrink
    - bcache: fix using of loop variable in memory shrink
    - bcache: Fix indentation
    - bcache: Add __printf annotation to __bch_check_keys()
    - bcache: Annotate switch fall-through
    - bcache: Fix kernel-doc warnings
    - bcache: Remove an unused variable
    - bcache: Suppress more warnings about set-but-not-used variables
    - bcache: Reduce the number of sparse complaints about lock imbalances
    - bcache: Fix a compiler warning in bcache_device_init()
    - bcache: Move couple of string arrays to sysfs.c
    - bcache: Move couple of functions to sysfs.c
    - bcache: Replace bch_read_string_list() by __sysfs_match_string()
  * linux hwe i386 kernel 5.0.0-21.22~18.04.1 c...

Changed in linux-hwe (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Jonathan Navarrete (johnnyboycurtis) wrote :

Hi,

Not sure how to post my specs, but I've been having the same "no audio" issue, which I also believe is related to Windows 10's shutdown behavior. To test this (while no audio was available in Ubuntu 19.04), I started up Windows 10, disabled fast boot in the power settings. Did a full shutdown. Then booted into Ubuntu and audio was once again available.

Not sure if this was dumb luck, or a significant result. I'll be glad to share any more details if it will help solve the problem.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Jonathan,

This bug is closed. Please open a new bug for your issue by running this command in Ubuntu:

  ubuntu-bug linux

David (chicolion)
Changed in linux (Ubuntu):
assignee: nobody → David (chicolion)
Changed in linux (Ubuntu):
assignee: David (chicolion) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.