Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo kernel 6.6.13 w/GeForce GT 740 greenscreen []
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Jan 27, 2024 9:00 pm    Post subject: Gentoo kernel 6.6.13 w/GeForce GT 740 greenscreen [] Reply with quote

Hi,

I'm running a fairly old video card which is no longer supported by the closed-source NVidia driver.

Quote:
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 [size=128]
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:

Quote:
[ 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?


Last edited by Progman3K on Sun Mar 17, 2024 4:42 pm; edited 2 times in total
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Sun Jan 28, 2024 2:31 am    Post subject: Reply with quote

Progman3K,

6.1.67 is still a supported kernel, so no harm in sticking with it in the meantime. This has the distinct whiff of regression in it, my approach would be:- probably time will fix this and save me the trouble.

I recall 6.3.x kernels +nouveau had issues like this on some hw, and if you look upstream on nouveau bugtracker, you'll probably see some of those.

(I'm assuming you jumped to the 6.6.13 not the 6.1.74, as you don't actually say).
Back to top
View user's profile Send private message
myga
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2023
Posts: 99

PostPosted: Sun Jan 28, 2024 5:11 am    Post subject: Reply with quote

I tried 6.6.13 with my NVIDIA P2000 and I had a blank screen issue. Strangely enough, I am able to switch to TTY and use it but startx fails. This is a not the only issue I had with this kernel, it also broke mice support.

I am currently using 6.1.67 because it's stable for me and everything works properly.
_________________
[<<$>>]
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sun Jan 28, 2024 8:15 am    Post subject: Reply with quote

ian.au wrote:
Progman3K,

[...] This has the distinct whiff of regression in it, my approach would be:- probably time will fix this and save me the trouble.

I recall 6.3.x kernels +nouveau had issues like this on some hw, and if you look upstream on nouveau bugtracker, you'll probably see some of those.

(I'm assuming you jumped to the 6.6.13 not the 6.1.74, as you don't actually say).


You're likely correct.
I checked the nouveau bugtracker, couldn't find anything seemingly related, so I filed the following:

https://gitlab.freedesktop.org/drm/nouveau/-/issues/317
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sun Jan 28, 2024 6:46 pm    Post subject: Reply with quote

unmasking and installing sys-kernel/gentoo-sources-6.7.2-r1 doesn't solve the problem.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Feb 03, 2024 6:29 pm    Post subject: Reply with quote

So, to recap,

nouveau 1.0.17 with kernel 6.1.67 OK

nouveau 1.0.17 with kernel 6.6.13 greenscreen
nouveau 1.0.17 with kernel 6.7.2-r1 greenscreen
nouveau 1.0.17 with kernel 6.7.3 greenscreen
nouveau 1.0.17 with kernel 6.7.4 greenscreen


Last edited by Progman3K on Tue Feb 06, 2024 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Sat Feb 03, 2024 6:46 pm    Post subject: Reply with quote

That "Failed sending email :: PHP ::" message does not prevent the replay to be posted, so you should not try again. It's a problem related to Google and Yahoo mail filtering. When you replay, the forum tries to send emails to the ones subscribed to the thread and the mail gets rejected, but you see the error, which is not correct behavior, but it is what it is.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Feb 03, 2024 7:02 pm    Post subject: Reply with quote

Oops! Thanks Georgi!

Could a mod please be so kind as to delete the duplicate posts I made, please, thank you
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21637

PostPosted: Sat Feb 03, 2024 7:16 pm    Post subject: Reply with quote

Progman3K wrote:
Oops! Thanks Georgi!

Could a mod please be so kind as to delete the duplicate posts I made, please, thank you
Deleted duplicates as requested.
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sat Mar 16, 2024 7:22 pm    Post subject: Reply with quote

nouveau 1.0.17 with kernel 6.8.1 OK
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Sun Mar 17, 2024 4:44 pm    Post subject: Reply with quote

NOT resolved.

Apparently, it was a fluke, and rebooting a second time resulted in the green screen.

so I have installed gentoo-sources-6.1.81 and that version does not appear to manifest the bug.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4558
Location: Germany

PostPosted: Mon Mar 18, 2024 2:19 am    Post subject: Reply with quote

Progman3K wrote:
I'm running a fairly old video card which is no longer supported by the closed-source NVidia driver.

Just for info, this GK107 [GeForce GT 740] card with kepler chip set should work with the x11-drivers/nvidia-drivers:0/470 series legacy driver - it is stable in ::gentoo repo available. Current 470.239.06 Version is compatible up to linux 6.8
(but i think best is, using it with the latest linux 6.6 LTS kernel).
Back to top
View user's profile Send private message
Progman3K
l33t
l33t


Joined: 03 Jan 2004
Posts: 773

PostPosted: Mon Mar 18, 2024 11:00 am    Post subject: Reply with quote

Thank you, Josef!

Weirdly, 6.8.1 works about half the time; sometimes I get the green screen, sometimes I get a normal display...

To get back to your recommendation, passing from nouveau to nvidia-driver is more involved than simply running a 6.1.x kernel, so I am doing that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum