You are not logged in.

#1 2022-03-30 19:52:50

hytew
Member
Registered: 2011-01-20
Posts: 26

[Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Hello, I just got two days ago a new Laptop ROG Zephyrus M16 (2022). I created this post to help other users with this new generation of laptops with Intel 12th gen and Nvidia 30X0.
I used the last Archlinux image to configure a new system (2022.03), this is the current status:

0. Wifi, Ethernet and mostly everything that normally give problems in Linux is working from the beginning without install any special drivers.

1. [Solved] Gnome/KDE no usable with a lagging mouse cursor.
Solved adding a kernel param `i915.enable_psr=0`
- https://wiki.archlinux.org/title/intel_graphics

2. [ToDo] Nvidia GPU and Intel GPU working together.
It seems that Archlinux are using only the Intel GPU. I followed this tutorial without any advance:
- https://wiki.archlinux.org/title/NVIDIA
- https://wiki.archlinux.org/title/NVIDIA … er_offload
- https://wiki.archlinux.org/title/PRIME# … er_offload

3. [Solved] Volume don't work with speakers but yes with headphones.
It seems that the volume only affects high frequencies but not low (subwoofer?).

4. [Solved] Laptop to hot compared with Windows.
It seems that fans only start working with Linux after some time, but with Windows it starts from the beginning using the performance mode.
- Fixed with the last versions kernels... now the temperatures are better in Linux than in Windows.

5. [Solved] Keyboard had off the lights but works in Windows.
Press FN + F3

6. [ToDo] Print Key to make screenshots.
Well, this Key doesn't exist in the keyboard, not sure if exist a hardware shortcut but in Gnome by default is expecting the Print Key.

7. [Solved] Less performance compared with Windows.
It seems that with next Linux Kerrnel will be fixed.
- Windows: 12189 https://browser.geekbench.com/v5/cpu/13947419
- Linux: 11843 https://browser.geekbench.com/v5/cpu/13935418


Hardware:
https://rog.asus.com/us/laptops/rog-zep … eries/spec
CPU: Intel 12th generation i7 12700H
GPU: Nvidia RTX3060
RAM: 16GB

Last edited by hytew (2023-12-26 13:09:33)

Offline

#2 2022-04-19 11:23:29

megawebmaster
Member
Registered: 2009-08-12
Posts: 75

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

@hytew - I solved the audio problem on my machine and here's the solution (using hdajackretask from alsa-utils package): https://wiki.archlinux.org/title/ASUS_Zenbook_UX431 wink

Last edited by megawebmaster (2022-04-19 11:23:41)

Offline

#3 2022-06-08 12:41:02

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Hello there! I have the almost the same laptop. gu603zw, (12900h, 1070ti). So, thanks for that tips, i tried to solve the audio problem and it's works now!
I'm using xfce4, so after install arch till now i don't hear fans generally. Performance is awesome.

Still no luck with "Nvidia GPU and Intel GPU working together". I'm using only intel now.

[TODO] 165hz panel. Solution with EDID.
Now i have 120hz, so i don't know how to get working 165hz for now.
xrandr doesn't allow to change screen rate, i tried this: https://unix.stackexchange.com/question … 5hz-screen
And I was only able to set 120hz in aw-edid-editor, it doesn't accept bigger value (for some reason).

[TODO] glitches/artifacts in opera browser 88.0.4412.27 Stable
The browser cannot be used, but firefox works perfectly. Some strange glitches (there is no response from the browser, I can’t enter the menu, etc.)
- Works now.


Status on GU603ZW (Kernel 5.18.2):
Wifi - Works
SDCard - Works
Bluetooth - Works
Backlight control - Works
Volume control incl. keyboard - works (hdajackretask fix)
USB3 - Works
Suspend/Resume from hibernate - does not work on main linux kernel, works on linux-lts + nvidia-lts
Touchpad - Works
Display 165hz - partially works, only 120hz with edid - Works with kernel patch - https://github.com/esrsound/ASUS-M16-Laptop
Thunderbolt 4 - not tested
Battery level - Works
Powersave/Performance cpu states - Works (cpupower)
Sensors - Works (temperatures on my gu603zw it's about 50-60 C max with firefox (many tabs), telegram, bluetooth)
Nvidia GPU and Intel GPU working together - Works


  * Some strange reboots on hybrid mode with high load on CPU, detailed: https://bbs.archlinux.org/viewtopic.php?id=277239 Works without any issues on linux-lts.

Last edited by brozer (2022-06-25 06:30:19)

Offline

#4 2022-06-09 11:43:51

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Hi,

I have managed to get Nvidia card working:
2022-06-09-042113-1920x1200-scrot.png

I have yet to sort Optimus, but it should work with this setup, as prime-run does work.
To get Nvidia card to work, you must add the kernel parameter ibt=off , as explained in the 3rd bullet point of the Installation section of the Nvidia page of the Wiki:
2022-06-09-042648-867x158-scrot.png.

Set up is preliminary and it lacks any good ricing still, as I got this laptop just yesterday. But mostly everything works as expected:
- Temperatures seem okay - fans aren't running loud often except when on heavy use. They're actually barely audible most of the time.
- The NVME drive works as expected with an encrypted lvm set up. Dual boot with Windows 11 - able to boot both systems without any issue or fiddling with the BIOS.
- Battery and charging work and last as expected
- Keyboard lighting works via brightnessctl utility - could also use a simple bash script to echo 0-3 into /sys/class/leds/asus::kbd_backlight/brightness
- Bluetooth works for both audio and file sharing

TODOS:
- Try the Asus utilities or alternatives for fan controls.
- A good stress test and some game benchmarks.
- Get keyboard lighting to work - have tried FN + F3 as suggestsed but doesn't work. Any ideas? (Fixed - see above)
- Sort Optimus for card switching(?) - might stick to prime-run
- Sort Audio issues - channels seem to be split between speakers and subwoofers. Can't seem to use both in conjunction, only mono.

Hopefully this helps some of you all and perhaps we can find more solutions to getting this all to work. Thanks for the post

Last edited by dgs (2022-06-09 12:22:27)

Offline

#5 2022-06-09 13:49:10

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

I added  ibt=off to kernel, but still prime doesn't work in hybrid mode:
glxinfo | grep "OpenGL renderer"         
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)

% prime-run glxinfo | grep "OpenGL renderer"
/usr/bin/prime-run: line 2:  1891 Segmentation fault      (core dumped) __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"


UPDATE*
When i rebooted to windows and change mode to discrete it's work now, but nvidia mode only. So, no hybrid setup for now (

Last edited by brozer (2022-06-09 14:09:01)

Offline

#6 2022-06-09 14:10:41

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Works fine for me. Forced FireFox to run on the card, and nvtop confirms it. Also, glx returns the nvidia string:
2022-06-09-070212-1920x1200-scrot.png

You may be using the incorrect driver perhaps?

Offline

#7 2022-06-09 14:19:33

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

dgs wrote:

Works fine for me. Forced FireFox to run on the card, and nvtop confirms it. Also, glx returns the nvidia string:
https://i.ibb.co/LPbwdjb/2022-06-09-070212-1920x1200-scrot.png

You may be using the incorrect driver perhaps?

Nvidia drivers 515.48.07, Kernel 5.18.2

Grub line: "drm.edid_firmware=eDP-1:edid/edid.bin ibt=off i915.enable_psr=0 loglevel=3"

Last edited by brozer (2022-06-09 14:39:18)

Offline

#8 2022-06-09 15:08:58

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

brozer wrote:
dgs wrote:

Works fine for me. Forced FireFox to run on the card, and nvtop confirms it. Also, glx returns the nvidia string:
https://i.ibb.co/LPbwdjb/2022-06-09-070212-1920x1200-scrot.png

You may be using the incorrect driver perhaps?

Nvidia drivers 515.48.07, Kernel 5.18.2

Grub line: "drm.edid_firmware=eDP-1:edid/edid.bin ibt=off i915.enable_psr=0 loglevel=3"

Interesting. Have you tried the nividia-beta package? The wiki suggests trying that package if the nvidia package doesn't work. Could give that a spin, although that seems to be the correct driver for the 1070. I can't seem to find any documentation for 1070Ti for laptops, only desktops. Some 1070 laptops, but not Ti. What laptop is it?
Also, have you tried temporarily removing the edid and i915 kernel parameters? Those seems to be for the Intel card. I don't picture that interfering with prime-run, but I wouldn't be 100% certain. Perhaps it may isolate the issue more. My kernel parameter is just the ibt=off one.

Offline

#9 2022-06-09 15:42:07

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

dgs wrote:
brozer wrote:
dgs wrote:

Works fine for me. Forced FireFox to run on the card, and nvtop confirms it. Also, glx returns the nvidia string:
https://i.ibb.co/LPbwdjb/2022-06-09-070212-1920x1200-scrot.png

You may be using the incorrect driver perhaps?

Nvidia drivers 515.48.07, Kernel 5.18.2

Grub line: "drm.edid_firmware=eDP-1:edid/edid.bin ibt=off i915.enable_psr=0 loglevel=3"

Interesting. Have you tried the nividia-beta package? The wiki suggests trying that package if the nvidia package doesn't work. Could give that a spin, although that seems to be the correct driver for the 1070. I can't seem to find any documentation for 1070Ti for laptops, only desktops. Some 1070 laptops, but not Ti. What laptop is it?
Also, have you tried temporarily removing the edid and i915 kernel parameters? Those seems to be for the Intel card. I don't picture that interfering with prime-run, but I wouldn't be 100% certain. Perhaps it may isolate the issue more. My kernel parameter is just the ibt=off one.

I think i found the problem. Module nvidia-drm is not load from boot. I don't know why, but when i tried to start it manually from tty I successfully run prime.
All nvidia modules were wrote in mkinitcpio.conf (nvidia nvidia_modeset nvidia_uvm nvidia_drm) but apparently it didn't work. So now i don't understand how to run modules from boot, i added this modules to /etc/modules-load.d/nvidia.conf but it still doesn't start from boot.

Offline

#10 2022-06-09 15:49:53

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

brozer wrote:
dgs wrote:
brozer wrote:

Nvidia drivers 515.48.07, Kernel 5.18.2

Grub line: "drm.edid_firmware=eDP-1:edid/edid.bin ibt=off i915.enable_psr=0 loglevel=3"

Interesting. Have you tried the nividia-beta package? The wiki suggests trying that package if the nvidia package doesn't work. Could give that a spin, although that seems to be the correct driver for the 1070. I can't seem to find any documentation for 1070Ti for laptops, only desktops. Some 1070 laptops, but not Ti. What laptop is it?
Also, have you tried temporarily removing the edid and i915 kernel parameters? Those seems to be for the Intel card. I don't picture that interfering with prime-run, but I wouldn't be 100% certain. Perhaps it may isolate the issue more. My kernel parameter is just the ibt=off one.

I think i found the problem. Module nvidia-drm is not load from boot. I don't know why, but when i tried to start it manually from tty I successfully run prime.
All nvidia modules were wrote in mkinitcpio.conf (nvidia nvidia_modeset nvidia_uvm nvidia_drm) but apparently it didn't work. So now i don't understand how to run modules from boot, i added this modules to /etc/modules-load.d/nvidia.conf but it still doesn't start from boot.

Did you generate the initcpio again after adding them to the conf file? Usually you would need to run mkinitcpio -p linux command after adding modules or hooks, for them to be loaded on boot.

Offline

#11 2022-06-09 16:01:37

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

dgs wrote:
brozer wrote:
dgs wrote:

Interesting. Have you tried the nividia-beta package? The wiki suggests trying that package if the nvidia package doesn't work. Could give that a spin, although that seems to be the correct driver for the 1070. I can't seem to find any documentation for 1070Ti for laptops, only desktops. Some 1070 laptops, but not Ti. What laptop is it?
Also, have you tried temporarily removing the edid and i915 kernel parameters? Those seems to be for the Intel card. I don't picture that interfering with prime-run, but I wouldn't be 100% certain. Perhaps it may isolate the issue more. My kernel parameter is just the ibt=off one.

I think i found the problem. Module nvidia-drm is not load from boot. I don't know why, but when i tried to start it manually from tty I successfully run prime.
All nvidia modules were wrote in mkinitcpio.conf (nvidia nvidia_modeset nvidia_uvm nvidia_drm) but apparently it didn't work. So now i don't understand how to run modules from boot, i added this modules to /etc/modules-load.d/nvidia.conf but it still doesn't start from boot.

Did you generate the initcpio again after adding them to the conf file? Usually you would need to run mkinitcpio -p linux command after adding modules or hooks, for them to be loaded on boot.

Yes.  Even a few times that's the point

Offline

#12 2022-06-09 16:11:38

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

brozer wrote:
dgs wrote:
brozer wrote:

I think i found the problem. Module nvidia-drm is not load from boot. I don't know why, but when i tried to start it manually from tty I successfully run prime.
All nvidia modules were wrote in mkinitcpio.conf (nvidia nvidia_modeset nvidia_uvm nvidia_drm) but apparently it didn't work. So now i don't understand how to run modules from boot, i added this modules to /etc/modules-load.d/nvidia.conf but it still doesn't start from boot.

Did you generate the initcpio again after adding them to the conf file? Usually you would need to run mkinitcpio -p linux command after adding modules or hooks, for them to be loaded on boot.

Yes.  Even a few times that's the point

In that case you might wanna post the output of that to see if mktinicpio actually loads them, and maybe lsmod(?). Perhaps someone else can guide through with that because I personally wouldn't know how to proceed. Sorry.
For me, the modules are loaded even without the conf file. So my guess is maybe something else is interfering with it

Offline

#13 2022-06-09 16:18:43

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

dgs wrote:
brozer wrote:
dgs wrote:

Did you generate the initcpio again after adding them to the conf file? Usually you would need to run mkinitcpio -p linux command after adding modules or hooks, for them to be loaded on boot.

Yes.  Even a few times that's the point

In that case you might wanna post the output of that to see if mktinicpio actually loads them, and maybe lsmod(?). Perhaps someone else can guide through with that because I personally wouldn't know how to proceed. Sorry.
For me, the modules are loaded even without the conf file. So my guess is maybe something else is interfering with it

Sorry, it's my mistake. I deleted supergfxctl and delete all conf's from "modprobe.conf.d" and now it's works! Thanks for your help.

Offline

#14 2022-06-13 09:05:04

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Is anyone here got the suspend/resume problem? System freezes after waking up from resume.
So i getting this after resume:

Jun 13 11:48:53.870946 db0x kernel: Restarting tasks ... done.
Jun 13 11:48:53.886415 db0x kernel: PM: hibernation: hibernation exit
Jun 13 11:48:53.889755 db0x kernel: audit: type=1130 audit(1655110133.883:67): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hybrid-sleep comm="sy>
Jun 13 11:48:53.889792 db0x kernel: audit: type=1131 audit(1655110133.883:68): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hybrid-sleep comm="sy>
...
Jun 13 11:48:54.029809 db0x kernel: nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices
Jun 13 11:48:54.029881 db0x kernel: nvidia-modeset: ERROR: GPU:0: Failed detecting connected display devices
Jun 13 11:49:07.893071 db0x kernel: audit: type=1131 audit(1655110147.886:69): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=blueman-mechanism comm="syste>

According of this troubleshoot: https://wiki.archlinux.org/title/NVIDIA/Troubleshooting
i tried to add acpi_osi=! \"acpi_osi=Windows 2015"\" but it's does't work.

Last edited by brozer (2022-06-13 09:06:11)

Offline

#15 2022-06-13 18:09:29

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Some strange reboots on hybrid mode with high load on CPU, detailed: https://bbs.archlinux.org/viewtopic.php?id=277239

Offline

#16 2022-06-15 18:18:23

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Hibernation for me works without any modifications or kernel parameters. Also no issues with wine compiling as per that thread. If your laptop has a mux switch, disabling it through Windows might work

Offline

#17 2022-06-15 18:40:52

hytew
Member
Registered: 2011-01-20
Posts: 26

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Just noticed that Kernel 5.18.* don't work with this Laptop, I needed to comeback to 5.17.*.
linux-lts and linux-zen also don't work.

Offline

#18 2022-06-15 18:45:54

dgs
Member
Registered: 2018-05-11
Posts: 15

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

hytew wrote:

Just noticed that Kernel 5.18.* don't work with this Laptop, I needed to comeback to 5.17.*.
linux-lts and linux-zen also don't work.

It should work. If you look at the screenshot I posted along with my first comment above, you can see I'm on 5.18.2, and everything works fine.

I have been testing a few games like GTA 5 and Arkham series on the highest settings. They run smoothly and well. Loud fans and high temperatures but that's expected so nothing out of the ordinary there.
Benchmarking on Blender also works with good results.

What seems to be your issue with 5.18 kernel?

Offline

#19 2022-06-15 22:09:12

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

dgs wrote:

Hibernation for me works without any modifications or kernel parameters. Also no issues with wine compiling as per that thread. If your laptop has a mux switch, disabling it through Windows might work

Unfortunately, hibernation does not work for me in both hybrid mode and nvidia only mode. Could you attach your xorg config? Maybe some kernel parameters were registered in the grub?

Offline

#20 2022-06-22 17:32:14

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

So,  I found out that hibernation only works on linux-lts

Offline

#21 2022-06-24 18:03:10

brozer
Member
Registered: 2022-06-08
Posts: 17

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

I found a solution to get full 165hz in linux. I made a short description of the whole process on github (https://github.com/esrsound/ASUS-M16-Laptop). All you have to do is patch the kernel module and rebuild it.

Last edited by brozer (2022-06-25 06:41:54)

Offline

#22 2022-08-22 23:30:35

shaosy
Member
Registered: 2022-08-22
Posts: 1

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

Hi, have you finished the Volume problem? I use the same laptop and face almost the same problem. Now i've just change speakers to Analog surround 4.0 and manually turn up the "Front Left" and "Front Right" volume, and it seems better in low volume. Do you have a better solution? I guess it's mainly because of drivers not working correctly?

Last edited by shaosy (2022-08-22 23:33:25)

Offline

#23 2022-12-03 21:48:01

hytew
Member
Registered: 2011-01-20
Posts: 26

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

I'm still with the same problem with Linux kernels. Each time that I run pacman -Syu I need to re-install the previous 5.17.*.

Someone with the same problem?.

Offline

#24 2022-12-04 13:29:01

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

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

You need to disable ibt for kernels newer than 5.17 and out of tree kernel modules see the blue note in https://wiki.archlinux.org/title/NVIDIA#Installation

Offline

#25 2022-12-04 18:29:30

hytew
Member
Registered: 2011-01-20
Posts: 26

Re: [Partially Solved] New Laptop CPU Intel 12th gen 12700H | Nvidia 3060

V1del wrote:

You need to disable ibt for kernels newer than 5.17 and out of tree kernel modules see the blue note in https://wiki.archlinux.org/title/NVIDIA#Installation

OMG, thank you a lot.
I need to re-install grub as first attempt broke the grub menu, but now I'm with kernel 6.0 working well.

Offline

Board footer

Powered by FluxBB