You are not logged in.

#26 2021-04-11 13:07:24

ongpa
Member
Registered: 2021-04-05
Posts: 24

Re: [SOLVED] I3wm logout just go with blankscreen

with the same modules as #23, here is the output from multi-user:
nvidia-smi : https://ibb.co/1vCP63r
lsmod : http://ix.io/2VJI

also it seems like my intention was unclear, so this is just in case, but the uninstall of nvidia packages was just to see if the problem still persist without them, but if it still a no then okay

Last edited by ongpa (2021-04-11 13:09:40)

Offline

#27 2021-04-11 13:42:53

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] I3wm logout just go with blankscreen

If you remove those packages, the nvidia GLX module won't be loaded and X11 won't crash - I can predict as much.
This also holds for subsequent server starts, so your original issue will be gone as well - but you won't be able to use the GPU.

The GPU responds to nvidia-smi and neither acpi_call nor bbswitch are loaded.
This is either a massive bug in the nvidia driver or a massive installation fuck-up. You didn't symlink around libraries or install the nvidia driver from their webpage or something like that?
Post

ls -l /usr/lib/libgl*
pacman -Qikk nvidia-utils

and also the xorg log from one of those failed lightdm attempts…

Offline

#28 2021-04-11 14:24:57

ongpa
Member
Registered: 2021-04-05
Posts: 24

Re: [SOLVED] I3wm logout just go with blankscreen

ls -l /usr/lib/libgl* output:

lrwxrwxrwx 1 root root      13 Mar 27 14:16 /usr/lib/libglapi.so -> libglapi.so.0
lrwxrwxrwx 1 root root      17 Mar 27 14:16 /usr/lib/libglapi.so.0 -> libglapi.so.0.0.0
-rwxr-xr-x 1 root root  227232 Mar 27 14:16 /usr/lib/libglapi.so.0.0.0
lrwxrwxrwx 1 root root      16 Apr  8 21:06 /usr/lib/libglib-2.0.so -> libglib-2.0.so.0
lrwxrwxrwx 1 root root      23 Apr  8 21:06 /usr/lib/libglib-2.0.so.0 -> libglib-2.0.so.0.6800.1
-rwxr-xr-x 1 root root 1256824 Apr  8 21:06 /usr/lib/libglib-2.0.so.0.6800.1
lrwxrwxrwx 1 root root      18 Jan 27 23:56 /usr/lib/libglibmm-2.4.so -> libglibmm-2.4.so.1
lrwxrwxrwx 1 root root      22 Jan 27 23:56 /usr/lib/libglibmm-2.4.so.1 -> libglibmm-2.4.so.1.3.0
-rwxr-xr-x 1 root root  542600 Jan 27 23:56 /usr/lib/libglibmm-2.4.so.1.3.0
lrwxrwxrwx 1 root root      38 Jan 27 23:56 /usr/lib/libglibmm_generate_extra_defs-2.4.so -> libglibmm_generate_extra_defs-2.4.so.1
lrwxrwxrwx 1 root root      42 Jan 27 23:56 /usr/lib/libglibmm_generate_extra_defs-2.4.so.1 -> libglibmm_generate_extra_defs-2.4.so.1.3.0
-rwxr-xr-x 1 root root  158496 Jan 27 23:56 /usr/lib/libglibmm_generate_extra_defs-2.4.so.1.3.0
lrwxrwxrwx 1 root root      12 May 19  2020 /usr/lib/libglut.so -> libglut.so.3
lrwxrwxrwx 1 root root      17 May 19  2020 /usr/lib/libglut.so.3 -> libglut.so.3.11.0
-rwxr-xr-x 1 root root  355544 May 19  2020 /usr/lib/libglut.so.3.11.0

pacman -Qikk nvidia-utils output:

Name            : nvidia-utils
Version         : 460.67-1
Description     : NVIDIA drivers utilities
Architecture    : x86_64
URL             : http://www.nvidia.com/
Licenses        : custom
Groups          : None
Provides        : vulkan-driver  opengl-driver  nvidia-libgl
Depends On      : xorg-server  libglvnd  egl-wayland
Optional Deps   : nvidia-settings: configuration tool [installed]
                  xorg-server-devel: nvidia-xconfig [installed]
                  opencl-nvidia: OpenCL support
Required By     : lib32-nvidia-utils  libglvnd  nvidia  nvidia-prime  nvidia-settings  steam
Optional For    : ffmpeg  vulkan-icd-loader
Conflicts With  : nvidia-libgl
Replaces        : nvidia-libgl
Installed Size  : 311.35 MiB
Packager        : Sven-Hendrik Haase <svenstaro@gmail.com>
Build Date      : Fri 19 Mar 2021 12:23:38 PM WIB
Install Date    : Fri 26 Mar 2021 07:04:05 PM WIB
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature

