You are not logged in.

#1 2024-10-11 22:36:45

Fusion916
Member
Registered: 2024-05-18
Posts: 31

Lunar Lake Laptop Issues Collection Thread

Anyone else here have a Lunar Lake laptop? I was inspired by this thread https://forum.level1techs.com/t/suspend … 2vm/218028 and wanted to make a arch linux specific thread on the latest issues and potential working/fixes to get everything correct correctly with this laptop because out of the box there are a lot of things where bare bones arch linux doesnt work.

Integrated graphics (Intel Arc V140) Issues:

Does not work with current arch kernel (6.11), will boot into llvmpipe
1. Can work around this by forcing the xe module to load with modprobe
2. Install linux-mainline (6.12) from YAY and boot from that, Integrated graphics will work directly from kernel. no modprobe needed

No HDR support in KDE/Wayland
I don't know of any workaround. Before I wiped windows and replaced it with Arch, I did confirm that HDR worked in windows. This is a linxu specific issue.

AI support for GPU or NPU
I have no clue if these work as I have not put any effort into testing this and I doubt I will as I have a desktop with a 4090 to do AI work on. I don't see a compelling reason right now for AI to exist on a laptop, but it would be nice if someone could chime in if they have any info on this.

External Monitor/Muliple monitors:
Limited testing here but it does seems to work without issues on the HDMI port. I am getting no video from usb-c ports but this may be something particular to my setup. I did not test this in windows before I wiped the OS unfortunely so I have no basis of comparison.




Integrarted sound:
1. Straight up doesn't work at all with arch 6.11 kernel. No workround.
2. Works, barely, on 6.12 (linux-mainline) and linux-sof-firmware. Sound is in bad shape right now in general. Volume is very low, it randomly cuts in and out, and for some games (wine/proton) the sound just straight up doesnt work for I don't know what reason. Sometimes switching to proton-experimental will make the sound work (???) even in very old games (??????). Sometimes the sound doesnt work no matter what (Resident Evil Village). This is probably the biggest area right now that needs work to make the laptop somewhat usable.




Bluetooth:
Doesnt work. Period. Even on mainline kernel. No workaround that I know of. This also needs a fix asap but I think the sound not working properly is going to be a bigger showstopper for a lot of people.




Low Power:
No issue with sleep. However hibernate will randomly lockup your computer on wake. Need hard reboot. Other have dug into the low power issue in the linked thread above.



Desktop:
Another kind of big usability issue is that there is a random but persistent "studder" in the desktop envirnment. You will be typing or moving the mouse or something that required pratically zero cpu power and your cursor or typing will just "lock up" for a second or 2, then will catch up. So inputs are not being dropped, but it will freeze then catch up. Very annoying. I did a bit of digging and every time this happens one of the cores will peg to 100% during that 1-2 second lockup, so I'm almost certain there is something wrong the power profile during usage or something. Oddly however this lockup/studdering does NOT happen when playing games. It's only in the desktop environment. I'm assuming this is because the cpus are never idle during gaming, so again these seems to be like some kind of low power issue.

Offline

#2 2024-10-12 20:12:22

mesaprotector
Member
Registered: 2024-03-03
Posts: 166

Re: Lunar Lake Laptop Issues Collection Thread

I'd be curious if anyone has gotten S3 suspend to work on Lunar Lake (my current theory is that it's impossible), but I'm guessing it's better to work on S0ix being "good enough".

As to your stuttering issue I wonder if it's trying to power-save by shutting down USB devices when it thinks they are idle, but detecting them improperly.

Offline

#3 2024-10-12 20:37:15

Fusion916
Member
Registered: 2024-05-18
Posts: 31

Re: Lunar Lake Laptop Issues Collection Thread

mesaprotector wrote:

I'd be curious if anyone has gotten S3 suspend to work on Lunar Lake (my current theory is that it's impossible), but I'm guessing it's better to work on S0ix being "good enough".

As to your stuttering issue I wonder if it's trying to power-save by shutting down USB devices when it thinks they are idle, but detecting them improperly.

How do I test this theory?

