The officially official Devuan Forum!

You are not logged in.

#1 2023-10-11 09:24:04

zeitlos
Member
Registered: 2021-08-20
Posts: 9  

Problem stopping X server

Hello. To install proprietary nvidia video card drivers, I need to completely stop the X server. However, I can't do this, even by manually killing the process via htop. After the screen goes dark, the X server starts working again.

Offline

#2 2023-10-11 23:25:14

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 537  

Re: Problem stopping X server

Hi, to properly install the proprietary nVidia .run package...?

If you need to block nouveau module...

make a file, /etc/modprobe.d/nvidia-installer-disable-nouveau.conf

# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0

Make sure you have a build environment, build essentials, linux-headers and libglvnd-dev

Then reboot to safe mode., down arrow at the grub boot loader to

"Advanced options for Dev..."

arrow to (don't use enter) select your kernel and (recovery mode) and press E to edit

move the cursor to the end of the last "linux" line and type

modeset.nouveau=0 vga=794 nokmsboot

and press F10 to boot to "single" mode.

type in the root password when prompted.

install package.

reboot with

shutdown -r now

I hope this helps.


pic from 1993, new guitar day.

Online

#3 2023-10-13 12:15:19

zeitlos
Member
Registered: 2021-08-20
Posts: 9  

Re: Problem stopping X server

X The server has stopped. Thanks for the answer, your method works. However, the drivers themselves were unable to get up. The installer writes: "Unable to build the NVIDIA kernel module." Tell me in which direction to look for the problem.

Offline

#4 2023-10-14 01:01:05

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 537  

Re: Problem stopping X server

It's not building for some reason.

apt install libglvnd-dev libglvnd0 pkg-config build-essential gcc12 linux-headers linux-headers-common linux-compiler-gcc-12

check for error messages...


pic from 1993, new guitar day.

Online

Board footer