You are not logged in.

#1 2022-09-17 19:07:43

Raadush
Member
Registered: 2015-03-05
Posts: 96

[SOLVED] Laptop won't boot after installing nvidia package

Hi guys,
I bough a new laptop and installed my minimal system. I have this graphics cards:

lspci -k | grep -A 2 -E "(VGA|3D)"
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-H GT1 [UHD Graphics] (rev 01)
	Subsystem: Acer Incorporated [ALI] Device 1534
	Kernel driver in use: i915
--
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device 1547
	Kernel modules: nouveau

Everything works fine, I have minimal arch installation, xorg, awesome wm and lightdm. I want to be able to use my NVIDIA card, but if I install nvidia package and reboot, my lapop freezes during boot (not showing lightdm login screen any more). Can you please help me? What logs do you want to show to be able to identify problem? I am not so skilled with hardware configuration so I don't know where is the problem. I will be gratefull for every help so I can use my laptop to the fullest (since also none of my two external monitors work right now). Thanks a lot.

Last edited by Raadush (2022-09-19 10:08:30)

Offline

#2 2022-09-17 19:54:53

seth
Member
Registered: 2012-09-03
Posts: 51,165

Re: [SOLVED] Laptop won't boot after installing nvidia package

You're blacklisting the nouveau module and nvidia probably doesn't load because of OBT, https://wiki.archlinux.org/title/NVIDIA#Installation - 2nd note in the blue box.
If that's not it, we'll need the system journal and xorg log - you can probably still boot the multi-user.target (2nd link below)

Also see https://wiki.archlinux.org/title/LightD … TTY_output

Offline

#3 2022-09-17 20:19:37

Raadush
Member
Registered: 2015-03-05
Posts: 96

Re: [SOLVED] Laptop won't boot after installing nvidia package

seth wrote:

You're blacklisting the nouveau module and nvidia probably doesn't load because of OBT, https://wiki.archlinux.org/title/NVIDIA#Installation - 2nd note in the blue box.
If that's not it, we'll need the system journal and xorg log - you can probably still boot the multi-user.target (2nd link below)

Also see https://wiki.archlinux.org/title/LightD … TTY_output

You are my hero as always Seth. Setting ibt=off really did the trick. System booted no problem, all external monitors are working. Thanks a thousand times. One more question if I may. If I now run nvidia-smi, only Xorg is listed as used by Nvidia card. If I run nvidia-xconfig, laptop's screen no longer works (system see only two monitors connected directly to Nvidia ports). Same for nvidia-settings. What would you recommend? Should I use for example prime-run for software I want to use Nvidia on, or is there some better solution?

Offline

#4 2022-09-17 21:05:22

seth
Member
Registered: 2012-09-03
Posts: 51,165

Re: [SOLVED] Laptop won't boot after installing nvidia package

If I run nvidia-xconfig

Don't and remove the generated xorg.conf - it's unusable garbage.

Should I use for example prime-run for software I want to use Nvidia on, or is there some better solution?

That entirely depends on your preferences => https://wiki.archlinux.org/title/NVIDIA_Optimus

You can run the system on the intel chip and invoke the nvidia chip dynamically or on the nvidia chip only.
In the latter case I'd recommend to disable the intel chip in the BIOS if possible.

If you're using outputs connected to the nvidia chip, you cannot power it down entirely, but will possibly still consume less battery than when running on the nvidia chip only (esp. if you cannot deactivate the intel chip in the BIOS and need to keep it powered all the time to feed the internal display)

Offline

Board footer

Powered by FluxBB