Re: [gentoo-user] X not starting after kernel upgrade

2023-04-11 Thread thelma

On 4/11/23 09:47, Jack wrote:
[snip]


message after recompiling Nvida driver:
WARN: postinst

Be warned/reminded that the 390.xx branch reached end-of-life and
NVIDIA is no longer fixing issues (including security). Free to keep
using (for now) but it is recommended to either switch to nouveau or
replace hardware. Will be kept in-tree while possible, but expect it
to be removed likely in early 2027 or earlier if major issues arise.


It looks like the 390 driver has been masked in portage, although not yet removed.  Have 
you read the message in /usr/portage/profiles/package.mask?  As the message suggests, you 
may be better off switching to actually using nouveau.  It also implies that 6.1.X LTS 
kernels "should" still work.  Note that the X log you posted doesn't even show 
it trying to load the nvidia driver - have you tried again after recompiling it for the 
new kernel?  That message was a warning, not an error, so it should have compiled 
successfully - did it?



Good suggestion, I switched to nouveau and was as able to upgrade to newest 
kernel-6.1.19 as well.
besides, nvidia-390 is on the end of line as it might be removed from portage 
one day.



Re: [gentoo-user] X not starting after kernel upgrade

2023-04-11 Thread Jack

On 2023.04.10 20:14, the...@sys-concept.com wrote:

On 4/10/23 17:29, Jack wrote:

On 2023.04.10 18:22, the...@sys-concept.com wrote:

On 4/10/23 15:53, the...@sys-concept.com wrote:

After upgrading to newest kernel the X will not start.

Is: make oldconfig  same as: make olddefconfig ?

Xorg.0.log showing;

[   673.829] (II) Loading  
/usr/lib64/xorg/modules/drivers/nouveau_drv.so

[   673.829] (II) Module nouveau: vendor="X.Org Foundation"
[   673.829] compiled for 1.21.1.8, module version = 1.0.17
[   673.829] Module class: X.Org Video Driver
[   673.829] ABI class: X.Org Video Driver, version 25.2
[   673.829] (II) LoadModule: "nv"
[   673.829] (WW) Warning, couldn't open module nv
[   673.829] (EE) Failed to load module "nv" (module does not  
exist, 0)

[   673.829] (II) LoadModule: "modesetting"
[   673.829] (II) Loading  
/usr/lib64/xorg/modules/drivers/modesetting_drv.so

[   673.830] (II) Module modesetting: vendor="X.Org Foundation"
[   673.830] compiled for 1.21.1.8, module version = 1.21.1
[   673.830] Module class: X.Org Video Driver
[   673.830] ABI class: X.Org Video Driver, version 25.2
[   673.830] (II) LoadModule: "fbdev"
[   673.830] (WW) Warning, couldn't open module fbdev
[   673.830] (EE) Failed to load module "fbdev" (module does not  
exist, 0)

[   673.830] (II) LoadModule: "vesa"
[   673.830] (WW) Warning, couldn't open module vesa
[   673.830] (EE) Failed to load module "vesa" (module does not  
exist, 0)

[   673.830] (II) NOUVEAU driver
[   673.830] (II) NOUVEAU driver for NVIDIA chipset families :
[   673.830] RIVA TNT    (NV04)
[   673.830] RIVA TNT2   (NV05)
[   673.830] GeForce 256 (NV10)
[   673.830] GeForce 2   (NV11, NV15)
[   673.830] GeForce 4MX (NV17, NV18)
[   673.830] GeForce 3   (NV20)
[   673.830] GeForce 4Ti (NV25, NV28)
[   673.830] GeForce FX  (NV3x)
[   673.830] GeForce 6   (NV4x)
[   673.830] GeForce 7   (G7x)
[   673.830] GeForce 8   (G8x)
[   673.830] GeForce 9   (G9x)
[   673.830] GeForce GTX 2xx/3xx (GT2xx)
[   673.830] GeForce GTX 4xx/5xx (GFxxx)
[   673.830] GeForce GTX 6xx/7xx (GKxxx)
[   673.830] GeForce GTX 9xx (GMxxx)
[   673.830] GeForce GTX 10xx    (GPxxx)
[   673.830] (II) modesetting: Driver for Modesetting Kernel  
Drivers: kms
[   673.831] (EE) [drm] Failed to open DRM device for  
pci::01:00.0: -19

[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) Falling back to old probe method for modesetting
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) VGA arbiter: cannot open kernel arbiter, no  
multi-card support
[   673.831] (EE) Screen 0 deleted because of no matching config  
section.

[   673.831] (II) UnloadModule: "modesetting"
[   673.831] (EE) Device(s) detected, but none match those in the  
config file.

