You are not logged in.
Pages: 1
Topic closed
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
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
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
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
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
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
Hi!
You can fix the sound applying these patches to 6.12-rc3: https://lore.kernel.org/linux-sound/7f9 … fb41146f1c
Offline
Any patches for cpu cstates or bluetooth? Or any info on arc driver improvements?
Offline
There are some XE related patches posted. You can check them here:
Offline
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
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
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
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.
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
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
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
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
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
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
@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
Pages: 1
Topic closed