#[SOLVED] Several Nvidia Issues
187 messages · Page 1 of 1 (latest)
Output?
Is GCC installed
Wait you mistyped
It’s dash dash force
Not one dash
Discord font sucks because it combines 2 dashes when put next to each other
Ok
Run the install command for GCC
Just checking to make sure it’s installed
Cool
Remove that make.log file it mentions
Cool
Reboot
Upon reboot run the dkms force command and after that run dkms status and send output
It still booted right?
Did you install zram?
Ok so zram is not installed?
Not unless you want to
You really don’t need to
Ok we can fix zram after this then, that cool?
Ok
Rerun the dkms —force command
No
What output
Ok can you run dkms status
That’s what I thought
Can you try whatever you were trying before
Like to get a gui
No what were you trying to do originally
What were you doing when Nvidia started acting up
Something with graphics, no?
Ok
Which one
(Out of curiosity)
You’re on wayland?
That may slightly complicate things, however let’s just work with what we got first
Do you know how to start Hyprland?
Ok
Run that command
I just want to make sure you have graphic working first
Was the error always like this
Ok it looks like you’re just missing a config file
Give me a sec
This should be an easy fix
Sorry had to do some research
Can you open a file? Should be /usr/share/hyprland/hyprland.conf
Can you run sudo cp /usr/share/hyprland/hyprland.conf ~/.hyprland
When you made this user
Did you happen to forget to give yourself a home directory
Ok
Nothing we’ve done so far will go away after you remove this user
But I need you to login to your root account and delete the user
Let me know when that’s done
Ok
Remake the user, but make sure you include the -m option somewhere before the username in the useradd command
Good
Exit that account
Wait
make sure you set a password for the new account
Cool just had to check
Anyway login to the new account
Start hyprland
No
Send output
Ok that solved part of it
No
sudo pacman -S libseat
Ok one sec
sudo pacman -S seatd
Ok try running sudo systemctl —enable seatd
That’s dash dash
Should spit out something about files
Wtf
Perhaps I haven’t used systemD in too long
One sec
Get rid of the dashes
Based
Yea
Sure, for posterity’s sake
That’s ok we’ll fix that in a moment
Once you login run the command to start hyprland
Send output
Disable seatd
Expected
You are still the new user right?
systemctl —user enable seatd
2 dashes
And start it
No sudo
No problem, trust me I do it all the time too
Strange
No you’ll only get an error
Do you have an /etc/environment file?
That’s the source of our problem, thank god for stack exchange
Can you open up the environment file (as sudo)
Yea whatever text editor you use it matters not
LIBSEAT_BACKEND=logind
Add to the file
Start hyprland
Oh shit yea
Sorry do the original one without the —user flag
And start it
Can you send me the command you used to create the user
In discord
Yea add yourself to the following groups
So you can use your system
video,audio,kvm,tty
the usermod command but replace that list exactly with wheel
No spaces between commas
Start hyprland
There isn’t even a fucking error anymore goddammit
Sorry
I love Linux but god it can be irritating
Lol
Yes please
Is it long?
what is happening
hyprland crash? use hyprland or hyprland-nvidia-git, and try removing env = GBM_BACKEND, nvidia-drm if you added it
last time i tried hyprland-nvidia didnt work for me
exact same error
so
do you have yay installed?
one sec
which hyprland package are you using right now
how did you install package? paru?
then do the same thing with the -git suffix
then you forgot to use the -m param while using useradd
then i have no idea
just recreate your user
hmm that should be correct
i remember last time i used useradd -m -G wheel guanranwang
are you able to start hyprland now?
why do you need a downloads folder
git clone https://aur.archlinux.org/packages/hyprland-nvidia-git
cd hyprland-nvidia-git
makepkg -si
1s
sorry wrong url
..?
what get stuck. git? hyprland?
why did you reboot anyway
ok hm
try Control + ALT + F2 (or any Fx key)
huh
hmm thats weird
did you read hyprland wiki's nvidia page?
https://wiki.hyprland.org/Nvidia/
if no, can you show me your hyprland config
Foreword There is no official support for Nvidia. Unfortunately, their drivers are so messy, and their products so random, that it’s impossible for us to help if these instructions don’t work fully.
Every card seems to be random, and might work perfectly, or not work at all.
Nevertheless, it’s recommended to at least try this tutorial.
Hyprland ...
nope, spaces instead of commas
ignore hooks btw
..?
which kernel are you on? run uname -a
i assume you are using the default kernel and grub installed.
-
install nvidia driver:
sudo pacman -S nvidia lib32-nvidia-utils nvidia-utils(you can installnvidia-settingsif you want, but its useless on Hyprland or other Wayland DE/WM) -
sudo nano /etc/default/grub(or whatever editor you have, just replacenano)
and addnvidia_drm.modeset=1to GRUB_CMDLINE_LINUX_DEFAULT, example: GRUB_CMDLINE_LINUX_DEFAULT="nvidia_drm.modeset=1"
runsudo grub-mkconfig -o /boot/grub/grub.cfg(or/boot/efi/grub/grub.cfgif you choose a different ESP path) to actually change the kernel params -
add
mkinitcpiomodules (by usingsudo nano /etc/mkinitcpio.conf) like the picture i posted above
and runsudo mkinitcpio -Pto generate initcpio
remove dkms and other nvidia stuff installed
you wont need DKMS since you are on default kernel
DKMS is for 3rd party kernels like ZEN kernel (it works on any kernel if you have the kernel header installed)
yeah remove nvidia-dkms
if you have any issues, post screenshot instead of texts please, that will help both of us understand
please...
or are you even using grub?
did you install with archinstall instead of doing it yourself
well......
(arch install is for experienced people to quick setup stuff like a virtual machine, its not recommended for new users)
run bootctl
and post screenshot
ok nice you are using systemd-boot, ok uhh one sec
sudo nano /boot/loader/entries/arch.conf and post screenshot
add nvidia_drm.modeset=1 after rootfstype=ext4
now go to step 3
the reason that we recommend new users to manually install is because you will know what are you using and have some basic knowledge about your system, the installation process is really good for learning and its not that hard, arch is a do it yourself distro and you really should to know whats going on in your system
arch, install, is, not, for, new, users
i only spent something like 50 minutes install arch for the first time, its not that hard :(
i think you can see
reboot, it should work now
you have it working now
and now configure it yourself
... solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you