And why would games not have this issue? The cpus are never idle while gaming obvious, but maybe it disables all power saving including trying to shut down usb devices?

Offline

#4 2024-10-14 09:39:55

Fusion916
Member
Registered: 2024-05-18
Posts: 31

Re: Lunar Lake Laptop Issues Collection Thread

Update on studdering:

So with the help of chatgpt, i disabled a bunch of power management features as part of the kernel command line and all of the studdering is completely gone. So there are defintely some lunar lake related power management features casuing the interment freezes. I have not isolated exactly what feature is causing the issue, but for now if anyone else is having this issue, go ahead and disable everything and the desktop will be very smooth.

Offline

#5 2024-10-15 12:29:01

ducap
Member
Registered: 2024-10-15
Posts: 2

Re: Lunar Lake Laptop Issues Collection Thread

Fusion916 wrote:

Update on studdering:

So with the help of chatgpt, i disabled a bunch of power management features as part of the kernel command line and all of the studdering is completely gone. So there are defintely some lunar lake related power management features casuing the interment freezes. I have not isolated exactly what feature is causing the issue, but for now if anyone else is having this issue, go ahead and disable everything and the desktop will be very smooth.



Do you know what command line options you used?

Im just picked up a Lunar lake laptop yesterday, with the same issues like BT not working.

But the stuttering is something that is extremely annoying, I turned off all the power services and no changes.

Also running 6.12.RC2, building RC3 soon to see if there are improvements.

Offline

#6 2024-10-16 20:06:03

Fusion916
Member
Registered: 2024-05-18
Posts: 31

Re: Lunar Lake Laptop Issues Collection Thread

ducap wrote:
Fusion916 wrote:

Update on studdering:

So with the help of chatgpt, i disabled a bunch of power management features as part of the kernel command line and all of the studdering is completely gone. So there are defintely some lunar lake related power management features casuing the interment freezes. I have not isolated exactly what feature is causing the issue, but for now if anyone else is having this issue, go ahead and disable everything and the desktop will be very smooth.



Do you know what command line options you used?

Im just picked up a Lunar lake laptop yesterday, with the same issues like BT not working.

But the stuttering is something that is extremely annoying, I turned off all the power services and no changes.

Also running 6.12.RC2, building RC3 soon to see if there are improvements.

I isolated it to cpu cstates. Add this to as a kernal parameter (in grub or whatever you use):

intel_idle.max_cstate=1

For example, my grub command line looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="splash video=2880x1800 intel_idle.max_cstate=1"

After adding this and updating grub, the studdering should be completely gone.

For bluetooth, still not working. We need to wait for lunar lake bluetooth drivers to be added to linux_firmware. However, after moving to linux_firmware_git and updating the kernel to rc3 the sound is MUCH better. Its significantly louder and so far I have not run into the sound dropping anymore.

here is the kernel im on:

6.12.0-rc3-1-mainline #1 SMP PREEMPT_DYNAMIC Mon, 14 Oct 2024 06:20:10 +0000 x86_64 GNU/Linux

However after doing some gaming last weekend, it seems like the Intel Arc drivers need some work. Depending on the game, the framerates are bad (even for games with simple graphics) and there are variously glitches I ran into that are also game dependant. From what I understand the compatability and performance under windows is much better. Gaming is still doable, just not optimal right now.

Offline

#7 2024-10-17 16:58:10

blackjohnny
Member
Registered: 2024-10-17
Posts: 3

Re: Lunar Lake Laptop Issues Collection Thread

Hi!

You can fix the sound applying these patches to 6.12-rc3: https://lore.kernel.org/linux-sound/7f9 … fb41146f1c

Offline

#8 2024-10-17 19:09:23

Fusion916
Member
Registered: 2024-05-18
Posts: 31

Re: Lunar Lake Laptop Issues Collection Thread

Any patches for cpu cstates or bluetooth? Or any info on arc driver improvements?

Offline

#9 2024-10-18 06:41:00

blackjohnny
Member
Registered: 2024-10-17
Posts: 3

Re: Lunar Lake Laptop Issues Collection Thread

