Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694860 - x11-drivers/nvidia-drivers-390.129 - something(?) fails when init_on_alloc_default_on=1
Summary: x11-drivers/nvidia-drivers-390.129 - something(?) fails when init_on_alloc_de...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers
Depends on:
Reported: 2019-09-18 17:00 UTC by Sven B.
Modified: 2020-01-16 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

kernel konfig (config.gz,27.58 KB, application/gzip)
2019-09-19 17:11 UTC, Sven B.
dmseg nvidia module (dmesg_nvidia,3.29 KB, text/plain)
2019-09-19 17:19 UTC, Sven B.

Note You need to log in before you can comment on or make changes to this bug.
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 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