nvidia-utils: 180 total files, 0 altered files

Xorg: http://ix.io/2VK4

also, i haven't installed bbswitch packages as i didn't come across a statement that it is a necessity, and another piece of information that maybe useful is when i "sudo mkinitcpio -P", there'is some warning of possibly missing firmware for module wd719x, aic94xx, and xhci_pci

Offline

#29 2021-04-11 14:35:58

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] I3wm logout just go with blankscreen

[  4157.089] (EE) AIGLX error: Calling driver entry point failed
[  4157.143] (II) IGLX: Loaded and initialized swrast
[  4157.143] (II) GLX: Initialized DRISWRAST GL provider for screen 0

ls -l /usr/lib/libgl* output:

Blast, sorry:

ls -l /usr/lib/libGL*
ldd /usr/lib/nvidia/xorg/libglxserver_nvidia.so # while we're at it

Also try to remove xf86-video-intel and any config that might reference it in /{etc,usr/share}/X11/xorg.conf*
Edit: also remove xf86-video-vesa

Last edited by seth (2021-04-11 14:37:59)

Offline

#30 2021-04-11 22:35:09

ongpa
Member
Registered: 2021-04-05
Posts: 24

Re: [SOLVED] I3wm logout just go with blankscreen

ls -l /usr/lib/libGL* :

lrwxrwxrwx 1 root root      18 Jun 26  2020 /usr/lib/libGLdispatch.so -> libGLdispatch.so.0
lrwxrwxrwx 1 root root      22 Jun 26  2020 /usr/lib/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
-rwxr-xr-x 1 root root  710472 Jun 26  2020 /usr/lib/libGLdispatch.so.0.0.0
lrwxrwxrwx 1 root root      24 Mar 19 12:23 /usr/lib/libGLESv1_CM_nvidia.so -> libGLESv1_CM_nvidia.so.1
lrwxrwxrwx 1 root root      29 Mar 19 12:23 /usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.460.67
-rwxr-xr-x 1 root root   67880 Mar 19 12:23 /usr/lib/libGLESv1_CM_nvidia.so.460.67
lrwxrwxrwx 1 root root      21 Mar 19 12:23 /usr/lib/libGLESv2_nvidia.so -> libGLESv2_nvidia.so.2
lrwxrwxrwx 1 root root      26 Mar 19 12:23 /usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.460.67
-rwxr-xr-x 1 root root  117032 Mar 19 12:23 /usr/lib/libGLESv2_nvidia.so.460.67
lrwxrwxrwx 1 root root      14 Jun 26  2020 /usr/lib/libGLESv2.so -> libGLESv2.so.2
lrwxrwxrwx 1 root root      18 Jun 26  2020 /usr/lib/libGLESv2.so.2 -> libGLESv2.so.2.1.0
-rwxr-xr-x 1 root root   71424 Jun 26  2020 /usr/lib/libGLESv2.so.2.1.0
lrwxrwxrwx 1 root root      16 Apr 25  2020 /usr/lib/libGLEW.so -> libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      16 Apr 25  2020 /usr/lib/libGLEW.so.2.2 -> libGLEW.so.2.2.0
-rw-r--r-- 1 root root  677552 Apr 25  2020 /usr/lib/libGLEW.so.2.2.0
lrwxrwxrwx 1 root root      10 Jun 26  2020 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root      14 Jun 26  2020 /usr/lib/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root  538368 Jun 26  2020 /usr/lib/libGL.so.1.7.0
lrwxrwxrwx 1 root root      15 May 16  2020 /usr/lib/libGLU.so -> libGLU.so.1.3.1
lrwxrwxrwx 1 root root      15 May 16  2020 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.1
-rwxr-xr-x 1 root root  472848 May 16  2020 /usr/lib/libGLU.so.1.3.1
lrwxrwxrwx 1 root root      25 Mar 27 14:16 /usr/lib/libGLX_indirect.so.0 -> /usr/lib/libGLX_mesa.so.0
lrwxrwxrwx 1 root root      16 Mar 27 14:16 /usr/lib/libGLX_mesa.so -> libGLX_mesa.so.0
lrwxrwxrwx 1 root root      20 Mar 27 14:16 /usr/lib/libGLX_mesa.so.0 -> libGLX_mesa.so.0.0.0
-rwxr-xr-x 1 root root  494264 Mar 27 14:16 /usr/lib/libGLX_mesa.so.0.0.0
lrwxrwxrwx 1 root root      18 Mar 19 12:23 /usr/lib/libGLX_nvidia.so -> libGLX_nvidia.so.0
lrwxrwxrwx 1 root root      23 Mar 19 12:23 /usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.460.67
-rwxr-xr-x 1 root root 1211504 Mar 19 12:23 /usr/lib/libGLX_nvidia.so.460.67
lrwxrwxrwx 1 root root      11 Jun 26  2020 /usr/lib/libGLX.so -> libGLX.so.0
lrwxrwxrwx 1 root root      15 Jun 26  2020 /usr/lib/libGLX.so.0 -> libGLX.so.0.0.0
-rwxr-xr-x 1 root root  136888 Jun 26  2020 /usr/lib/libGLX.so.0.0.0

