Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

I'm trying to upgrade my office PC with a new Gen 11 Core i7 ASrock NUC 1165G7. Not a lot worked until I got the kernel moved up to 5.8.0-50. Now the graphic is at 1920x1080@60hz, the ethernet works and the wifi works. The PC has a 3.5mm audio jack which is one of the reasons I got this model. So far all I see is HDMI digital audio listed. spec sheet says it's Realtek ALC233, High Definition Audio.

How can I go about enabling this analog audio out??

Here's my system info:

Code: Select all

System:    Kernel: 5.8.0-50-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 
           wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: ASRock model: NUC-TGL serial: <filter> 
           UEFI: American Megatrends LLC. v: P1.20 date: 03/10/2021 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse PID:003c serial: N/A 
           charge: 55% (should be ignored) status: Discharging 
CPU:       Topology: Quad Core model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP 
           arch: Tiger Lake rev: 1 L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44851 
           Speed: 400 MHz min/max: 400/2701 MHz Core speeds (MHz): 1: 400 2: 512 3: 600 4: 680 
           5: 400 6: 420 7: 600 8: 663 
Graphics:  Device-1: Intel vendor: ASRock driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:9a49 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 20.2.6 
           direct render: Yes 
Audio:     Device-1: Intel vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a0c8 
           Sound Server: ALSA v: k5.8.0-50-generic 
Network:   Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k port: efa0 
           bus ID: 00:1f.6 chip ID: 8086:15fc 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: efa0 bus ID: 59:00.0 
           chip ID: 8086:2723 
           IF: wlp89s0 state: up mac: <filter> 
           Device-3: Intel vendor: ASRock driver: igc v: 0.0.1-k port: efa0 bus ID: 5a:00.0 
           chip ID: 8086:15f2 
           IF: enp90s0 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 10.30 GiB (1.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s 
           lanes: 4 serial: <filter> 
Partition: ID-1: / size: 915.40 GiB used: 10.30 GiB (1.1%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http: //dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http: //mirrors.advancedhosters.com/linuxmint/packages ulyssa main upstream import backport
           2: deb http: //la-mirrors.evowise.com/ubuntu focal main restricted universe multiverse
           3: deb http: //la-mirrors.evowise.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //la-mirrors.evowise.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 270 Uptime: 13m Memory: 14.97 GiB used: 1.42 GiB (9.5%) Init: systemd v: 245 
           runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

That's a nifty device. You could try the 5.10 kernel. Install with:

Code: Select all

sudo apt install linux-oem-20.04b
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

That kernel installed fine, but the analog sound is still listed as unplugged/not present with both a headset with mic and just stereo speakers using pavucontrol.
dmesg shows for:

Code: Select all

[    5.830152] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    5.830483] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.863315] iwlwifi 0000:59:00.0: base HW address: 08:5b:d6:cb:21:68
[    5.867429] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[    5.867432] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.867433] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.867434] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    5.867435] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    5.867437] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19

[    5.941991] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    5.942028] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    5.942059] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[    5.942090] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    5.942123] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    5.942151] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[    5.942180] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input19
[    5.942209] input: HDA Intel PCH HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input20
[    5.942237] input: HDA Intel PCH HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input21
[    5.942265] input: HDA Intel PCH HDMI/DP,pcm=13 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input22
[    5.942293] input: HDA Intel PCH HDMI/DP,pcm=14 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input23
[    5.942319] input: HDA Intel PCH HDMI/DP,pcm=15 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input24
[    5.942348] input: HDA Intel PCH HDMI/DP,pcm=16 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input25
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

And you are sure that in the BIOS settings, it is enabled?
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

LanceM wrote: Wed Apr 28, 2021 10:47 am And you are sure that in the BIOS settings, it is enabled?
I doubled checked that and the only SuperIO choice for audio is for the front jack and the choices are 1) Combo Jack and 2) line in/out

Neither showed up when Plugged in.

Odd thing is that when I plug in the headset for the first time it asks if I want to showdown, restart, suspend or cancel, just like I had pressed the power button.
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

I'm not much good on audio, but sounds like there's a voltage issue. All wires on motherboard are put on correct by the manual?
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

