Hello all,
I have been using Manjaro KDE for about 2 years now (Windows is also running at the same computer).
At the weekend I installed a Nvidia graphics card.
The system with kernel 5.10 has started normally. About the interface I thought instead of the open source drivers to install the Nvidia ones.
Now the graphical user interface does not start.
I can log in via the console.
I have tested for several hours different things that I have read in some posts here (like this: How to change from dropped legacy nvidia to nouveau? - #14 by joelishness).
Unfortunately, I have not come to any conclusion.
I am using either the open source driver or Nvidia (the solution that is easier).
Here is some info that I have read out:
$ mhwd -l
> 0000:26:00.0 (0300:10de:13c2) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-nvidia 2021.12.18 false PCI
video-nvidia-470xx 2021.12.18 false PCI
video-nvidia-390xx 2021.12.18 false PCI
video-linux 2018.05.04 true PCI
video-modesetting 2020.01.13 true PCI
video-vesa 2017.03.12 true PCI
> 0000:22:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
network-r8168 2016.04.20 true PCI
$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-linux 2018.05.04 true PCI
Warning: > No installed USB configs!
$ sudo mhwd-kernel -li
Currently running: 5.10.105-1-MANJARO (linux510)
The following kernels are installed in your system:
* linux510
* linux512
* linux54
* linux59
(I don`t see linux 5.12 in my āAdvanced options menuā, only 5.10 and older ones. It isnāt part of the Boot options text. I checkd that by pressing āEā to start the editor)
$ sudo ls /etc/mkinitcpio.d/*.preset
/etc/mkinitcpio.d/linux510.preset
/etc/mkinitcpio.d/linux512.preset
/etc/mkinitcpio.d/linux54.preset
/etc/mkinitcpio.d/linux57.preset
/etc/mkinitcpio.d/linux58.preset
/etc/mkinitcpio.d/linux59.preset
Kernels 5.9 and 5.12 are no longer in the repositories, remove them. When trying to install the proprietary driver with mhwd itāll try to install the drivers for those kernels but they donāt exist in the repository any more, so youāll continue to encounter errors until theyāre removed.
And Iām not sure why you have initramfs-5.7⦠and so on for kernels you donāt have installed. I use manjaro settings manager to install/uninstall kernels and I have no left over bits like you seem to have.
cat /etc/pacman.conf
### Pamac configuration file
## When removing a package, also remove those dependencies
## that are not required by other packages (recurse option):
#RemoveUnrequiredDeps
## How often to check for updates, value in hours (0 to disable):
RefreshPeriod = 6
## When there are no updates available, hide the tray icon:
#NoUpdateHideIcon
## When applying updates, enable packages downgrade:
#EnableDowngrade
## When installing packages, do not check for updates:
#SimpleInstall
## Allow Pamac to search and install packages from AUR:
EnableAUR
## Keep built packages from AUR in cache after installation:
#KeepBuiltPkgs
## When AUR support is enabled check for updates from AUR:
CheckAURUpdates
## When check updates from AUR support is enabled check for vcs updates:
#CheckAURVCSUpdates
## AUR build directory:
BuildDirectory = /var/tmp
## Number of versions of each package to keep in the cache:
KeepNumPackages = 3
## Remove only the versions of uninstalled packages when clean cache:
#OnlyRmUninstalled
## Download updates in background:
#DownloadUpdates
## Maximum Parallel Downloads:
MaxParallelDownloads = 4
CheckFlatpakUpdates
EnableSnap
EnableFlatpak
When i rename the nvidia.conf file isnāt that a problem that it looks like the file with this name is missing for linux?
I will try installing linux515 when that might be the solution
I`m currently updating the BIOS.
After that I will check the other things.
Thank you for your hints!
Grub2 is now not starting
I made the BIOS Update. Now Windows starts and not the Linux Screen that let me choose between Linux or Windowsā¦I think that is just a small problem. Iām trying to solve that now
After the BIOS Update Grub2 is ānot activeā ā Windows is booting directly +
My keyboard and mouse connected with USB stop working sometimes for some moments
The USB problem was related to which USB port my USB Port Replicator from Fujitsu was connected to:
I have changed the port on the PC. Now my mouse and keyboard work 100% again. Maybe the consumption of the port replicator is quite high, so the new BIOS shuts down some USB ports for a short time.
Also needed to change ābackā some bios values.
/etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
#IgnorePkg =
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
# We cannot check disk space from within a chroot environment
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
sudo journalctl -b0 -g nvidia
Apr 06 21:10:42 tim-manjaro kernel: nvidia: loading out-of-tree module taints kernel.
Apr 06 21:10:42 tim-manjaro kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr 06 21:10:42 tim-manjaro kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Apr 06 21:10:42 tim-manjaro kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Apr 06 21:10:42 tim-manjaro kernel: nvidia 0000:26:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
Apr 06 21:10:42 tim-manjaro kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 510.54 Tue Feb 8 04:42:21 UTC 2022
Apr 06 21:10:42 tim-manjaro systemd-udevd[354]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) 255'' failed with exit code 1.
Apr 06 21:10:42 tim-manjaro systemd-modules-load[297]: Inserted module 'nvidia'
Apr 06 21:10:43 tim-manjaro systemd-udevd[336]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \ -f 1) ${i}; done'' failed with exit code 1.
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input3
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input4
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input5
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input6
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input7
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input8
Apr 06 21:10:43 tim-manjaro kernel: input: HDA NVidia HDMI/DP,pcm=12 as /devices/pci0000:00/0000:00:03.1/0000:26:00.1/sound/card0/input9
Apr 06 21:10:43 tim-manjaro kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 510.54 Tue Feb 8 04:34:06 UTC 2022
Apr 06 21:10:43 tim-manjaro kernel: nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
Apr 06 21:10:43 tim-manjaro kernel: [drm] [nvidia-drm] [GPU ID 0x00002600] Loading driver
Apr 06 21:10:43 tim-manjaro kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:26:00.0 on minor 0
Apr 06 21:10:43 tim-manjaro systemd-modules-load[297]: Inserted module 'nvidia_uvm'
Apr 06 21:10:43 tim-manjaro kernel: nvidia-uvm: Loaded the UVM driver, major device number 510.
Apr 06 21:11:34 tim-manjaro dbus-daemon[940]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.21' (uid=0 pid=1265 comm="sudo journalctl -b0 -g nvidia")
Apr 06 21:11:37 tim-manjaro sudo[1265]: tim : TTY=tty2 ; PWD=/home/tim ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g nvidia
Apr 06 21:12:21 tim-manjaro dbus-daemon[940]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.22' (uid=0 pid=1269 comm="sudo journalctl -b0 -g nvidia")
Apr 06 21:12:21 tim-manjaro sudo[1269]: tim : TTY=tty2 ; PWD=/home/tim ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g nvidia
Should i install the 5.15 kernel?
I will check the guide maycne.sonahoz was writing about.