Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v2u327$342k6$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v2u327$342k6$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Andrzej Matuch <andrzej@matu.ch>
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 21:25:27 -0400
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <v2u327$342k6$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me> <v2pupa$2ae8o$1@dont-email.me>
 <v2rbuh$2i2hv$1@dont-email.me> <v2sidg$2rbb0$12@dont-email.me>
 <v2ti9q$318vn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 26 May 2024 03:25:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f44c19727e6fb74bba03ed6ab5c14a16";
	logging-data="3279494"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX191WdkdTlnCfNsQRo7RWUNpXpa1UqxDTZ0="
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:KR5DFUeJIb3PMnuI4DJKnaspdYs=
Content-Language: en-US
In-Reply-To: <v2ti9q$318vn$1@dont-email.me>
Bytes: 4256

On 2024-05-25 4:39 p.m., vallor wrote:
> On Sat, 25 May 2024 07:35:12 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
> in <v2sidg$2rbb0$12@dont-email.me>:
> 
>> On 2024-05-24 8:38 p.m., vallor wrote:
>>> On Fri, 24 May 2024 07:47:54 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
>>> in <v2pupa$2ae8o$1@dont-email.me>:
>>>
>>>> On 2024-05-23 9:15 p.m., vallor wrote:
>>>>> So after building a kernel and booting it, I've found it easiest to
>>>>> take the system to single-user mode with
>>>>>
>>>>> $ telinit 1
>>>>>
>>>>>     ...which will take the system to single-user ("rescue") mode and
>>>>> ask for your root password before proceeding.  (Make sure you have one
>>>>> set.)
>>>>>
>>>>> Then I build the open Nvidia drivers, install them,
>>>>> then remove the existing Nvidia drivers with the following command
>>>>> (that I've scripted):
>>>>>
>>>>> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>>>>>
>>>>>     ...which removes the modules in the proper order,
>>>>> accounting for dependencies.
>>>>>
>>>>> Finally, everything is ready to go, so:
>>>>>
>>>>> # telinit 5
>>>>>
>>>>>     ...and the system comes up in all its graphical glory.
>>>>>
>>>>> I do it this way rather than rebooting because sometimes,
>>>>> the drivers don't load right when I boot, and windows tear when they
>>>>> move.  If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>>>> dance, which has always solved the problem.
>>>>>
>>>>> (I was pleasantly surprised to find out that systemd knows about init
>>>>> runlevels.  Very helpful.)
>>>>>
>>>>> Finally, if you want to shutdown the display manager and just use vty's
>>>>> with getty logins, you could
>>>>>
>>>>> $ telinit 3
>>>>>
>>>>> These runlevels are the same as they were with SysV init on Linux.
>>>>
>>>> I'm curious: are you removing the NVIDIA proprietary drivers here or the
>>>> open ones? I'm reading that there are issues with the open-kernel ones
>>>> because they're in alpha. I was under the impression that you didn't
>>>> have too much trouble with them.
>>>
>>> They are the open ones from Nvidia. (Not nouveau, but the "open" version
>>> of their proprietary drivers.)
>>>
>>> https://github.com/NVIDIA/open-gpu-kernel-modules
>>
>> Why are you removing them? Were they problematic?
> 
> Hello:
>>>> I do it this way rather than rebooting because sometimes,
>>>> the drivers don't load right when I boot, and windows tear when they
>>>> move.  If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>>> dance, which has always solved the problem.
> 
> I can't explain why removing the drivers and putting them back
> fixes it -- just know it works (thank goodness).
> 
> I've reported the problem to Nvidia, haven't anything from them.

So, at least for the immediate future, proprietary drivers are going to 
be the only way to get an acceptable experience with NVIDIA. It's too 
bad. Apparently, Linux is absolute heaven with AMD hardware.

-- 
Andrzej (Andre) Matuch
TG: @AndrzejMatuch
Catholic, paleoconservative, Christ is king.