There are no wires in a NUC except for WiFi antennas. Everything is soldered to the double sided board. The whole thing is 4 x 4.5 x 2.5 inches
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

I have had ASrock Deskmini units and they have a cluster of wires that go on a post. Different apparently. Any way you could try it temporarily with Win 10 to see if it works?
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

LanceM wrote: Wed Apr 28, 2021 1:47 pm I have had ASrock Deskmini units and they have a cluster of wires that go on a post. Different apparently. Any way you could try it temporarily with Win 10 to see if it works?
I'm not installing Win 10. Too expensive for useless software. I haven't used Windows since I retired 8 years ago.
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

I fully understand. Glad I'm 95% free from it myself.
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

i may work this further with the audio sub-forum. Right now I've found I can plug in the speakers to my Monitor out and set the sound to HDMI.
Thanks,
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

So at least you have sound. My ASrock PC has bluetooth, and I use it with really decent sound.
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

I see a recent flash has been released for your NUC: https://www.asrockind.com/en-gb/NUC%20BOX-1165G7
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

Yes, I saw that. First thing I did was update to the 3-18-2021 BIOS.
LanceM

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by LanceM »

Good for you. Guess that's the way it is.
ironstorm
Level 1
Level 1
Posts: 4
Joined: Sun Jan 23, 2011 10:11 pm

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by ironstorm »

@jfabernathy, have you gents been able to move to newer kernels?

I'm only able to get my ASRock NUC BOX 1165G7 to boot Linux version 5.8.0-55-generic (https://packages.ubuntu.com/focal/linux ... -hwe-20.04), but 5.8 doesn't seem to be any support for Iris Xe and all other kernels I've tried (5.4.0, 5.6.0, 5.10, 5.12, 5.13rc) die at "Loading intial ramdisk ..." right after grub.

I'm on P1.20, I think maybe their Bios is messed up... I've never seen a machine so picky about Linux kernels.
jfabernathy
Level 3
Level 3
Posts: 134
Joined: Sun Nov 08, 2020 11:16 pm
Location: Raleigh, NC,USA

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by jfabernathy »

ironstorm wrote: Mon Jun 07, 2021 3:47 am @jfabernathy, have you gents been able to move to newer kernels?

I'm only able to get my ASRock NUC BOX 1165G7 to boot Linux version 5.8.0-55-generic (https://packages.ubuntu.com/focal/linux ... -hwe-20.04), but 5.8 doesn't seem to be any support for Iris Xe and all other kernels I've tried (5.4.0, 5.6.0, 5.10, 5.12, 5.13rc) die at "Loading intial ramdisk ..." right after grub.

I'm on P1.20, I think maybe their Bios is messed up... I've never seen a machine so picky about Linux kernels.
Short answer is yes, I'm on 5.10.0-1029-oem x86_64
However, I could not get the audio jack on the front of the NUC to work and ended up using the audio out on one of my monitors through the same set of amplified PC speakers.

Due to the fact that Linux Mint seems to have issues with Dual monitors as I found out in another post. I had to go back to plain Ubuntu 20.04 LTS with the OEM kernel. Still has some issues with power management on the monitors, but at least it works on the NUC.
DaveUdon
Level 1
Level 1
Posts: 7
Joined: Sun Jul 09, 2017 2:38 am

Re: Linux Mint 20 on ASrock IND NUC 1100 BOX 1165G7

Post by DaveUdon »

I just bought a NUC11PAHI5 and installed LM 20.2 on it.

The latest LM 20.2 kernel solved the black box warning in the upper-right corner about no video acceleration,
(Higher than 5.4 and 5.8 but can't recall the value since the unit is dismantled.)

And no sound from the 3.5 port in front of the unit. However, searching around the internet, I came across this patch which solved the sound problem:

FROM: https://forum.manjaro.org/t/sound-from- ... io/5343/20

Paste this line “options snd-hda-intel model=headset-mode” into file “/etc/modprobe.d/alsa-base.conf” then SHUTDOWN the system, DO NOT reboot. Then turn on the system and the sound should appear, but the microphone in the headphones will probably no longer work.
Locked

Return to “Installation & Boot”