[   673.831] (EE)
Fatal server error:
[   673.831] (EE) no screens found(EE)

This is an old system and is using:  GeForce GTS 450


Does the newest kernel: linux-6.1.19-gentoo
supports my old  GeForce GTS 450 card?

grep KMS .config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM=y

I don't recall anything about the kernel that has to match the video  
card - it's the video driver for X, but if you're using Nouveau, I  
wouldn't expect a problem.  I know the current nVidia driver is  
often not ready for the latest kernel, but I don't think that's your  
problem.  Have you recompiled xv86-video-nouveau after installing  
the new kernel?  Are there any relevant errors in dmesg?




I think the problem is with latest kernel linux-6.1.19-gentoo
I'm using Nvidia dirver;  x11-drivers/nvidia-drivers-390.157

and after compiling the driver on this kernel I was getting a message  
notice:

WARN: setup
Detected potential configuration issues witDIVIDEND RECEIVEDh used  
kernel:
  CONFIG_FB_SIMPLE: is set, recommended to disable and switch to  
FB_EFI or
FB_VESA as it currently may be broken with >=kernel-5.18.13 +  
NVIDIA:

https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341
(feel free to ignore this if it works for you)

I downgraded the kerenl to: linux-5.15.102-gentoo
and X is booting OK.

message after recompiling Nvida driver:
WARN: postinst

Be warned/reminded that the 390.xx branch reached end-of-life and
NVIDIA is no longer fixing issues (including security). Free to keep
using (for now) but it is recommended to either switch to nouveau or
replace hardware. Will be kept in-tree while possible, but expect it
to be removed likely in early 2027 or earlier if major issues arise.


It looks like the 390 driver has been masked in portage, although not  
yet removed.  Have you read the message in  
/usr/portage/profiles/package.mask?  As the message suggests, you may  
be better off switching to actually using nouveau.  It also implies  
that 6.1.X LTS kernels "should" 

Re: [gentoo-user] X not starting after kernel upgrade

2023-04-10 Thread Matt Connell
On Mon, 2023-04-10 at 15:53 -0600, the...@sys-concept.com wrote:
> Is: make oldconfig  same as: make olddefconfig ?

No.  olddefconfig accepts the default answer for each new configuration
item, non-interactively.  oldconfig is interactive.

I can't really give you guidance with your original problem though.



Re: [gentoo-user] X not starting after kernel upgrade

2023-04-10 Thread thelma

On 4/10/23 17:29, Jack wrote:

On 2023.04.10 18:22, the...@sys-concept.com wrote:

On 4/10/23 15:53, the...@sys-concept.com wrote:

After upgrading to newest kernel the X will not start.

Is: make oldconfig  same as: make olddefconfig ?

Xorg.0.log showing;

[   673.829] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[   673.829] (II) Module nouveau: vendor="X.Org Foundation"
[   673.829] compiled for 1.21.1.8, module version = 1.0.17
[   673.829] Module class: X.Org Video Driver
[   673.829] ABI class: X.Org Video Driver, version 25.2
[   673.829] (II) LoadModule: "nv"
[   673.829] (WW) Warning, couldn't open module nv
[   673.829] (EE) Failed to load module "nv" (module does not exist, 0)
[   673.829] (II) LoadModule: "modesetting"
[   673.829] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   673.830] (II) Module modesetting: vendor="X.Org Foundation"
[   673.830] compiled for 1.21.1.8, module version = 1.21.1
[   673.830] Module class: X.Org Video Driver
[   673.830] ABI class: X.Org Video Driver, version 25.2
[   673.830] (II) LoadModule: "fbdev"
[   673.830] (WW) Warning, couldn't open module fbdev
[   673.830] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   673.830] (II) LoadModule: "vesa"
[   673.830] (WW) Warning, couldn't open module vesa
[   673.830] (EE) Failed to load module "vesa" (module does not exist, 0)
[   673.830] (II) NOUVEAU driver
[   673.830] (II) NOUVEAU driver for NVIDIA chipset families :
[   673.830] RIVA TNT    (NV04)
[   673.830] RIVA TNT2   (NV05)
[   673.830] GeForce 256 (NV10)
[   673.830] GeForce 2   (NV11, NV15)
[   673.830] GeForce 4MX (NV17, NV18)
[   673.830] GeForce 3   (NV20)
[   673.830] GeForce 4Ti (NV25, NV28)
[   673.830] GeForce FX  (NV3x)
[   673.830] GeForce 6   (NV4x)
[   673.830] GeForce 7   (G7x)
[   673.830] GeForce 8   (G8x)
[   673.830] GeForce 9   (G9x)
[   673.830] GeForce GTX 2xx/3xx (GT2xx)
[   673.830] GeForce GTX 4xx/5xx (GFxxx)
[   673.830] GeForce GTX 6xx/7xx (GKxxx)
[   673.830] GeForce GTX 9xx (GMxxx)
[   673.830] GeForce GTX 10xx    (GPxxx)
[   673.830] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   673.831] (EE) [drm] Failed to open DRM device for pci::01:00.0: -19
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) Falling back to old probe method for modesetting
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   673.831] (EE) Screen 0 deleted because of no matching config section.
[   673.831] (II) UnloadModule: "modesetting"
[   673.831] (EE) Device(s) detected, but none match those in the config file.
[   673.831] (EE)
Fatal server error:
[   673.831] (EE) no screens found(EE)

