You are not logged in.

#51 2021-05-11 07:52:30

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

seth wrote:

You're not using nouveau, but end up running on the fbdev driver

Ok,guess I need to read wiki once again. smile Turns out these are so much things I didnt know about.

Offline

#52 2021-05-11 11:37:56

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

Re: NVIDIA driver does not work, black screen after Xorg launch

This isn't a wiki thing - your GPU doesn't seem to get initialized.
Though it would be interesting to see the behavior under actual nouveau control, I suspect the cause rather at the EFI or Windows.

Offline

#53 2021-05-11 16:04:17

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

The issue is not a wiki thing, that's true. I mean, my knowledge is a bit lower than I expected, didnt even know about fbdev as standalone driver. I am not up for testing by now, this is my main working laptop, so. Maybe I have to install second Arch distro for testing. Or test everything a little bit later with another main laptop.

Offline

#54 2021-05-14 11:53:59

LinuxShepherd
Member
Registered: 2021-03-17
Posts: 12

Re: NVIDIA driver does not work, black screen after Xorg launch

Some issues with NVIDIA gpu drivers (nvidia and nouveau) on xorg seems to be solved for me using linux-zen kernel (instead of lts or vanilla).

Last edited by LinuxShepherd (2021-05-14 11:56:08)


I love ruminants and c smile

Offline

#55 2021-05-20 20:00:35

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

LinuxShepherd wrote:

Some issues with NVIDIA gpu drivers (nvidia and nouveau) on xorg seems to be solved for me using linux-zen kernel (instead of lts or vanilla).

I will try it someday, but it seems to be a bit hopeless for me, bc I saw similar problem on Windows.

Offline

#56 2021-05-20 20:18:05

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

ASUS guy's answer is what they did not patch driver for me, just gave me this: https://www.nvidia.com/download/driverR … px/127795/
I didn't found the same driver for Linux, but tried 387.34 version https://us.download.nvidia.com/XFree86/ … 387.34.run, which gave me a huuuuge bunch of compilation warnings and errors so I dont want to solving it. fbdev driver seems like fine option.

Offline

#57 2021-05-20 20:51:37

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

Offline

#58 2021-05-24 17:51:28

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

Offline

#59 2021-05-24 18:14:28

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

Re: NVIDIA driver does not work, black screen after Xorg launch

I didn't really expect it to. Not the asus service to be useful, because

I use asus laptop with GTX 1060 and had similar problem on Windows, the solution was patched NVIDIA driver from asus tech support

None of their weirdo downstream patches will be available w/ any stock nvidia driver - for linux or windows.
And their support team is likely not competent to tell what exactly was patched around there.

Random guess: can you use the notebook w/ an external display (on X11, the console will not automatically use that)?

Offline

#60 2021-06-27 16:58:04

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

seth wrote:

I didn't really expect it to. Not the asus service to be useful, because
Random guess: can you use the notebook w/ an external display (on X11, the console will not automatically use that)?

I guess no. Not seeing any HDMI Identifier in the lspci or xrandr -q but it seems to be nesecery for the xorg config file. Here is the outputs for lscpi -v http://ix.io/3ria and for xrandr -q http://ix.io/3rib.
Edit: I connected external monitor and turned it on btw.

Last edited by GuyWithNvidia (2021-06-27 16:59:24)

Offline

#61 2021-06-27 20:38:09

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

Re: NVIDIA driver does not work, black screen after Xorg launch

Stuff being thrown at the wall in futile deperation:
pass "acpi=off pcie_aspm=off" to the kernel…

Offline

#62 2021-07-10 16:17:46

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

seth wrote:

Stuff being thrown at the wall in futile deperation:
pass "acpi=off pcie_aspm=off" to the kernel…

Seems like nothing changed.
grub string is: linux   /boot/vmlinuz-linux root=UUID=$UUID rw acpi=off pcie_aspm=off rcutree.rcu_idle_gp_delay=1 acpi_backlight=vendor

lspci -v is: http://ix.io/3syY

Offline

#63 2021-07-10 16:22:51

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

Offtopic question: why lscpi keeps telling me what I am using nouveau? Am I using it at some point in some function but not whole of it? It doesnt draw a whole picture in my head.

Offline

#64 2021-07-10 16:43:00

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: NVIDIA driver does not work, black screen after Xorg launch

GuyWithNvidia wrote:

Offtopic question: why lscpi keeps telling me what I am using nouveau? Am I using it at some point in some function but not whole of it? It doesnt draw a whole picture in my head.

01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 16d0
	Flags: fast devsel
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel modules: nouveau

Kernel modules is a list of modules the kernel could use for that device.  Kernel driver in use is the module the kernel is using for the device.

Offline

#65 2021-07-10 21:34:36

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

Re: NVIDIA driver does not work, black screen after Xorg launch

Did we ever try to just explicitly "modprobe -r nvidia; modprobe nvidia"?

Last edited by seth (2021-07-10 21:35:04)

Offline

#66 2021-07-12 14:09:10

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

loqs wrote:

Kernel modules is a list of modules the kernel could use for that device.  Kernel driver in use is the module the kernel is using for the device.

Thanks, got it.

seth wrote:

Kernel modules is a list of modules the kernel could use for that device.  Kernel driver in use is the module the kernel is using for the device.

modprobe -r nvidia; modprobe nvidia                                                                                                                                                      
modprobe: FATAL: Module nvidia not found.
modprobe: FATAL: Module nvidia not found in directory /lib/modules/5.12.2-arch1-1

I messed up something here... Nvidia reinstalled, nvidia-modeprobe executed.

Last edited by GuyWithNvidia (2021-07-12 14:15:54)

Offline

#67 2021-07-12 14:12:41

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

Re: NVIDIA driver does not work, black screen after Xorg launch

5.12.2 is a fairly old kernel

pacman -Qs 'linux|nvidia'

Offline

#68 2021-07-12 20:44:14

GuyWithNvidia
Member
Registered: 2021-05-04
Posts: 47

Re: NVIDIA driver does not work, black screen after Xorg launch

seth wrote:

5.12.2 is a fairly old kernel

pacman -Qs 'linux|nvidia'

Upgraded system and guess what.

modprobe -r nvidia; modprobe nvidia                                                                                                                                                      
modprobe: FATAL: Module nvidia is in use.

Hmmm...

01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 16d0
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

Not a shadow of nvidia in xorg logs. http://ix.io/3sNt I guess what I should try run it by making xorg.conf?

Offline

#69 2021-07-12 20:59:11

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

Re: NVIDIA driver does not work, black screen after Xorg launch

We're just back at where you end up w/ the fbdev driver…

Offline

Board footer

Powered by FluxBB