setenv VARIABLE VALUEIt does not explain how to set up these variables using csh for a permanent usage.
setenv VARIABLE VALUEIt does not explain how to set up these variables using csh for a permanent usage.
export MOZ_ENABLE_WAYLAND=1
# ~/.zshenv
# Path
typeset -U PATH path
path=("$HOME/bin" "/usr/local/bin" "$path[@]")
export PATH
# xdg directories
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_RUNTIME_DIR="/var/run/user/`id -u`"
# firefox
export MOZ_ENABLE_WAYLAND=1
# qt5
export QT_QPA_PLATFORMTHEME=qt5ct
# ssh-add
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# less
export LESSHISTFILE="${XDG_CONFIG_HOME}/less/history"
export LESSKEY="${XDG_CONFIG_HOME}/less/keys"
# vi mode
export KEYTIMEOUT=1
# mpd host variable for mpc
export MPD_HOST="/home/djwilcox/.config/mpd/socket"
setenv MOZ_WAYLAND_ENABLE 1
In zsh/bash:
export a="b"
In tcsh/csh:
setenv a b
and you dont need any of those settings
apart the MOZ
--> Clean Up Existing Drivers
# sudo kldunload nvidia-modeset
# sudo kldunload nvidia
# sudo pkg remove -y nvidia-driver nvidia-settings nvidia-xconfig
--> Upgrading nvidia-driver and linux-nvidia-libs to 550.54.14 directly from ports
# cd /usr/ports/x11/nvidia-driver
# mv Makefile Makefile.orig
# cp Makefile.orig Makefile
# mv distinfo distinfo.orig
# nano Makefile
DISTVERSION?= 550.54.14
# make makesum
# make
# make install
# cd /usr/ports/x11/linux-nvidia-libs
# mv Makefile Makefile.orig
# cp Makefile.orig Makefile
# mv distinfo distinfo.orig
# nano Makefile
DISTVERSION?= 550.54.14
# make makesum
# make reinstall clean
# Remove nvidia stuff from /boot/loader.conf
sudo sed -i '/nvidia/d' /boot/loader.conf
# Load nvidia modules via /etc/rc.conf
echo 'kld_list+=" nvidia-modeset nvidia "' | sudo tee /etc/rc.conf
# No need to reboot, just load the new drivers
sudo kldload nvidia-modeset
The assumed correct way is as follows.Is this the right procedure to try it ?
Code:--> Clean Up Existing Drivers # sudo kldunload nvidia-modeset # sudo kldunload nvidia # sudo pkg remove -y nvidia-driver nvidia-settings nvidia-xconfig --> Upgrading nvidia-driver and linux-nvidia-libs to 550.54.14 directly from ports # cd /usr/ports/x11/nvidia-driver # mv Makefile Makefile.orig # cp Makefile.orig Makefile # mv distinfo distinfo.orig # nano Makefile DISTVERSION?= 550.54.14 # make makesum # make # make install # cd /usr/ports/x11/linux-nvidia-libs # mv Makefile Makefile.orig # cp Makefile.orig Makefile # mv distinfo distinfo.orig # nano Makefile DISTVERSION?= 550.54.14 # make makesum # make reinstall clean # Remove nvidia stuff from /boot/loader.conf sudo sed -i '/nvidia/d' /boot/loader.conf # Load nvidia modules via /etc/rc.conf echo 'kld_list+=" nvidia-modeset nvidia "' | sudo tee /etc/rc.conf # No need to reboot, just load the new drivers sudo kldload nvidia-modeset
Yeah, I just tried again with my latest nvidia-driver on latest packages with FreeBSD 14 p5 and it gives a no gpus found error on launch. Not sure if I missed a step in the handbook. But this has been an issue with Nvidia on 14 for me.Wayfire is working i just tested it
if its not working for you then its your set up thats the issue
I don't understand how you need a step by step guide when you are using some advanced tools to edit your config files.Is this the right procedure to try it ?
Code:--> Clean Up Existing Drivers # Remove nvidia stuff from /boot/loader.conf sudo sed -i '/nvidia/d' /boot/loader.conf # Load nvidia modules via /etc/rc.conf echo 'kld_list+=" nvidia-modeset nvidia "' | sudo tee /etc/rc.conf
I don't understand how you need a step by step guide when you are using some advanced tools to edit your config files.
How long is your /boot/loader.conf ?
You could just open it, find the line that contain nvidia in them, and remove them.
Same for /etc/rc.conf, why the use of tee ? There is a tools for that : sysrc.
If you don't want to use sysrc, then just open the file and find the kld_list line.
On the subject, a good way to test this kind of change is to use poudriere to build (and use testport) to make sure that the generated pkg will register where the files will be installed. Which means that you can then latter remove it and there should not be any leftover.
im running 14 p5 and both wayfire and dwl work
heres my config so you can compare it to yours and see if there's anything your missing
freebsd root dotfiles
![]()
GitHub - NapoleonWils0n/freebsd-root-xps: freebsd root dotfiles for dell xps 15 2019
freebsd root dotfiles for dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-root-xps development by creating an account on GitHub.github.com
freebsd dotfiles
![]()
GitHub - NapoleonWils0n/freebsd-dotfiles-xps: freebsd dotfiles dell xps 15 2019
freebsd dotfiles dell xps 15 2019. Contribute to NapoleonWils0n/freebsd-dotfiles-xps development by creating an account on GitHub.github.com
Those instructions come from an old post. Yeah,usually I remove the offending lines by hand on rc.conf and on loader.conf. But I left those commands there for educational purpose.
I'm not yet ready to complicate my life with poudriere and testport at this stage of my educational path.
I would like to understand what's wrong with the procedure that I have posted. Another one has been suggested in its place.
Why ? What's wrong with "mine" ?
sed -i '/nvidia/d' loader.conf
Lets experiment withsed: 1: "loader.conf": extra characters at the end of l command
sed -i -e '/nvidia/d' loader.conf
nvidia_load="YES"
zfs_load="YES" # nvidia
geom_load="YES" #intel
geom_load="YES" #intel
sysrc -f loader.conf nvidia_load
nvidia_load="YES"
zfs_load="YES" # nvidia_load
geom_load="YES" #intel
Removing will then be done withnvidia_load: YES
sysrc -f loader.conf -x nvidia_load
zfs_load="YES" # nvidia_load
geom_load="YES" #intel
Nothing wrong on the step for building the nvidia driver (native and linux).
It was just the steps for loader.conf and rc.conf that are more dangerous without knowing what are in those files.
For instance, for sed:
First, your example does not work (in FreeBSD):
sed -i '/nvidia/d' loader.conf
Result on
Lets experiment with
sed -i -e '/nvidia/d' loader.conf
Given this file:
The result will beCode:nvidia_load="YES" zfs_load="YES" # nvidia geom_load="YES" #intel
If you use sysrc instead:Code:geom_load="YES" #intel
sysrc -f loader.conf nvidia_load
With
You get the following:Code:nvidia_load="YES" zfs_load="YES" # nvidia_load geom_load="YES" #intel
Removing will then be done with
sysrc -f loader.conf -x nvidia_load
Which gives
Code:zfs_load="YES" # nvidia_load geom_load="YES" #intel
which do you mean? Upstream to nvidia? Or to FreeBSD project?My question is : have "the patches for the nvidia 550.54.14 driver" been upstreamed ?
Now I'm puzzled what you actualy want to do.If they have,I could do :
# nano Makefile
DISTVERSION?= 550.54.14
# make makesum
# make
# make install