This is an old system and is using:  GeForce GTS 450


Does the newest kernel: linux-6.1.19-gentoo
supports my old  GeForce GTS 450 card?

grep KMS .config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM=y


I don't recall anything about the kernel that has to match the video card - 
it's the video driver for X, but if you're using Nouveau, I wouldn't expect a 
problem.  I know the current nVidia driver is often not ready for the latest 
kernel, but I don't think that's your problem.  Have you recompiled 
xv86-video-nouveau after installing the new kernel?  Are there any relevant 
errors in dmesg?



I think the problem is with latest kernel linux-6.1.19-gentoo
I'm using Nvidia dirver;  x11-drivers/nvidia-drivers-390.157

and after compiling the driver on this kernel I was getting a message notice:
WARN: setup
Detected potential configuration issues with used kernel:
  CONFIG_FB_SIMPLE: is set, recommended to disable and switch to FB_EFI or
FB_VESA as it currently may be broken with >=kernel-5.18.13 + NVIDIA:
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341
(feel free to ignore this if it works for you)

I downgraded the kerenl to: linux-5.15.102-gentoo
and X is booting OK.

message after recompiling Nvida driver:
WARN: postinst

Be warned/reminded that the 390.xx branch reached end-of-life and
NVIDIA is no longer fixing issues (including security). Free to keep
using (for now) but it is recommended to either switch to nouveau or
replace hardware. Will be kept in-tree while possible, but expect it
to be removed likely in early 2027 or earlier if major issues arise.






Re: [gentoo-user] X not starting after kernel upgrade

2023-04-10 Thread Jack

On 2023.04.10 18:22, the...@sys-concept.com wrote:

On 4/10/23 15:53, the...@sys-concept.com wrote:

After upgrading to newest kernel the X will not start.

Is: make oldconfig  same as: make olddefconfig ?

Xorg.0.log showing;

[   673.829] (II) Loading  
/usr/lib64/xorg/modules/drivers/nouveau_drv.so

[   673.829] (II) Module nouveau: vendor="X.Org Foundation"
[   673.829] compiled for 1.21.1.8, module version = 1.0.17
[   673.829] Module class: X.Org Video Driver
[   673.829] ABI class: X.Org Video Driver, version 25.2
[   673.829] (II) LoadModule: "nv"
[   673.829] (WW) Warning, couldn't open module nv
[   673.829] (EE) Failed to load module "nv" (module does not exist,  
0)

[   673.829] (II) LoadModule: "modesetting"
[   673.829] (II) Loading  
/usr/lib64/xorg/modules/drivers/modesetting_drv.so

[   673.830] (II) Module modesetting: vendor="X.Org Foundation"
[   673.830] compiled for 1.21.1.8, module version = 1.21.1
[   673.830] Module class: X.Org Video Driver
[   673.830] ABI class: X.Org Video Driver, version 25.2
[   673.830] (II) LoadModule: "fbdev"
[   673.830] (WW) Warning, couldn't open module fbdev
[   673.830] (EE) Failed to load module "fbdev" (module does not  
exist, 0)

[   673.830] (II) LoadModule: "vesa"
[   673.830] (WW) Warning, couldn't open module vesa
[   673.830] (EE) Failed to load module "vesa" (module does not  
exist, 0)

[   673.830] (II) NOUVEAU driver
[   673.830] (II) NOUVEAU driver for NVIDIA chipset families :
[   673.830] RIVA TNT    (NV04)
[   673.830] RIVA TNT2   (NV05)
[   673.830] GeForce 256 (NV10)
[   673.830] GeForce 2   (NV11, NV15)
[   673.830] GeForce 4MX (NV17, NV18)
[   673.830] GeForce 3   (NV20)
[   673.830] GeForce 4Ti (NV25, NV28)
[   673.830] GeForce FX  (NV3x)
[   673.830] GeForce 6   (NV4x)
[   673.830] GeForce 7   (G7x)
[   673.830] GeForce 8   (G8x)
[   673.830] GeForce 9   (G9x)
[   673.830] GeForce GTX 2xx/3xx (GT2xx)
[   673.830] GeForce GTX 4xx/5xx (GFxxx)
[   673.830] GeForce GTX 6xx/7xx (GKxxx)
[   673.830] GeForce GTX 9xx (GMxxx)
[   673.830] GeForce GTX 10xx    (GPxxx)
[   673.830] (II) modesetting: Driver for Modesetting Kernel  
Drivers: kms
[   673.831] (EE) [drm] Failed to open DRM device for  
pci::01:00.0: -19

