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: Tue, 09 Jun 2020 06:23:40
Message-Id: 5369443.DvuYhMxLoT@eve
In Reply to: Re: [gentoo-user] clone root from HDD to SSD causes no video with NVIDIA driver by tuxic@posteo.de
1 On Tuesday, June 9, 2020 5:43:33 AM CEST tuxic@××××××.de wrote:
2 > Hi,
3 >
4 > if even displaying the console login failed, then the hole display
5 > system has gone nuts...but since the boot process as such (that is:
6 > the bios prompt right after POSTing) is visible, I would say, that
7 > there is no physical problem (that is: cable connected to port 2 of
8 > the monitor while the monitor is switched to port 1 and such).
9 >
10 > I would try this:
11 > Boot your PC, ssh into the PC and download the according
12 > nvidia-drivers directly from NVIDIA of the same version.
13 >
14 > quickpkg the installed drivers and remove them
15 >
16 > Check whether /usr/src/linux links to the kernel
17 > sources of the kernel version you are booting.
18 >
19 > Install the NVIDIA-drivers you have downloaded.
20 >
21 > Reboot.
22 >
23 > Background:
24 > The portage package does not install nvidia-drivers correctly -
25 > in my case, X and such works fine but RTX/Optix which is used
26 > by Blender was defunc. After installing the original package
27 > and masked the one which came with portage everything works
28 > fine.
29 >
30 > Cheers!
31 > Meino
32 >
33 > On 06/08 06:20, Raffaele BELARDI wrote:
34 > > > -----Original Message-----
35 > > > From: tuxic@××××××.de <tuxic@××××××.de>
36 > > > Sent: Monday, June 8, 2020 18:14
37 > > > To: gentoo-user@l.g.o
38 > > > Subject: Re: [gentoo-user] clone root from HDD to SSD causes no video
39 > > > with
40 > > > NVIDIA driver
41 > > >
42 > > > You said, you are able to ssh into your PC.
43 > > > I would try the following: Boot the PC, ssh into it and disable the
44 > > > start of X. Boot again: Are you getting the console login successfully?
45 > >
46 > > X is started by lxdm, which is started by an /etc/local.d/ script. I
47 > > removed that, after reboot I no longer see X processes, but no conole
48 > > except for SSH. Syslog still shows the nvidia module being loaded. I
49 > > removed 'modules' from boot runlevel, nvidia is still loaded. I unmerged
50 > > nvidia-drivers, nvidia still loaded. This is puzzling me.>
51 > > > Can you check, whether /dev , /proc , /sys and other directories of a
52 > > > special function are created and filled correctly?
53 > > > Are the permissions ok?
54 > > > Is /run available and setup correctly?
55 > >
56 > > To the best of my knowledge yes, they look fine.
57 > >
58 > > > Are there any leftovers from the root@hd in /etc/fstab?
59 > >
60 > > I rewrote fstab using UUID instead of /dev/sdx, there shouldn't be
61 > > problems there.>
62 > > > If you get to console successfully, is it possible to start X from the
63 > > > commandline? What is printed on the terminal?
64 > > > What does X.log say?
65 > >
66 > > No console except SSH. I'm not sure I can invoke startx from an SSH.
67 > >
68 > > Thanks,
69 > >
70 > > raffaele
71
72
73 For plain console (TTY1,...) you need to enable EFI_FB in the kernel.
74
75 I use Nvidia and also have this enabled in the kernel, so it can work
76 together.
77 I also use the nvidia-drivers package provided in Portage. Not everything is
78 added, but most is. The RTX/Optix libraries are added when using a "multilib"
79 profile, judging from the ebuild.
80
81 As you came from an older, non-GPT setup, I am assuming this is also the first
82 attempt to boot using EFI?
83
84 --
85 Joost

Replies