(WW) NVIDIA(G0): Failed to set the display configuration
(WW) NVIDIA(G0): - Setting a mode on head 0 failed: Insufficient permissions
(WW) NVIDIA(G0): - Setting a mode on head 1 failed: Insufficient permissions
(WW) NVIDIA(G0): Failed to set the display configuration
(WW) NVIDIA(G0): - Setting a mode on head 0 failed: Insufficient permissions
(WW) NVIDIA(G0): - Setting a mode on head 1 failed: Insufficient permissions
# Process is emerge new kernel sources, copy old config into new sources,
# eselect new kernel, make oldconfig, make, make install, make modules_install
sudo make -j16
sudo make install
sudo make modules_install
sudo emerge @module-rebuild
sudo dracut
# sudo grub-install --efi-directory=/boot/efi
sudo grub-mkconfig -o /boot/grub/grub.cfg
COMMON_FLAGS="-O2 -pipe -march=native -mtune=native -ftree-vectorize"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="${LDFLAGS} -fuse-ld=mold -Wl,-O1 -Wl,--as-needed"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C strip=symbols"
ADAFLAGS=${CFLAGS}
ADA_TARGET="gnat_2021"
#Obtained from app-portage/cpuid2cpuflags utility
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=8G,mode=1777 0 0
tmpfs /var/tmp/portage tmpfs size=14G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0
UUID=A23A-053E /boot vfat defaults 0 2
UUID=f838b87e-2fa2-4b67-97f5-24efe0dda83c none swap sw 0 0
UUID=01569493-310c-44e4-9205-6c40f3b0782e / xfs defaults,noatime 0 1
#LABEL=boot /boot ext4 noauto,noatime 1 2
#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
UUID=8E37-E91C /boot vfat defaults,noatime 0 2
UUID=6739c2cc-4a15-4a30-b223-bafcdff6688f / ext4 noatime 0 1
# sda1 is the 2tb ssd partition for linux
UUID=c598fbd0-b87c-4e69-9fb6-8b2fd0624f24 /data1 ext4 defaults,noatime 0 2
# sdb1 is the 1tb hdd
UUID=978e8a4d-a200-42ff-b501-ee25baf195d4 /data2 ext4 defaults,noatime 0 2
UUID=d2359c6c-99c0-4f4f-9225-5605bed37399 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=8G,mode=1777 0 0
tmpfs /var/tmp/portage tmpfs size=14G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0
tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=8G,mode=1777 0 0
tmpfs /var/tmp/portage tmpfs size=14G,uid=portage,gid=portage,mode=775,nosuid,noatime,nodev 0 0
alias update='sudo emaint -a sync'
alias upgrade='sudo emerge -avuDN @world'
--exclude=firefox
, is there anything different about skip? Mon Aug 28 12:31:46 2023 >>> www-client/firefox-116.0.3
merge time: 14 minutes and 28 seconds.
Thu Aug 31 08:53:41 2023 >>> www-client/firefox-117.0
merge time: 49 minutes and 26 seconds.
alias update='sudo emaint -a sync'
alias upgrade='sudo emerge -avuDN @world'
CARGO_BUILD_JOBS=16
MAKEOPTS="-j16"
EMERGE_DEFAULT_OPTS="--jobs=1 --quiet-build=y"
i personally like only 1 emerge at a time using full cores❯ cat .bash_profile
# /etc/skel/.bash_profile
if shopt -q login_shell; then
[[ -f ~/.bashrc ]] && source ~/.bashrc
[[ -t 0 && $(tty) == /dev/tty1 && ! $DISPLAY ]] && exec startx
else
exit 1 # Somehow this is a non-bash or non-login shell.
fi
SSH_ENV="$HOME/.ssh/agent-environment"
function start_agent {
echo "Initialising new SSH agent..."
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
echo succeeded
chmod 600 "${SSH_ENV}"
. "${SSH_ENV}" > /dev/null
#/usr/bin/ssh-add;
}
# Source SSH settings, if applicable
if [ -f "${SSH_ENV}" ]; then
. "${SSH_ENV}" > /dev/null
#ps ${SSH_AGENT_PID} doesn't work under cywgin
ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
start_agent;
}
else
start_agent;
fi
export GPG_TTY=$(tty)
export SDL_AUDIODRIVER=pipewire
. "$HOME/.cargo/env"
export SDL_AUDIODRIVER=pipewire
[ 15.686] (II) NVIDIA(0): Setting mode "DP-2: 1920x1080_144 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[ 15.838] (II) NVIDIA(0): Setting mode "DP-2: 1920x1080_144 @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DP-0: 1920x1080_144 @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
USE="-qt5 -kde X gtk gnome -systemd fish X -wayland lm-sensors contrib mount alsa pipewire pulseaudio xinerama opengl vulkan udev elogind fontconfig vorbis opus vdpau bluetooth"
Filesystem Type Size Used Avail Use% Mounted on
tmpfs tmpfs 14G 0 14G 0% /var/tmp/portage
>>> Jobs: 6 of 57 complete, 1 running Load avg: 5.43, 1.59, 1.16
(WW) NVIDIA(G0): Failed to set the display configuration
(WW) NVIDIA(G0): - Setting a mode on head 0 failed: Insufficient permissions
(WW) NVIDIA(G0): - Setting a mode on head 1 failed: Insufficient permissions
❯ cat /etc/X11/xorg.conf.d/nvidia.conf
Section "Device"
Identifier "nvidia"
Driver "nvidia"
EndSection
USE="-qt5 -kde X gtk gnome -systemd fish X -wayland lm-sensors contrib mount alsa pipewire pulseaudio xinerama opengl vulkan udev elogind fontconfig vorbis opus vdpau bluetooth"