Skip to main content
Topic: [SOLVED] X won't start for unknown reason (Read 728 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

[SOLVED] X won't start for unknown reason

Here is the Xorg.0.log: https://bin.snopyta.org/?66dc368df818ae8f#GWsAVPWgu27nt4hvFAQvuo9cDydJZ6R6dfE76TRNySsb

X initially failed to start due a S6 bundle issue that was resolved here. However, X continues to fail to start for an unknown reason that seemingly has nothing to do with the previous S6 issue.

My best guess is that it's NVIDIA, as I removed and reinstalled the "nvidia-dkms" package during my troubleshooting before I solved the S6 bundle problem.

I am on a hybrid laptop with an integrated Intel GPU and dedicated NVIDIA GPU
Here's the output of "inxi -F"
Code: [Select]
System:
  Kernel: 5.18.0-artix1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.0 Console: tty 1
    Distro: Artix Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required>
  Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.18.0
    date: 11/17/2019
Battery:
  ID-1: BAT0 charge: 72.6 Wh (99.0%) condition: 73.3/97.0 Wh (75.5%) volts: 12.5 min: 11.4
    model: SMP DELL GPM0365 status: discharging
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake rev: 9 cache:
    L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 800/3800 cores: 1: 800 2: 800 3: 800 4: 800 5: 799
    6: 800 7: 800 8: 800 bogomips: 44817
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 515.43.04
    bus-ID: 01:00.0
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: N/A bus-ID: 1-12:5
  Display: server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2 driver: X: loaded: modesetting
    unloaded: fbdev,intel,vesa gpu: i915 tty: 240x67 resolution: 3840x2160
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.18.0-artix1-1 running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.51 running: no
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Rivet Networks Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel bus-ID: 02:00.0
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: mullvad-us99 state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-4:2
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found rfk-block: hardware: no
    software: no address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 764.12 GiB (80.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: PM981 NVMe 1024GB size: 953.87 GiB temp: 28.9 C
Partition:
  ID-1: / size: 920.75 GiB used: 764.08 GiB (83.0%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 40.6 MiB (13.5%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 17.04 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 38.0 C pch: 39.0 C mobo: 35.0 C gpu: nvidia temp: 39 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 252 Uptime: 2m Memory: 15.48 GiB used: 593.3 MiB (3.7%) Init: s6 Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: 2161 Shell: Bash v: 5.1.16 inxi: 3.3.15

And the output of "lsmod | grep nvidia":
Code: [Select]
nvidia uvm     2609152 0
nvidia drm     73728 0
nvidia modeset    1163264 1 nvidia drm
nvidia    39153664 2 nvidia_uvm, nvidia_nodeset

While I'm pretty sure Nouveau has been blacklisted everywhere since I started using Artix ages ago, perhaps it could have been unblacklisted somehow. I checked all of the .confs I know, but a refresher in case I missed any wouldn't hurt.

Re: X won't start for unknown reason

Reply #1
(I cannot find a good enough picture to text service to convert all of it to text)
Code: [Select]
inxi -Fxz > ~/Public/inxi.txt
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "


Re: X won't start for unknown reason

Reply #3
Not sure if pastebin or code format is preferred for such a long output. I assumed the Xorg log was too big so I used a privatebin link for it, but idk what's preferred for something like this inxi output. Regardless
Code: [Select]
System:
  Kernel: 5.18.0-artix1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.0 Console: tty 1
    Distro: Artix Linux base: Arch Linux
Machine:
  Type: Laptop System: Dell product: XPS 15 9560 v: N/A serial: <superuser required>
  Mobo: Dell model: 05FFDN v: A00 serial: <superuser required> UEFI: Dell v: 1.18.0
    date: 11/17/2019
Battery:
  ID-1: BAT0 charge: 72.6 Wh (99.0%) condition: 73.3/97.0 Wh (75.5%) volts: 12.5 min: 11.4
    model: SMP DELL GPM0365 status: discharging
CPU:
  Info: quad core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake rev: 9 cache:
    L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 800/3800 cores: 1: 800 2: 800 3: 800 4: 800 5: 799
    6: 800 7: 800 8: 800 bogomips: 44817
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: nvidia v: 515.43.04
    bus-ID: 01:00.0
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: N/A bus-ID: 1-12:5
  Display: server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.2 driver: X: loaded: modesetting
    unloaded: fbdev,intel,vesa gpu: i915 tty: 240x67 resolution: 3840x2160
  Message: GL data unavailable in console. Try -G --display
Audio:
  Device-1: Intel CM238 HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.18.0-artix1-1 running: yes
  Sound Server-2: sndio v: N/A running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.51 running: no
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Rivet Networks Killer Wireless-n/a/ac 1535 driver: ath10k_pci v: kernel bus-ID: 02:00.0
  IF: wlan0 state: up mac: <filter>
  IF-ID-1: mullvad-us99 state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-4:2
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found rfk-block: hardware: no
    software: no address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 764.12 GiB (80.1%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: PM981 NVMe 1024GB size: 953.87 GiB temp: 28.9 C
Partition:
  ID-1: / size: 920.75 GiB used: 764.08 GiB (83.0%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 40.6 MiB (13.5%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 17.04 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 38.0 C pch: 39.0 C mobo: 35.0 C gpu: nvidia temp: 39 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 252 Uptime: 2m Memory: 15.48 GiB used: 593.3 MiB (3.7%) Init: s6 Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: 2161 Shell: Bash v: 5.1.16 inxi: 3.3.15

Re: X won't start for unknown reason [SOLVED]

Reply #4
i'm not understanding.  is the issue solved or still an ongoing problem?
Cat Herders of Linux

Re: X won't start for unknown reason

Reply #5
Okay, turns out I'm just a moron.

After trying the command "s6-db-reload" again, it gave an error allowing me to discover that I had somehow accidentally added an empty file titled "networkmanager" to the directory "/etc/s6/adminsv/default/contents.d".

The correct "NetworkManager" folder is there. But, I must have added "networkmanager" when I was first troubleshooting, before I knew I had to re-add "dbus" and "elogind" to my default bundles.

Once I removed the "networkmanager" file, "s6-db-reload" worked, I rebooted, and X started with no issue.

Despite this having taken me a month to solve, I'm glad it was mainly just a simple user error. Much more satisfying than all the nonsense issues I had to deal with on previous systemD distros.

Re: [SOLVED] X won't start for unknown reason

Reply #6
Okay, turns out I'm just a moron.

After trying the command "s6-db-reload" again, it gave an error allowing me to discover that I had  somehow accidentally added an empty file titled "networkmanager" to the directory "/etc/s6/adminsv/default/contents.d".

The correct "NetworkManager" folder is there. But, I must have added "networkmanager" when I was first troubleshooting, before I knew to I had re-add "dbus" and "elogind" to my default bundles.

Once I removed the "networkmanager" file, "s6-db-reload" worked, I rebooted, and X started with no issue.

Despite this having taken me a month to solve, I'm glad it was mainly just a simple user error. Much more satisfying than all the nonsense issues I had to deal with on previous systemD distros.


Spoken like a true administrator of I dot 10T systems!  Well done!
Cat Herders of Linux