Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver
Date: Mon, 15 Jun 2020 14:20:25
Message-Id: 5383829.DvuYhMxLoT@eve
In Reply to: RE: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver by Raffaele BELARDI
1 On Monday, June 15, 2020 9:56:39 AM CEST Raffaele BELARDI wrote:
2 > * From: Dale <rdalek1967@×××××.com>
3 > * Sent: Wednesday, June 10, 2020 08:02
4 > * To: gentoo-user@l.g.o<mailto:gentoo-user@l.g.o>
5 > * Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video
6 > with NVIDIA driver
7 >
8 > * Raffaele BELARDI wrote:
9 > * nomodeset did not change anything, but adding EFI_FB to the kernel
10 > finally got me a functional console.
11 * But if I startx from there I am
12 > back again to the same point, no X, no console switching with CTR-ALT-Fn, *
13 > no crash in syslog, I have to SSH to get to a working shell. I'm not
14 > getting anywhere, I think I'll better install from stage3.
15 >
16 > * Odds are, if you start from stage3, you will get the same problem
17 > again unless you do something different.
18 * When I first stated using
19 > Gentoo, I didn't realize that one can restart a install pretty much
20 > anywhere in the install. * Starting over doesn't get you anything
21 > different if you repeat the same steps.
22 > Just to update: I tried all the hints received here with no luck. Since
23 > others on this list managed to get uefifb working with the NVIDIA driver I
24 > believe the problem could be my mobo/UEFI FW/GPU combination. I found some
25 > rather old posts ([1], [2]) supporting this hypothesis. For the moment I
26 > switched to nouveau.
27
28 > Thanks again to all,
29 >
30 > raffaele
31 >
32 > [1]
33 > https://forums.developer.nvidia.com/t/uefi-nvidia-vga-console-complaints/37
34 > 690
35 [2]
36 > https://forums.developer.nvidia.com/t/nvidia-devs-any-eta-on-fbdev-console->
37 mode-setting-implementation/47043
38
39 Personally, I would not expect this to be related to mainboard firmware/bios
40 issues as I have not had any issues with efifb and nvidia-drivers on several
41 systems.
42
43 What is your kernel-commandline?
44
45 Mine is really simple:
46 $ cat /proc/cmdline
47 root=/dev/nvme0n1p3
48
49 I get the following in my dmesg for "efifb":
50 ====
51 [ 8.717047] efifb: probing for efifb
52 [ 8.717061] efifb: framebuffer at 0xd1000000, using 3072k, total 3072k
53 [ 8.717062] efifb: mode is 1024x768x32, linelength=4096, pages=1
54 [ 8.717064] efifb: scrolling: redraw
55 [ 8.717065] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
56 [ 8.719748] fb0: EFI VGA frame buffer device
57 ====
58
59 Which is nowhere near the real resolution my screen can handle, but for
60 emergencies, this is definitely sufficient.
61
62 For completeness, these are the entries for nvidia:
63 ====
64 $ dmesg | grep -i nvidia
65 [ 11.222893] nvidia: loading out-of-tree module taints kernel.
66 [ 11.222908] nvidia: module license 'NVIDIA' taints kernel.
67 [ 11.241368] nvidia-nvlink: Nvlink Core is being initialized, major device
68 number 240
69 [ 11.241687] nvidia 0000:01:00.0: vgaarb: changed VGA decodes:
70 olddecodes=io+mem,decodes=none:owns=io+mem
71 [ 11.283229] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 440.82 Wed Apr
72 1 20:04:33 UTC 2020
73 [ 11.287732] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for
74 UNIX platforms 440.82 Wed Apr 1 19:41:29 UTC 2020
75 [ 11.289189] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
76 [ 11.289191] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on
77 minor 0
78 [ 11.861737] input: HDA NVidia HDMI/DP,pcm=3 as /devices/
79 pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input28
80 [ 11.862152] input: HDA NVidia HDMI/DP,pcm=7 as /devices/
81 pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input29
82 [ 11.979061] input: HDA NVidia HDMI/DP,pcm=8 as /devices/
83 pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input30
84 [ 11.979134] input: HDA NVidia HDMI/DP,pcm=9 as /devices/
85 pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input31
86 ====
87
88 On a side-note, anyone know how to prevent these sound-devices from appearing?
89 I never use these on this system.
90
91 --
92 Joost

Replies

Subject Author
RE: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver Raffaele BELARDI <raffaele.belardi@××.com>