You are not logged in.

#26 2022-12-28 14:28:52

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

Ftr, https://bbs.archlinux.org/viewtopic.php … 9#p2076289 seems to have issues w/ altering the D-state w/o the fake OSI as well.

Online

#27 2023-02-23 15:31:38

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Now, when linux-lts updated to 6.1, the dirver does not work on both linux and linux-lts kernels. Could not find a solution

Offline

#28 2023-02-23 15:43:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

You can get an older kernel from https://wiki.archlinux.org/title/Arch_Linux_Archive
Please post a complete system journal for a disfunctional boot, eg:

sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st

for the previous boot.

Online

#29 2023-02-23 16:20:01

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Offline

#30 2023-02-23 16:25:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

That's a random excerpt of a boot. Please post the complete journal.

Online

#31 2023-02-23 16:28:13

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

It's the output of

 sudo journalctl -b -1 

What command do I run?

Offline

#32 2023-02-23 17:31:16

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

Re: Nvidia driver not working on linux kernel

Did you run the command as specified by seth and posted the link that was returned to you? This is heavily truncated and not the full output of a normal journalctl run and is more akin to a copy paste out of the pager.

Offline

#33 2023-02-23 17:37:36

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Yes, I copied the command and posted the link that was outputted

Offline

#34 2023-02-23 17:48:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

sudo journalctl -b | curl -F 'file=@-' 0x0.st
sudo journalctl -b -2 | curl -F 'file=@-' 0x0.st

Online

#35 2023-02-23 18:17:55

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

I rebooted a couple of times since then, here are two more logs
http://0x0.st/HsyH.txt
http://0x0.st/HsyX.txt

It's more or less the same thing every time, I don't know if it's truncated for some reason

Offline

#36 2023-02-23 18:23:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

type journalctl
cat /etc/systemd/journald.conf

Online

#37 2023-02-24 12:56:27

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Here is journald.conf:
http://0x0.st/HsxM.txt

And here is full journalctl since one of the yesterdays boots and until now:
http://0x0.st/HsxQ.txt

Offline

#38 2023-02-24 13:02:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

MaxLevelStore=warning
MaxLevelSyslog=warning
MaxLevelKMsg=warning
MaxLevelConsole=warning
MaxLevelWall=emerg
man journald.conf wrote:

Defaults to "debug" for MaxLevelStore= and MaxLevelSyslog=, to ensure that the all messages are stored in the journal and forwarded to syslog. Defaults to "notice" for           MaxLevelKMsg=, "info" for MaxLevelConsole=, and "emerg" for MaxLevelWall=.

That why your journal contains only warnings what's not helpful here.
Set those to the default values (or comment the entries) and reboot and post the journal.

Online

#39 2023-02-24 13:28:12

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Commented these lines out.
http://0x0.st/Hsxw.txt

Offline

#40 2023-02-24 13:35:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

Feb 24 19:25:49 arch kernel: pci 0000:02:00.0: [10de:1d13] type 00 class 0x030200
…
Feb 24 19:25:57 arch kernel: bbswitch: Found discrete VGA device 0000:02:00.0: \_SB_.PCI0.RP05.PXSX
Feb 24 19:25:57 arch kernel: bbswitch: Succesfully loaded. Discrete card 0000:02:00.0 is off

Online

#41 2023-02-24 13:55:06

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Yeah, and it's impossible to turn it on. Bumblebee/bbswitch are not the ones to blame. Tried completely removing bbswitch, same thing: the driver works on older kernels, doesn't work on newer ones.

Offline

#42 2023-02-24 14:06:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

Then provide a journal for such boot.
If there's a further issue, it's occluded by bbswitch.

Online

#43 2023-02-24 14:15:01

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Ok, will do as soon as I can

Offline

#44 2023-04-17 16:16:50

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Sorry for the delay. The problem has never been resolved, help still needed.
I deleted bumblebee/bbswitch, here's the journal: http://0x0.st/H8pE.txt

Offline

#45 2023-04-17 16:37:03

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

Re: Nvidia driver not working on linux kernel

Apr 17 22:11:27 arch kernel: NVRM: This is a 64-bit BAR mapped above 4GB by the system
                             NVRM: BIOS or the Linux kernel, but the PCI bridge
                             NVRM: immediately upstream of this GPU does not define
                             NVRM: a matching prefetchable memory window.
Apr 17 22:11:27 arch kernel: NVRM: This may be due to a known Linux kernel bug.  Please
                             NVRM: see the README section on 64-bit BARs for additional
                             NVRM: information.

try disabling 4G decoding/resizable BAR in your BIOS/UEFI

Offline

#46 2023-04-17 16:48:19

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

There is no such option in my UEFI

Offline

#47 2023-04-17 20:35:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

Apr 17 22:11:26 arch kernel: nvidia 0000:02:00.0: Unable to change power state from D3cold to D0, device inaccessible

Same problem w/o

apparmor=1 lsm=lockdown,yama,apparmor

?

Online

#48 2023-04-18 06:58:53

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

Yes, it's the same thing: http://0x0.st/H8WG.txt

Offline

#49 2023-04-18 07:28:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,127

Re: Nvidia driver not working on linux kernel

Going back to your OP

Setting ibt=off does nothing. Setting "acpi_osi=Windows 2009" fixes the driver issue but breaks touchpad and power button.

Is there a UEFI/BIOS update available for the system?

Online

#50 2023-04-18 07:42:11

rokser
Member
Registered: 2022-12-24
Posts: 30

Re: Nvidia driver not working on linux kernel

No, there is no update available. I updated it last December in this topic though, nothing changed.

rokser wrote:

updated UEFI to the latest version.

Offline

Board footer

Powered by FluxBB