ldd /usr/lib/nvidia/xorg/libglxserver_nvidia.so :

	linux-vdso.so.1 (0x00007ffcc2b59000)
	libnvidia-tls.so.460.67 => /usr/lib/libnvidia-tls.so.460.67 (0x00007f7938a30000)
	libnvidia-glcore.so.460.67 => /usr/lib/libnvidia-glcore.so.460.67 (0x00007f7936b23000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f7936956000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f7936811000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f793680a000)
	/usr/lib64/ld-linux-x86-64.so.2 (0x00007f7939a69000)

both commands were executed before removing intel and vesa package, if that matters.
as for the config, i think i might just show you my list file:

/usr/share/X11 :

drwxr-xr-x  2 root root  4096 Apr  8 07:49 app-defaults
drwxr-xr-x 64 root root  4096 Mar 26 18:59 locale
-rw-r--r--  1 root root  1723 Feb 25 15:30 Xcms.txt
-rw-r--r--  1 root root 42077 Feb 25 15:30 XErrorDB
drwxr-xr-x  8 root root  4096 Mar 26 19:04 xkb
drwxr-xr-x  2 root root  4096 Apr 10 07:20 xorg.conf.d

/usr/share/X11/xorg.conf.d :

-rw-r--r-- 1 root root  227 Mar 19 12:23 10-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1350 Dec 14 19:10 10-quirks.conf
-rw-r--r-- 1 root root 1519 Apr  7 21:47 40-libinput.conf

/etc/X11 :

drwxr-xr-x 3 root root 4096 Mar 26 13:27 xinit
drwxr-xr-x 2 root root 4096 Dec 14 19:10 xorg.conf.d

/etc/X11/xorg.conf.d is empty

EDIT: additional info, tried removing xf86-video-vesa, modules still same as #12, reboot, cant login. then removed xf86-video-intel, modules still same, can login. then tried to remove i915 from modules, reboot, can also login.
output of lspci -k | grep -A 2 -E "(VGA|3D)" after above operations :

0000:00:02.0 VGA compatible controller: Intel Corporation Iris Xe Graphics (rev 01)
	DeviceName: VGA
	Subsystem: ASUSTeK Computer Inc. Device 1e9f
	Kernel driver in use: i915
--
0000:02:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX330] (rev a1)
	DeviceName: Second VGA
	Subsystem: ASUSTeK Computer Inc. Device 1e9f
	Kernel driver in use: nvidia

output of xrandr --listproviders:

Providers: number : 2
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:modesetting
Provider 1: id: 0x240 cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-G0

output of nvidia-smi: https://ibb.co/Ry3jNDj

and also as of now, i can run prime-run glxinfo, and just in case it is of help, here's the output: http://ix.io/2VMY

Last edited by ongpa (2021-04-11 23:02:14)

Offline

#31 2021-04-12 07:11:09

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] I3wm logout just go with blankscreen

The intel driver somehow ended up being incompatible w/ likely mesa (partial update?) throwing  everything else off.
Does the original problem remain?

Offline

#32 2021-04-12 08:15:43

ongpa
Member
Registered: 2021-04-05
Posts: 24

Re: [SOLVED] I3wm logout just go with blankscreen

the original problem seems to be resolved, and no i always run pacman -Syu, and every packages i ever installed were either from official repo or aur. but does it mean now i will only use nvidia and can't do hybrid?

Offline

#33 2021-04-12 11:02:04

seth
Member
Registered: 2012-09-03
Posts: 51,319

Re: [SOLVED] I3wm logout just go with blankscreen

but does it mean now i will only use nvidia and can't do hybrid?

Check glxinfo. But in general not.

You "might" in case, after removing the i915 module, the intel chip is late but the nvidia one is there and the server decides to use just that.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#34 2021-04-12 13:23:50

ongpa
Member
Registered: 2021-04-05
Posts: 24

Re: [SOLVED] I3wm logout just go with blankscreen

i think i can still do hybrid, as

glxinfo | grep "OpenGL renderer"

output is Mesa Intel(R) Xe Graphics, and

prime-run glxinfo | grep "OpenGL renderer"

output is GeForce MX330.

but overall thanks for all the help, really appreciate it, and I've already marked the thread as solved.

Offline

Board footer

Powered by FluxBB