You are not logged in.

#1 2025-01-26 20:38:13

sukolyn
Member
Registered: 2024-02-14
Posts: 156

[solved almost] nvidia Geforce GT740: screen deactivates during boot

hi,

lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)

symptoms:
When I boot my PC on kernel 6.12 (it appeared with 6.10 (refer to this discussion) screen seems to disconnect : screen goes to sleep mode, though system works properly and is reachable through ssh.
System starts correctly using current LTS kernel 6.6.72-1.

boot journal:
http://0x0.st/8XEk.txt

xorg log (I login through TTY, no DM installed)
http://0x0.st/8XE7.1.log

Last edited by sukolyn (2025-02-15 22:15:32)

Offline

#2 2025-01-26 23:15:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

janv. 26 21:18:56 archlinux kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
janv. 26 21:18:56 archlinux kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
janv. 26 21:18:57 archlinux kernel: nouveau 0000:01:00.0: [drm] Cannot find any crtc or sizes
---
[   349.748] (WW) modeset(0): No outputs definitely connected, trying again...

https://bbs.archlinux.org/viewtopic.php … 1#p2221121 (pleasepleasepleasepleaseplease)

Offline

#3 2025-01-27 03:29:15

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

"initcall_blacklist=simpledrm_platform_driver_init" didn't work.
journalctl -b
neither does "nvidia_drm.modeset=1"
journalctl -b

Offline

#4 2025-01-27 08:28:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

But… I said "pleasepleasepleasepleaseplease" sad

Try to move nouveau into the initramfs (the kms hook should™ do or you explciitly add it to the modules. nb that because of the GSP firware this will likely blow up the initramfs considerably)

You can force the kernel to assume an output to be active, https://www.kernel.org/doc/Documentation/fb/modedb.rst

You're aware that your GPU is supported by https://aur.archlinux.org/packages/nvidia-470xx-dkms/ ?

Offline

#5 2025-01-27 10:20:55

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

and what does mean "pleasepleasepleasepleaseplease" ?

installing dkms didn't add nouveau to MODULES=() into /etc/mkinitcpio.conf
so I added it manually, and run mkinitcpio -p linux with no effect at reboot.

I also added video=HDMI-1:D to grub's default, in order to "force the display to be enabled", and then grub-mkconfig... with no effect too.

it worked with nouveau until 6.10 kernel update, it'd be fine to work now as it used to.

Last edited by sukolyn (2025-01-27 13:54:22)

Offline

#6 2025-01-27 14:37:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

Means I wanted to blame the simpledrm device very badly.

Assuming HDMI-1 is actually the correct output (check /sys/class/drm/card*/edid on the LTS kernel) the relevant video parameter would likely be "e", ie.

video=HDMI-1:e

- though I guess D should™ work provided it's indeed a digital conneciotn.

What happens if you re-connect the output (on either the computer or monitor side) after the boot?
(The output will not automatically enabled in X11, but it should show up in "xrandr --display :0 -q")

Do you have linux-firmware intalled?

Offline

#7 2025-01-27 16:58:58

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

":e" doesn't change things.
dis/re-connecting cable neither.

I blindly typed and redirected "xrandr --display $DISPLAY -q " to a tmpFile:

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 16384 x 16384
DVI-D-1 disconnected primary (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
VGA-1 disconnected (normal left inverted right x axis y axis)

both linux-firmware and linux-firmware-whence are installed

Offline

#8 2025-01-28 16:31:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

https://wiki.archlinux.org/title/Kernel … s_and_EDID but this sounds like a bug in nouveau - it'd probably be good to check that it's indeed in that module (by testing the nvidia 470xx drivers)

Does the LTS kernel btw. load the usr/lib/firmware/nvidia/gk20a/ firmware?
(Not sure whether they really should, but they don't show up in the log you posted)

Offline

#9 2025-01-28 20:50:59

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

# journalctl -b -n +1
janv. 28 21:40:13 archlinux kernel: Linux version 6.6.72-1-lts (linux-lts@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.1) #1 SMP PREEMPT_DYNAMIC Fri, 17 Jan 2025 14:04:26 +0000
# journalctl -b -g gk20a
-- No entries --

but

# journalctl -b -g gk20
janv. 28 21:40:15 archlinux kernel: nouveau 0000:01:00.0: NVIDIA GK208B (b06070b1)

Offline

#10 2025-01-28 21:25:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

Can you please post a journal from the LTS kernel?

Offline

#11 2025-01-28 22:14:29

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

adding edid to /usr/lib/firmware does nothing

janv. 28 22:08:47 archlinux kernel: Linux version 6.12.10-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.1) #1 SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000
janv. 28 22:08:47 archlinux kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=29073ff0-9a95-4719-a1b8-19fbb7ce0bc7 rw drm.edid_firmware=HDMI-A-1:edid/HDMIedid.bin video=HDMI-1:e loglevel=3 resume=UUID=7bbffdae-84b2-48cd-9ca3-33fdf>

here is LTS journal : http://0x0.st/88q-.txt

Offline

#12 2025-01-28 22:37:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

janv. 28 23:14:57 archlinux kernel: nouveau 0000:01:00.0: Direct firmware load for edid/HDMIedid.bin failed with error -2
janv. 28 23:14:57 archlinux kernel: nouveau 0000:01:00.0: [drm] *ERROR* [CONNECTOR:87:HDMI-A-1] Requesting EDID firmware "edid/HDMIedid.bin" failed (err=-2)

the eidid isn't there at all?

The difference seems to be nouveaudrmfb, https://www.linuxquestions.org/question … ost6543011 was apparently down to some adapter - do you use anything like that?

Offline

#13 2025-01-28 23:23:40

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

the eidid isn't there at all?

it is. Here's what I did. :

# cp /sys/class/drm/card0/card0-HDMI-A-1/edid /usr/lib/firmware/HDMIedid.bin
# ls /usr/lib/firmware/HDMIedid.bin
/usr/lib/firmware/HDMIedid.bin

Offline

#14 2025-01-29 17:24:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

/usr/lib/firmware/edid/HDMIedid.bin

Offline

#15 2025-01-29 20:54:49

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

oops! silly me.
and "A-" was faulty too.

here is LTS "journalctl -b" : http://0x0.st/88Sv.txt
and 6.12's : http://0x0.st/88Sx.txt

janv. 29 21:48:[...] simple-framebuffer.0: [drm] Registered 1 planes with drm panic

?

Last edited by sukolyn (2025-01-29 22:03:59)

Offline

#16 2025-01-29 22:07:41

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

so. I installed nvidia-470xxx-dkms. It works with 6.12
but fonts in TTY are bigger and a bit blurred.
I guess X display won't be as it should be when using nouveau only.

here is 6.12 boot journal: http://0x0.st/88QV.txt

Last edited by sukolyn (2025-01-29 22:08:07)

Offline

#17 2025-01-30 15:03:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

janv. 29 23:01:47 OptiPlex7010 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
janv. 29 23:01:47 OptiPlex7010 kernel: [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
janv. 29 23:01:47 OptiPlex7010 kernel: Failed to initialize the nv-hotplug-helper DRM client (ensure DRM kernel mode setting is enabled via nvidia-drm.modeset=1).
janv. 29 23:01:47 OptiPlex7010 kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver

Add "nvidia-drm.modeset=1" to the kernel parameters to block the simpledrm device (regardless of the used driver) and please post the Xorg log of a run w/ nvidia-470xx

Offline

#18 2025-01-30 18:02:30

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

let's say X11 is nice now, TTYs are still "ugly".
I've got to find another smaller font than ter-112n (ter-110n doesn't exist smile ), I guess.

Last edited by sukolyn (2025-01-30 23:13:26)

Offline

#19 2025-01-31 02:33:11

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

would add early loading of NVIDIA modules help having back nice TTYs ?

Offline

#20 2025-01-31 08:30:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

If modesetting works it will activate that earlier, but with the cited journal in #17 you don't have KMS at all.
Is that still there?

Offline

#21 2025-01-31 13:35:58

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

it seems ok now :

# journalctl -b -n+1
janv. 31 14:18:35 archlinux kernel: Linux version 6.12.10-arch1-1 (linux@archlinux) (gcc (GCC) 14.2.1 20240910, GNU ld (GNU Binutils) 2.43.1) #1 SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:57 +0000
# journalctl -b -g Failed
janv. 31 14:19:04 OptiPlex7010 network[481]: Failed to set DNS configuration: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unit

complete journal

but still

echo $LINES x $COLUMNS
64 x 170

when I usually have "90 x 320"

Offline

#22 2025-01-31 15:41:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

Does "video=1920x1080" or whatever the native resolution is help with that?

Offline

#23 2025-01-31 16:42:51

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

janv. 31 17:40:[...]bc7 rw nvidia-drm.modeset=1 video=1920x1080 loglevel=3 resume=UUID=7bbffdae-84b2-48cd-9ca3-33fdfe07eb2b

has no effect.
I've tried "video=HDMI-1:1920x1080@60" with no effect either.

Last edited by sukolyn (2025-01-31 16:43:52)

Offline

#24 2025-02-04 15:25:41

sukolyn
Member
Registered: 2024-02-14
Posts: 156

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

I also looked at grub's videoinfo, but it shows no available mode.

edit: how to match psf fonts using pacman ? none of those installed fit my need.

Last edited by sukolyn (2025-02-04 15:48:26)

Offline

#25 2025-02-04 17:26:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,428

Re: [solved almost] nvidia Geforce GT740: screen deactivates during boot

https://archlinux.org/packages/extra/any/terminus-font/ ships some psf fonts.
What's the output of "fbset -i" (on the console, this will likely not work or be relevant on X11 or wayland)?

Offline

Board footer

Powered by FluxBB