[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) Falling back to old probe method for modesetting
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) VGA arbiter: cannot open kernel arbiter, no  
multi-card support
[   673.831] (EE) Screen 0 deleted because of no matching config  
section.

[   673.831] (II) UnloadModule: "modesetting"
[   673.831] (EE) Device(s) detected, but none match those in the  
config file.

[   673.831] (EE)
Fatal server error:
[   673.831] (EE) no screens found(EE)

This is an old system and is using:  GeForce GTS 450


Does the newest kernel: linux-6.1.19-gentoo
supports my old  GeForce GTS 450 card?

grep KMS .config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM=y

I don't recall anything about the kernel that has to match the video  
card - it's the video driver for X, but if you're using Nouveau, I  
wouldn't expect a problem.  I know the current nVidia driver is often  
not ready for the latest kernel, but I don't think that's your  
problem.  Have you recompiled xv86-video-nouveau after installing the  
new kernel?  Are there any relevant errors in dmesg?




Re: [gentoo-user] X not starting after kernel upgrade

2023-04-10 Thread thelma

On 4/10/23 15:53, the...@sys-concept.com wrote:

After upgrading to newest kernel the X will not start.

Is: make oldconfig  same as: make olddefconfig ?

Xorg.0.log showing;

[   673.829] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[   673.829] (II) Module nouveau: vendor="X.Org Foundation"
[   673.829] compiled for 1.21.1.8, module version = 1.0.17
[   673.829] Module class: X.Org Video Driver
[   673.829] ABI class: X.Org Video Driver, version 25.2
[   673.829] (II) LoadModule: "nv"
[   673.829] (WW) Warning, couldn't open module nv
[   673.829] (EE) Failed to load module "nv" (module does not exist, 0)
[   673.829] (II) LoadModule: "modesetting"
[   673.829] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   673.830] (II) Module modesetting: vendor="X.Org Foundation"
[   673.830] compiled for 1.21.1.8, module version = 1.21.1
[   673.830] Module class: X.Org Video Driver
[   673.830] ABI class: X.Org Video Driver, version 25.2
[   673.830] (II) LoadModule: "fbdev"
[   673.830] (WW) Warning, couldn't open module fbdev
[   673.830] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   673.830] (II) LoadModule: "vesa"
[   673.830] (WW) Warning, couldn't open module vesa
[   673.830] (EE) Failed to load module "vesa" (module does not exist, 0)
[   673.830] (II) NOUVEAU driver
[   673.830] (II) NOUVEAU driver for NVIDIA chipset families :
[   673.830] RIVA TNT    (NV04)
[   673.830] RIVA TNT2   (NV05)
[   673.830] GeForce 256 (NV10)
[   673.830] GeForce 2   (NV11, NV15)
[   673.830] GeForce 4MX (NV17, NV18)
[   673.830] GeForce 3   (NV20)
[   673.830] GeForce 4Ti (NV25, NV28)
[   673.830] GeForce FX  (NV3x)
[   673.830] GeForce 6   (NV4x)
[   673.830] GeForce 7   (G7x)
[   673.830] GeForce 8   (G8x)
[   673.830] GeForce 9   (G9x)
[   673.830] GeForce GTX 2xx/3xx (GT2xx)
[   673.830] GeForce GTX 4xx/5xx (GFxxx)
[   673.830] GeForce GTX 6xx/7xx (GKxxx)
[   673.830] GeForce GTX 9xx (GMxxx)
[   673.830] GeForce GTX 10xx    (GPxxx)
[   673.830] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   673.831] (EE) [drm] Failed to open DRM device for pci::01:00.0: -19
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) Falling back to old probe method for modesetting
[   673.831] (EE) open /dev/dri/card0: No such file or directory
[   673.831] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   673.831] (EE) Screen 0 deleted because of no matching config section.
[   673.831] (II) UnloadModule: "modesetting"
[   673.831] (EE) Device(s) detected, but none match those in the config file.
[   673.831] (EE)
Fatal server error:
[   673.831] (EE) no screens found(EE)

This is an old system and is using:  GeForce GTS 450


Does the newest kernel: linux-6.1.19-gentoo
supports my old  GeForce GTS 450 card?

grep KMS .config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM=y