Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Unable to boot AntiX 22 LiveCD with new kernel on Optimus laptop
- This topic has 13 replies, 7 voices, and was last updated Feb 17-2:10 am by stevesr0.
-
AuthorPosts
-
February 7, 2023 at 7:17 pm #99118Member
ctcx
I have a Lenovo laptop with the following specs:
demo@antix1:~ $ inxi -Fxz System: Kernel: 4.9.0-326-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: IceWM v: 3.0.1 Distro: antiX-22_x64-base Grup Yorum 19 October 2022 base: Debian GNU/Linux 11 (bullseye) Machine: Type: Laptop System: LENOVO product: 20H5A04DLM v: ThinkPad E570 serial: <superuser required> Mobo: LENOVO model: 20H5A04DLM v: SDK0J40697 WIN serial: <superuser required> UEFI: LENOVO v: R0DETA6W (2.06 ) date: 01/27/2022 Battery: ID-1: BAT0 charge: 7.0 Wh (259.3%) condition: 2.7/41.0 Wh (6.5%) volts: 15.3 min: 14.6 model: LGC 01AV418 status: charging CPU: Info: dual core model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB Speed (MHz): avg: 2528 high: 3100 min/max: 400/3100 cores: 1: 847 2: 3072 3: 3093 4: 3100 bogomips: 21696 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Graphics: Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel arch: Gen9.5 bus-ID: 00:02.0 Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Lenovo driver: N/A arch: Maxwell bus-ID: 01:00.0 Device-3: Realtek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-7:5 Display: server: X.Org v: 1.20.11 driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 resolution: 1366x768~60Hz OpenGL: renderer: llvmpipe (LLVM 11.0.1 256 bits) v: 4.5 Mesa 20.3.5 direct render: Yes Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 Sound Server-1: ALSA v: k4.9.0-326-antix.1-amd64-smp running: yes Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: 2.3LK-NAPI port: c000 bus-ID: 04:00.0 IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter> Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel bus-ID: 05:00.0 IF: wlan1 state: down mac: <filter> Drives: Local Storage: total: 223.57 GiB used: 0 KiB (0.0%) ID-1: /dev/sda vendor: A-Data model: SU630 size: 223.57 GiB Partition: Message: No partition data found. Swap: Alert: No swap data was found. Sensors: System Temperatures: cpu: 52.0 C pch: 49.0 C mobo: N/A Fan Speeds (RPM): cpu: 0 Info: Processes: 146 Uptime: 20m Memory: 7.77 GiB used: 2.23 GiB (28.7%) Init: SysVinit runlevel: 5 Compilers: gcc: 10.2.1 Packages: 1246 Shell: Bash v: 5.1.4 inxi: 3.3.19 demo@antix1:~ $This was done by booting with the legacy kernel, because with the new one booting process always gets stuck at the “Waiting for /dev to be fully populated…” message.
Also, with the legacy kernel, there’s an issue: it loads just the basic llvmpipe driver for GPU; I’d expect for at least nouveau be loaded…Could someone help here, please?
Thanks.
February 7, 2023 at 8:08 pm #99127MemberRobin
::Try install 5.10.142 antiX kernel first. If it still fails, give the 5.19.0 debian kernel a try. For me the nouveau driver in both these kernels worked properly on nvidia (in a really old 32 bit single core notebook) finally, while all the other kernels needed proprietary nvidia driver to be installed in order to work properly without the issues you described (and some more). All the nouveau before was broken.
Windows is like a submarine. Open a window and serious problems will start.
February 7, 2023 at 9:48 pm #99128Memberctcx
::What if I’m trying booting directly from the Full livecd, as already implied in the thread title?
February 7, 2023 at 9:54 pm #99129Forum Admin
anticapitalista
::You could try these steps.
Boot legacy kernel
Install another kernel
Remaster
Live kernel updater to default new kernel
RebootPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 7, 2023 at 10:36 pm #99132Moderator
caprea
::If that doesn’t work you could try to boot the 5.10 kernel with nouveau.modeset=0
This will stop the nvidia card loaded from kernel, but might the intel card gets used properly.
It’s anyway using intel with 4.9 , gpu: i915
Like Robin said, you probably need a newer kernel.February 7, 2023 at 10:58 pm #99133Memberctcx
::Oh, so it may be that “new kernel” shipped by default in AntiX 22 Full ISO may be not enough and needs newer kernel (though this laptop is like a decade old…)
Now that talking about remastering, let’s say I want to install nvidia proprietary drivers in a live USB. Is the way just installing, then remastering, like with kernel? (They need reboot to properly work…)
If using this remastered live USB in other systems with no nvidia hardware, will proprietary drivers cause problems, or will system just load proper modules and nothing else?Finally, if wanting to preserve an installed package (for example, unifont), do I need to remaster as well, or could root persistence be enough?
Thanks again for your help.
February 7, 2023 at 11:31 pm #99136Moderator
caprea
::If installing nvidia driver on live-usb, it will eventually write a Xorg.conf, which makes the stick useless for other hardware.
Normally persistence is enough, but remastering has advantages eg. it boots faster.Edit:I would guess the laptop is 4- 5 years old.
- This reply was modified 3 months ago by caprea.
February 8, 2023 at 7:00 pm #99216Memberctcx
::After remastering I’d have two kernels; how can I select which one to boot from? (I may need both depending on situation…)
If I’m already using root persistence, then install new kernel and remaster the live USB, will the same root persistence be still totally usable, or will I need to create another one?
February 8, 2023 at 7:14 pm #99218Forum Admin
anticapitalista
::1. After Remaster and before rebooting, make sure you run live-kernel-updater to choose the new default kernel.
2. After every remaster you will need to create a new rootfs. The old one is saved just in case something goes wrong.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 9, 2023 at 5:43 am #99255ModeratorBobC
::I don’t have the same processor, so this may or may not work, but my processor is similar (Skylake-S), so its probably worth an attempt.
You will need to run inxi -zv7 to get the address for the i915.force_probe which is needed for the newest kernels.
Note where I got the 191b value from my inxi output:
Graphics: Device-1: Intel HD Graphics 530 vendor: Dell driver: i915 v: kernel arch: Gen9 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:191b class-ID: 0300 Device-2: NVIDIA GM107M [GeForce GTX 960M] vendor: Dell driver: N/A arch: Maxwell pcie: speed: 8 GT/s lanes: 8 bus-ID: 02:00.0 chip-ID: 10de:139b class-ID: 0302Try adding this to your boot parameters:
acpi_osi=!Windows i915.preliminary_hw_support=1 i915.alpha_support=1 i915.force_probe=191b- This reply was modified 3 months ago by BobC.
- This reply was modified 3 months ago by BobC.
February 9, 2023 at 10:08 pm #99304Memberctcx
::So I had to remaster and rollback several times…
Tried installing linux-image-5.10.142-antix.2-amd64-smp
Result: exactly the same, gets stuck at the “Waiting for /dev to be fully populated…”Tried installing linux-image-5.19.0-0.deb11.2-amd64
Result: finally booted into systemThough the used GPU driver is still not nouveau:
demo@antix1:~ $ inxi -zv7 [...] Graphics: Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel arch: Gen9.5 ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300 Device-2: NVIDIA GM108M [GeForce 940MX] vendor: Lenovo driver: N/A arch: Maxwell pcie: speed: 8 GT/s lanes: 4 bus-ID: 01:00.0 chip-ID: 10de:134d class-ID: 0302 [...] OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.5 direct render: Yes [...] demo@antix1:~ $This leaves me with several questions…
–How could I use nouveau driver in live USB?
–What’s wrong with 5.10.142 that neither worked at all?
And @BobC :
–Is your suggestion meant to be tested with default 4.9.0, 5.10.142, or both?Thanks again for your assistance.
February 9, 2023 at 10:11 pm #99306Moderator
Brian Masinick
::ctcx, that is the same issue I have seen ever since the 5.10 kernel came out.
Affected me on my Dell laptop.
--
Brian MasinickFebruary 9, 2023 at 11:25 pm #99310ModeratorBobC
::Those settings should work from 4 to 6. It might give a warning depending on the kernel version. I’m running Kernel: 6.0.0-11.2-liquorix-amd64 currently. 5.10 didn’t work for this machine. Its always been finicky.
You should replace with 5916 where I have 191d
February 17, 2023 at 2:10 am #99783Memberstevesr0
::hi ctcx,
Don’t know if this is relevant, but I just stumbled over a package (bbswitch-dkms) which specifically toggles the power for NVIDIA cards on two types of Optimus laptops.
The package builds a kernel module. It is located in the Debian unstable repo.
stevesr0
-
AuthorPosts
- You must be logged in to reply to this topic.