You are not logged in.
Hi,
I am trying to run i3 on my new Arch Linux installation. My system only has one single graphics card.
Here is my video card :
$ lspci -v | grep -A1 -e VGA -e 3D
2b:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] GA106 [GeForce RTX 3060 Lite Hash Rate]I have installed xorg-server, xorg-xinit, and xorg-apps. I also have installed the i3 package group. Moreover, I installed the nvidia package as I need to use Nvidia's proprietary drivers.
After that, I ran nvidia-xconfig to generate an etc/X11/xorg.conf file.
When I run
xinit i3a black screen appears for about a second; After that, I am back to shell, where the message
xinit: connection to X server lost
waiting for X server to shutdown (II) Server terminated sucessfully (0). Closing log file.is outputted.
At the end of my /var/logs/Xorg.0.log, there is the following lines :
[ 429.511] (II) NVIDIA(GPU-0): Deleting GPU-0Also, I have this Xorg error at the end of dmesg's output :
[ 41.329061] Xorg[681]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL setI feel like this is a driver issue because of NVIDIA(GPU-0): Deleting GPU-0, is this the case?
Thank you.
Last edited by toriyomi (2023-12-23 20:02:30)
Offline
HAfter that, I ran nvidia-xconfig to generate an etc/X11/xorg.conf file.
Step 1: get rid of that. Is there a reason you're not using startx? Post the entire log, not just bits and pieces.
Online
Step 2:
At the end of my /var/logs/Xorg.0.log, there is the following lines :
That's unlikely the relevant xorg log w/ xinit/startx, see ~/.local/share/xorg/ and post the entire log. removing devices when the server tears down is norma
Step 3: https://man.archlinux.org/man/extra/xor … xinit.1.en
Because what you're doing isn't at all how xinit works
Offline
Thank you both for your contribution.
I got rid of Nvidia's /etc/X11/xorg.conf file. I then noticed that I had no .xinitrc, and had instead created a "xinitrc" file (without the dot). I renamed it to .xinitrc (with contents "exec i3").
startx now launches i3 without issue; it was a dumb mistake on my part. Thank you all again.
Offline
with contents "exec i3"
Please visit the last link below and pay attention to what to at least include in your xinitrc.
Offline