Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 694860

Summary: x11-drivers/nvidia-drivers-390.129 - something(?) fails when init_on_alloc_default_on=1
Product: Gentoo Linux Reporter: Sven B. <s.bahro+bgo>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kernel konfig
dmseg nvidia module

Description Sven B. 2019-09-18 17:00:58 UTC
If init_on_alloc=1 nvidia-drivers-390.129 fail to initialize. Can't test with newer drivers. Perhaps check kernel config and add a warning when emerging.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-19 03:33:45 UTC
What fails to initialise? Building it? Running it? Can you show useful output that helps fix this?
Comment 2 Sven B. 2019-09-19 17:10:09 UTC
(In reply to Jeroen Roovers from comment #1)
> What fails to initialise? Building it? Running it? Can you show useful
> output that helps fix this?

Hmm no really useful output. Building is fine. Running depends.


Further testing showed if i specify either init_on_alloc=1 or init_on_alloc=0 on boot command line nvidia loads fine (with config_init_on_alloc_default_on=y). While =1 shouldn't make a difference to default_on...

[     9.269] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     9.269] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[     9.269] (==) NVIDIA(0): RGB weight 888
[     9.269] (==) NVIDIA(0): Default visual is TrueColor
[     9.269] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.270] (**) NVIDIA(0): Option "RegistryDwords" "EnableBrightnessControl=1"
[     9.270] (**) NVIDIA(0): Enabling 2D acceleration
[     9.275] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please
[     9.275] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[     9.275] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[     9.275] (EE) NVIDIA(GPU-0):     README for additional information.
[     9.275] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[     9.275] (EE) NVIDIA(0): Failing initialization of X screen 0
[     9.275] (II) UnloadModule: "nvidia"
[     9.275] (II) UnloadSubModule: "wfb"
[     9.275] (II) UnloadSubModule: "fb"
Comment 3 Sven B. 2019-09-19 17:11:50 UTC
Created attachment 590378 [details]
kernel konfig
Comment 4 Sven B. 2019-09-19 17:19:24 UTC
Created attachment 590380 [details]
dmseg nvidia module