There are some XE related patches posted. You can check them here:

https://patchwork.kernel.org/project/intel-gfx/list/

Offline

#10 2024-10-18 11:51:56

ducap
Member
Registered: 2024-10-15
Posts: 2

Re: Lunar Lake Laptop Issues Collection Thread

Fusion916 wrote:
ducap wrote:
Fusion916 wrote:

Update on studdering:

So with the help of chatgpt, i disabled a bunch of power management features as part of the kernel command line and all of the studdering is completely gone. So there are defintely some lunar lake related power management features casuing the interment freezes. I have not isolated exactly what feature is causing the issue, but for now if anyone else is having this issue, go ahead and disable everything and the desktop will be very smooth.



Do you know what command line options you used?

Im just picked up a Lunar lake laptop yesterday, with the same issues like BT not working.

But the stuttering is something that is extremely annoying, I turned off all the power services and no changes.

Also running 6.12.RC2, building RC3 soon to see if there are improvements.

I isolated it to cpu cstates. Add this to as a kernal parameter (in grub or whatever you use):

intel_idle.max_cstate=1

For example, my grub command line looks like this:

GRUB_CMDLINE_LINUX_DEFAULT="splash video=2880x1800 intel_idle.max_cstate=1"

After adding this and updating grub, the studdering should be completely gone.

For bluetooth, still not working. We need to wait for lunar lake bluetooth drivers to be added to linux_firmware. However, after moving to linux_firmware_git and updating the kernel to rc3 the sound is MUCH better. Its significantly louder and so far I have not run into the sound dropping anymore.

here is the kernel im on:

6.12.0-rc3-1-mainline #1 SMP PREEMPT_DYNAMIC Mon, 14 Oct 2024 06:20:10 +0000 x86_64 GNU/Linux

However after doing some gaming last weekend, it seems like the Intel Arc drivers need some work. Depending on the game, the framerates are bad (even for games with simple graphics) and there are variously glitches I ran into that are also game dependant. From what I understand the compatability and performance under windows is much better. Gaming is still doable, just not optimal right now.




Yep that did the trick. Will have to wait until Intel optimizes for lunar lake.

The XE driver seems fine, But I am getting random glitches with gnome way-land.

Anyways RC3 is not bad minus power and bluetooth, looks promising on the Linux side.


Im still floored with the power consumption of lunar lake vs raptor lake.

Offline

#11 2024-10-18 16:34:40

blackjohnny
Member
Registered: 2024-10-17
Posts: 3

Re: Lunar Lake Laptop Issues Collection Thread

For the Bluetooth to work you can follow these instructions: https://github.com/melvyn2/intel-bt-fw-imgextract

For me it is working with kernel 6.12-rc2, not with rc3

EDIT: after running `sudo update-initramfs -u` Bluetooth works also on rc3

Last edited by blackjohnny (2024-10-18 21:38:32)

Offline

#12 2024-10-22 08:52:09

foxywhispers
Member
Registered: 2024-10-22
Posts: 1

Re: Lunar Lake Laptop Issues Collection Thread

Hey!

The stuttering appears to be better  for me after upgrading to 6.12-rc4.
bluetooth still doesn't work under rc4.

Edit:
Stuttering still bad enough that i went back to using the cstate parameter.

Edit:
Been using 6.12-rc5 for 4 hours now without any stutter. Appears to be fixed. Still no bluetooth in rc5.

Last edited by foxywhispers (2024-10-28 18:55:14)

Offline

#13 2024-11-01 09:45:03

magnusz
Member
Registered: 2024-11-01
Posts: 1

Re: Lunar Lake Laptop Issues Collection Thread

Hey and hello!

First time here, but just recently got the Lunar Lake XPS13!

I get all the same issues mentioned above here, and Im currently compiling the 6.12-rc5 kernel, to see if things improve.  smile

I had a very rough time trying to fix the stutter issue, until I found this forum post, so - Thank you very very much! 

I'll keep you posted!

Last edited by magnusz (2024-11-01 09:54:42)

Offline

