Hi, its been 3 times that my OS breaks after updating.
let me tell you about my spec:
its an acer f5-573g laptop with this configs:
Ram : 16GB 2400mhz
CPU : core i5-6200u with intel HD 520 iGPU
GPU: nvidia gtx 940 4GB, GDDR5 version
here’s what i do everytime i reinstall the OS :
after clean installing, i upgrade system with sudo pacman -Syu and after its done, i reboot and first thing i do is i install this https://github.com/Askannz/optimus-manager . after installing this package, i create a custom config to run nvidia on boot, because i want everything to run with my nvidia.
everything works fine and there is no problem until the point that i upgrade system, everything breaks and on the boot it says " failed to load kernel modules ". ( i’ve created a dedicated thread for this problem but even here, we couldnt fix it no matter what ( reinstalling kernel, recompiling it etc etc) and i had to do a fresh install )
now as the title says, my question is that custom config is the thing breaks everything? and if yes, is there any better way for handling apps with nvidia ? (mostly steam and games like csgo) cuz im really tired of reinstalling and configuring everything every months or so
i cant provide any logs since i have deleted that partition.
# /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
#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
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
ILoveCandy
#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 Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# 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.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
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-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-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
it was like this for the last 3 updates i did and it broke and everytime, when compiling i saw errors about nvidia modules
im updating as we are talking, the weird thing is everytime i install, first update is ok but just the update after optimus config breaks. im gonna try without it this time tho
:: Starting full system upgrade...
:: Replace libcanberra-pulse with extra/libcanberra? [Y/n]
:: Replace virtualbox-guest-dkms with community/virtualbox-guest-utils? [Y/n] n
:: Replace virtualbox-guest-dkms with community/virtualbox-guest-utils-nox? [Y/n] n
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: smbclient will be installed before its cifs-utils dependency
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency
warning: dependency cycle detected:
warning: nvidia-utils will be installed before its egl-wayland dependency
warning: dependency cycle detected:
warning: nvidia-utils will be installed before its libglvnd dependency
warning: dependency cycle detected:
ok i’ll do it, btw update is finished now and my driver version is 465.31 now
installing nvidia-prime and running apps with prime-run is safe?
afraid of doing all those optimus thing one more time