Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
lmuserx4849

Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by lmuserx4849 » Thu Feb 22, 2018 5:03 pm

Will LM 18.3 see a kernel 4.15 to solve the AMD HDMI sound problem, or do user need to go upstream?

- AMDGPU DC Code Lands For Linux 4.15 Kernel

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by kc1di » Thu Feb 22, 2018 5:14 pm

Mint has not tested and released 4.15 kernel yet. You'd have to find it via some other means, But Warning it may break the system.
You can get it from here http://ubuntuhandbook.org/index.php/201 ... inux-mint/
But they have this warning on the page:
The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

lmuserx4849

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by lmuserx4849 » Thu Feb 22, 2018 11:36 pm

kc1di wrote:
Thu Feb 22, 2018 5:14 pm
Mint has not tested and released 4.15 kernel yet. You'd have to find it via some other means, But Warning it may break the system.
You can get it from here http://ubuntuhandbook.org/index.php/201 ... inux-mint/
But they have this warning on the page:
The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use.
This is only a test machine to get off of LM17.3 in the future. I've been reading the ubuntuhandbook page. I clicked on "Download Kernel 4.15 (.deb)" and was reading. I'm looking at 64-bit generic. It looks like the 6 patches listed at the top are already applied to the binary packages below. Does Linux Mint apply additional patches or modules? Can I view them, if so where? It's an interesting path the kernel takes from debian, to ubuntu, to linuxmint. I wish I understood it better :-)

User avatar
smurphos
Level 6
Level 6
Posts: 1411
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher...

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by smurphos » Fri Feb 23, 2018 12:40 am

lmuserx4849 wrote:
Thu Feb 22, 2018 11:36 pm
I wish I understood it better :-)
Mint's kernels come directly from the Ubuntu repositories and for 18.x are the 16.04 LTS kernel (4.4) and the HWE / HWE Edge kernels (4.8, 4.10, 4.11, 4.13). Of these only 4.4 and 4.13 are currently supported. Mint also get the HWE Edge kernels.

More info on LTS, HWE and HWE Edge here

https://wiki.ubuntu.com/Kernel/RollingL ... ementStack

This page gives an overview of the support schedule for 16.04 and thus Mint 18. You'll note that 4.15 is scheduled to make an appearance as an HWE kernel from Aug 18. I'd expect it to be available as an HWE Edge kernel somewhat earlier - probably April/May. 4.15 is expected to be the LTS kernel for 18.04 and Mint 19

https://wiki.ubuntu.com/Kernel/Support# ... el_Support

See here for an overview of the differences between the Ubuntu maintained kernel and the mainline kernel releases they are based on.

https://wiki.ubuntu.com/Kernel/FAQ/UbuntuDelta

Finally, this page gives easy access to all of Ubuntu kernel information pages.

https://wiki.ubuntu.com/Kernel/FAQ

lmuserx4849

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound? [Solved]

Post by lmuserx4849 » Fri Feb 23, 2018 4:50 am

Just a quick update. I installed the 64-bit, generic 4.15 kernel from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/.
I had to install libelf-dev. I got an error regarding ndiswrapper, similar to the one mentioned here: Linux Kernel 4.13.0-25 Errors. I ignored it. The kernel did install and I do have amd hdmi sound.

Thanks for the links. I'm going to do some reading to hopefully understand this process better. :-)

User avatar
kc1di
Level 13
Level 13
Posts: 4655
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by kc1di » Fri Feb 23, 2018 6:41 am

Glad you got it working for you :)
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Hoser Rob
Level 12
Level 12
Posts: 4087
Joined: Sat Dec 15, 2012 8:57 am

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by Hoser Rob » Fri Feb 23, 2018 10:16 am

kc1di wrote:
Fri Feb 23, 2018 6:41 am
Glad you got it working for you :)
Ditto, and I'd disable high level updates in Update Manager right now if I were you.

NUMDI
Level 1
Level 1
Posts: 11
Joined: Sun Jun 12, 2016 2:19 pm
Location: u.s.a west virgina

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?(SOLVED)

Post by NUMDI » Sat Feb 24, 2018 3:41 pm