#14 2024-11-01 11:57:50

luciozanette
Member
Registered: 2024-11-01
Posts: 1

Re: Lunar Lake Laptop Issues Collection Thread

Hi guys,
I'm trying to compile the 6.12 rc5, but I can't boot on Lunar Lake. Could you tell me which options I need to set in menuconfig?

Offline

#15 2024-11-05 12:41:00

lhl
Member
Registered: 2016-05-11
Posts: 4

Re: Lunar Lake Laptop Issues Collection Thread

luciozanette wrote:

Hi guys,
I'm trying to compile the 6.12 rc5, but I can't boot on Lunar Lake. Could you tell me which options I need to set in menuconfig?

I just use `linux-mainline` (and `linux-mainline-headers`) which will keep you on the latest kernel version (6.12rc6 now): https://aur.archlinux.org/packages/linux-mainline

Offline

#16 2024-11-05 12:48:44

lhl
Member
Registered: 2016-05-11
Posts: 4

Re: Lunar Lake Laptop Issues Collection Thread

Fusion916 wrote:

AI support for GPU or NPU
I have no clue if these work as I have not put any effort into testing this and I doubt I will as I have a desktop with a 4090 to do AI work on. I don't see a compelling reason right now for AI to exist on a laptop, but it would be nice if someone could chime in if they have any info on this.

I haven't poked at the NPU yet, but here's results for llama.cpp on the Lunar Lake's Xe2 (Arc 140V) graphics. Surprisingly good! https://www.reddit.com/r/LocalLLaMA/com … ore_ultra/

Offline

#17 2024-11-06 06:29:26

Turnkey
Member
Registered: 2024-11-06
Posts: 1

Re: Lunar Lake Laptop Issues Collection Thread

foxywhispers wrote:

Hey!

The stuttering appears to be better  for me after upgrading to 6.12-rc4.
bluetooth still doesn't work under rc4.

Edit:
Stuttering still bad enough that i went back to using the cstate parameter.

Edit:
Been using 6.12-rc5 for 4 hours now without any stutter. Appears to be fixed. Still no bluetooth in rc5.

I'm running 6.12-rc6 and I am still encountering stuttering on an Ultra 7 258V, which can be very noticeable when typing in LibreOffice, for example.

The cstate fix seems to fix the stuttering on my end, but doesn't seem like a viable fix for the long-term. Perhaps this should be reported to the upstream kernel as a bug?

EDIT:

I've reported the stuttering issue upstream at: https://bugzilla.kernel.org/show_bug.cgi?id=219477

Last edited by Turnkey (2024-11-06 21:45:25)

Offline

#18 2024-11-10 05:43:57

humphreyy
Member
Registered: 2024-11-10
Posts: 1

Re: Lunar Lake Laptop Issues Collection Thread

Hi, I am running 6.12.0-rc2-2-MANJARO, the bluetooth works fine on my end but I could not fix the sound issue.

There is no output (output device is always Dummy Output) and no input device.

It has difficulty detecting the sound card:

> aplay -l   
aplay: device_list:279: no soundcards found..
> pactl list sinks   
                                            
Sink #34
	State: SUSPENDED
	Name: auto_null
	Description: Dummy Output
	Driver: PipeWire
	Sample Specification: float32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
> lspci | grep audio                 
00:1f.3 Multimedia audio controller: Intel Corporation Lunar Lake-M HD Audio Controller (rev 10)

I installed sof-firmware but no luck.

Please kindly let me know if there is a fix for this.

Many thanks in advance.

Last edited by humphreyy (2024-11-10 05:49:20)

Offline

#19 2024-11-10 11:14:51

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,024

Re: Lunar Lake Laptop Issues Collection Thread

@humphreyy
this forum is for archlinux  support only .
Please ask your question on the manjaro support channels or use a support channel that supports mutliple distros like linuxquestions.org .

@Fusion916
This kind of information  belongs on the wiki, not on the forum.
Also we very much prefer to see one issue per thread.

If there are specific issues that require investigation, individual threads can be started for them and linked from the wiki page .

I'm closing this topic now.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB