You are not logged in.

#1 2023-01-17 03:53:08

Franscobec
Member
Registered: 2023-01-17
Posts: 8

[Solved] Nowhere to put ibt=off to make nvidia drivers work

I'm quite new to arch / linux in general and I've run into an issue where installing any driver for my 3060 laptop GPU causes the kernel to stop working upon launch.
Apparently this is a common issue right now with kernel 5.18 and higher (using 6.1.6) and the solution is to put ibt=off in the bootloader.

However, as title states I am unable to make ibt=off work. I just do not know where to put it. I've seen someone mention /etc/default/grub under GRUB_CMDLINE_LINUX which doesn't work at all.
looks like this:
# GRUB boot loader configuration

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX="ibt=off"

I've also tried putting it under GRUB_CMDLINE_LINUX_DEFAULT as so:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet ibt=off"
or
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 ibt=off quiet"
or
GRUB_CMDLINE_LINUX_DEFAULT="ibt=off loglevel=3 quiet"

I've also tried inside the grub.cfg file as so:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Archlinux KDE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-641d291e-b97f-49c8-9c7f-c9e7e4d86300' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod lvm
    insmod ext2
    set root='lvmid/dtRje7-3yp9-1XnJ-JTIQ-cwnb-j4A5-1kBTGJ/0OrdBe-9EdW-JXeM-w0Fu-9ELp-l36A-zTjKzf'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint='lvmid/dtRje7-3yp9-1XnJ-JTIQ-cwnb-j4A5-1kBTGJ/0OrdBe-9EdW-JXeM-w0Fu-9ELp-l36A-zTjKzf'  641d291e-b97f-49c8-9c7f-c9e7e4d86300
    else
      search --no-floppy --fs-uuid --set=root 641d291e-b97f-49c8-9c7f-c9e7e4d86300
    fi
    echo    'Loading Archlinux KDE...'
    linux    /boot/vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw  loglevel=3 quiet
    echo    'Welcome to Arch'
    initrd    /boot/initramfs-linux.img
    ibt=off

So yeah at this point I just have no idea at all and I kept getting trolled by the people who told me to install arch so here I am on this forum.

Last edited by Franscobec (2023-01-17 16:26:40)

Offline

#2 2023-01-17 03:57:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,475

Re: [Solved] Nowhere to put ibt=off to make nvidia drivers work

Looks like you didn't regenerate the grub config file after you added it to /etc/default/grub

Edit: or more likely it's just because it's in the wrong place there. loglevel=3 quiet is what goes on the kernel command line, you need to add it with that.

Last edited by Scimmia (2023-01-17 03:58:07)

Online

#3 2023-01-17 05:15:31

Franscobec
Member
Registered: 2023-01-17
Posts: 8

Re: [Solved] Nowhere to put ibt=off to make nvidia drivers work

Scimmia wrote:

Looks like you didn't regenerate the grub config file after you added it to /etc/default/grub

That was exactly what I forgot to do. Thanks alot

Offline

#4 2023-01-17 07:39:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,000

Re: [Solved] Nowhere to put ibt=off to make nvidia drivers work

Please mark as [SOLVED] by editing the title in your first post (might have to shorten a little)

Offline

Board footer

Powered by FluxBB