I'm running a fairly old video card which is no longer supported by the closed-source NVidia driver.
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 740] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. GK107 [GeForce GT 740]
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at ce000000 (64-bit, prefetchable) [size=32M]
I/O ports at bc00
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Quite a while ago, I switched the system to using the nouveau driver, and it has worked fine up until now.
With the newest kernel, when the system starts X, the screen first goes black for an instant, then the KDE gears appear for a fraction of a second, and then the screen goes totally green.
However, I can still connect to the machine via VNC, and the graphics and desktop environment appear totally fine that way.
It's only the output on the actual monitor that is entirely green.
There are a few odd lines in dmesg that are out of the ordinary:
[ 9.209980] nouveau 0000:01:00.0: DRM: base-0: timeout
[...]
[ 24.158812] nouveau 0000:01:00.0: DRM: base-0: timeout
[ 26.162262] nouveau 0000:01:00.0: DRM: base-0: timeout
But other than these, the system is still totally stable.
I've tried changing the VIDEO_CARDS variable in /etc/portage/make.conf to vesa, rebuilt world with the --newuse and --changed-use parameters, which did rebuild the relevant parts of x11, but this doesn't seem to have any effect, the startup is still what is described above.
If I boot and select the previous kernel, 6.1.67, then everything is normal.
When updating from kernel 6.1.67, I copied the .config file to the new kernel directory and performed a make oldconfig, which is the same method I have used many times before.
Is there a setting I must change in the kernel to prevent this?