hello, im trying to install the 4.15 kernel to try to get sound . i follow the link, http://ubuntuhandbook.org/index.php/201 ... inux-mint/ and copied n pasted to do install n i get this back in my terminal:

numdi@numdi-desktop ~ $ cd /tmp/
numdi@numdi-desktop /tmp $ wget http://kernel.ubuntu.com/~kernel-ppa/ma ... 30_all.deb
--2018-02-24 14:08:55-- http://kernel.ubuntu.com/~kernel-ppa/ma ... 30_all.deb
Resolving kernel.ubuntu.com (kernel.ubuntu.com)... 91.189.94.216
Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-02-24 14:08:55 ERROR 404: Not Found.

numdi@numdi-desktop /tmp $

i have also tried the other link: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/ and followed the instructions and used synaptic package manager to install . it unpacked n says its installed , with the green ck marks i have updated grub n rebooted but it doesnt show in grub screen to boot from? only shows 4.10 and 4.13 kernels. any help to walk me thru this is greatly appreciated.
i dont know how to show my info in the small scrollable box only by coping n pasting my terminal screen "sorry"
info:
numdi@numdi-desktop ~ $ inxi -Fxz
System: Host: numdi-desktop Kernel: 4.13.0-36-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASUSTeK model: M5A99FX PRO R2.0 v: Rev 1.xx
Bios: American Megatrends v: 2501 date: 04/07/2014
CPU: Octa core AMD FX-8320 Eight-Core (-MCP-) cache: 16384 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 72240
clock speeds: max: 4500 MHz 1: 1400 MHz 2: 1400 MHz 3: 1400 MHz
4: 1400 MHz 5: 1400 MHz 6: 1700 MHz 7: 1400 MHz 8: 1700 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Device 67ef bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: ati,amdgpu (unloaded: fbdev,vesa,radeon)
Resolution: 1920x1080@60.00hz
GLX Renderer: Gallium 0.4 on AMD POLARIS11 (DRM 3.18.0 / 4.13.0-36-generic, LLVM 4.0.0)
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card-1 Advanced Micro Devices [AMD/ATI] Device aae0
driver: snd_hda_intel bus-ID: 01:00.1
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA)
driver: snd_hda_intel bus-ID: 00:14.2
Sound: Advanced Linux Sound Architecture v: k4.13.0-36-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: c000 bus-ID: 09:00.0
IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 400.1GB (6.2% used)
ID-1: /dev/sda model: WDC_WD3200BEKT size: 320.1GB
ID-2: /dev/sdb model: Hitachi_HDS72168 size: 80.0GB
Partition: ID-1: / size: 278G used: 7.9G (3%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 17.07GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 21.8C mobo: N/A gpu: 33.0
Fan Speeds (in rpm): cpu: 0
Info: Processes: 230 Uptime: 9:13 Memory: 1210.0/15940.9MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
numdi@numdi-desktop ~ $
Last edited by NUMDI on Wed Feb 28, 2018 2:14 am, edited 1 time in total.

User avatar
Flemur
Level 16
Level 16
Posts: 6053
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by Flemur » Sat Feb 24, 2018 9:31 pm

Ubuntu kernels, including 4.15 :
http://kernel.ubuntu.com/~kernel-ppa/mainline/
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

NUMDI
Level 1
Level 1
Posts: 11
Joined: Sun Jun 12, 2016 2:19 pm
Location: u.s.a west virgina

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by NUMDI » Sun Feb 25, 2018 9:28 pm

thanks for the link, but ive been there already and tried to install from there and got the error mesg. then i went threw synaptic package manger and it said it got installed ? like i said it shows the green ck marks like it should be there but grub doesn’t show and my kernel is still 4.13.
im sure you can tell im a not up on my linux skills.. i love the system even thou my terminal skill aren’t up to par.
this is a fresh install of 18.3 on this drive.. my other drive is running 18.3 also but i have to use the 4.9.15+ kernel from when i was running 17.3 with alot of upgrades ending with 18.3 to give me sound out of my hdmi cable. im sure if other people can get sound, its most likely its my UN-knowlage of linux sys. skills.
i wonder if it would be best to wait for the 4.15 or the 4.16 kernel to be available threw update manger? but this is a fresh install n if i use it as a learning platform i don’t mind re installing when i crash..haha! tiring to learn linux is kinda addicting.. so im open for any help..thanks..

User avatar
MrEen
Level 6
Level 6
Posts: 1342
Joined: Mon Jun 12, 2017 8:39 pm

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by MrEen » Sun Feb 25, 2018 9:36 pm

Did you get both linux-image... AND linux-headers...?

lmuserx4849

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by lmuserx4849 » Mon Feb 26, 2018 12:12 am

You cannot just copy and paste what is on How to Install Linux Kernel 4.15 in Ubuntu / Linux Mint.

Click on the button "Download Kernel 4.15 (.deb)" and you'll notice there are no "201801282230" there, there are "201802011154". And then select the appropriate linux-headers _all and generic, and the linux-image generic.

See my previous message for additional info.

For example, to get the compiled binary kernel for 64-bit:
Build for amd64 succeeded (see BUILD.LOG.amd64):
linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb <---------
linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb <--------
linux-headers-4.15.0-041500-lowlatency_4.15.0-041500.201802011154_amd64.deb
linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb <-------
linux-image-4.15.0-041500-lowlatency_4.15.0-041500.201802011154_amd64.deb
Last edited by lmuserx4849 on Mon Feb 26, 2018 12:29 am, edited 4 times in total.

NUMDI
Level 1
Level 1
Posts: 11
Joined: Sun Jun 12, 2016 2:19 pm
Location: u.s.a west virgina

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by NUMDI » Mon Feb 26, 2018 12:20 am

hello, this is what i clicked on. i read and followed the instruction to best of my knowledge? did i miss something..thanks
v4.15 mainline build
These binary packages represent builds of the mainline or stable Linux kernel tree at the commit below:

v4.15 (d8a5b80568a9cb66810e75b182018e9edb68e8ff)

To obtain the source from which they are built fetch the commit below:

git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack v4.15

and apply the following patches on top in the order below:

0001-base-packaging.patch
0002-UBUNTU-SAUCE-add-vmlinux.strip-to-BOOT_TARGETS1-on-p.patch
0003-UBUNTU-SAUCE-tools-hv-lsvmbus-add-manual-page.patch
0004-UBUNTU-SAUCE-no-up-disable-pie-when-gcc-has-it-enabl.patch
0005-debian-changelog.patch
0006-configs-based-on-Ubuntu-4.15.0-7.8.patch

This is summarised in the SOURCES file included with these binaries.

Build for amd64 succeeded (see BUILD.LOG.amd64):
linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb
linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb ( this one gave me and error but top one downloaded)..?

NUMDI
Level 1
Level 1
Posts: 11
Joined: Sun Jun 12, 2016 2:19 pm
Location: u.s.a west virgina

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by NUMDI » Mon Feb 26, 2018 12:52 am

this is a copy of the web site .. if i change the file no. to the proper one and execute will that install the kernel?

cd /tmp/

wget http://kernel.ubuntu.com/~kernel-ppa/ma ... 30_all.deb

wget http://kernel.ubuntu.com/~kernel-ppa/ma ... _amd64.deb

wget http://kernel.ubuntu.com/~kernel-ppa/ma ... _amd64.deb

sudo dpkg -i *.deb

lmuserx4849

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?

Post by lmuserx4849 » Mon Feb 26, 2018 1:46 am

Yes.

First I installed each deb separately (not the *.deb).

I ran into 2 issues though, and had to do further research.

1. I had to also install libelf-dev. See: https://patchwork.kernel.org/patch/10059179/

2. I got an error regarding ndiswrapper. See: viewtopic.php?t=261347

Please be careful. Make sure you make a backup of your entire system.

I installed on a test machine.

NUMDI
Level 1
Level 1
Posts: 11
Joined: Sun Jun 12, 2016 2:19 pm
Location: u.s.a west virgina

Re: Will LM 18.3 see a 4.15 kernel to fix AMD HDMI sound?(SOLVED)

Post by NUMDI » Wed Feb 28, 2018 2:12 am

thank you! lmuserx4849 and ever one who posted, your instructions worked it took me a bit to understand but after my fears I figured it out and now I have sound!! :D

Post Reply

Return to “Hardware Support”