You are not logged in.

#1 2021-04-07 15:22:02

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

[SOLVED] I3wm logout just go with blankscreen

Hello, so I'm rather new in linux, around 5 months or so, and just moved to arch from ubuntu around a week ago, i went and install i3 for my window manager with lightdm as my display manager and GRUB as my bootloader, at first everything seems fine, but now when i tried to logout from i3, i didn't go back to lightdm but greeted with blank screen with blinking underscore at the top left corner. i searched in the forum and found something, tried the "nvidia-drm.modeset=1" but didn't fix my problem. Any kind of help is appreciated!

Here's the topic i found
https://bbs.archlinux.org/viewtopic.php?id=221408

and here's the photo of my blank screen
https://ibb.co/2kHC9vH

Last edited by ongpa (2021-04-12 13:19:25)

Offline

#2 2021-04-07 16:19:37

seth
Member
Registered: 2012-09-03
Posts: 19,805

Offline

#3 2021-04-07 23:06:32

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

Re: [SOLVED] I3wm logout just go with blankscreen

The "logind-check-graphical=true" doesn't seem to fix my issue and no I'm not using autologin. Also just in case my explanation was ambiguous, when i first boot from GRUB i do greeted with lightdm and i can type my pass to login to i3, the blank screen appears when I'm on i3 and then logout with "i3-msg exit".

Offline

#4 2021-04-08 06:36:47

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

Which greeter?
Check the system journal about whether the greeter posts errors and also your process list to see whether maybe the session shutdown stalls.
Also make sure that the greeter isn't running on a different VT.

Offline

#5 2021-04-08 23:02:24

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

Re: [SOLVED] I3wm logout just go with blankscreen

sorry but because I'm still rather new so i haven't really grasped the linux ecosystem, but what i installed was lightdm and lightdm-gtk-greeter. as for the journal i don't really know what you meant, and so i tried doing journalctl a few time, and wanted to copy the output here, but everytime i did it the output just go bigger and bigger that now i when i tried "journalctl > journal" and checked the file, it was 69k lines so i don't know if that was what i supposed to do, sorry.

Offline

#6 2021-04-09 06:48:14

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Which tutorial did you follow to install archlinux?

Offline

#7 2021-04-09 10:03:32

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

Re: [SOLVED] I3wm logout just go with blankscreen

this is the output of your command : http://ix.io/2Vtz
and for the installation, i read wiki plus watch youtube videos, one of the video i watched was this : https://www.youtube.com/watch?v=SFzN6e7USGk

Offline

#8 2021-04-09 10:32:15

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

Is the log supposed to be *after* a failed logout attempt?

Offline

#9 2021-04-09 12:51:45

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

Re: [SOLVED] I3wm logout just go with blankscreen

I'm sorry i didn't quite get what you mean, but i run the command before i logout, because if i tried to logout, i just go to the blank screen and seems to not be able to do anything as i can't type anything, or at least even if i typed anything, it doesn't show up on the monitor, still just the blinking underscore so i don't really know what's going on there. I can only resolve to reboot the my laptop if i ever do a logout.

Offline

#10 2021-04-09 13:15:21

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

Can you just switch to a different VT (ctrl+alt+f1,2,3,…)?
Otherwise please post the journal of a previous boot "(… -b -1" for the last one) where you encountered this.

Offline

#11 2021-04-09 15:03:40

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

Re: [SOLVED] I3wm logout just go with blankscreen

i tried logout from i3, then ctrl+alt+f2, login with my user, the journalctl output is this : http://ix.io/2VvE
as for

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io

the output is : http://ix.io/2VvJ
this happen in timeline as logout->journal on f2->reboot->journal from i3

Last edited by ongpa (2021-04-09 15:04:42)

Offline

#12 2021-04-09 15:11:36

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

polybar crashes on exit and afterwards Xorg aborts and keeps aborting in

Apr 09 21:50:50 aufarizq systemd-coredump[6586]: Process 6557 (Xorg) of user 0 dumped core.
                                                 
                                                 Stack trace of thread 6557:
                                                 #0  0x00007f71dafe1ef5 raise (libc.so.6 + 0x3cef5)
                                                 #1  0x00007f71dafcb862 abort (libc.so.6 + 0x26862)
                                                 #2  0x0000564f863c16ea OsAbort (Xorg + 0x14a6ea)
                                                 #3  0x0000564f863c31b1 FatalError (Xorg + 0x14c1b1)
                                                 #4  0x0000564f863c8e09 n/a (Xorg + 0x151e09)
                                                 #5  0x00007f71dafe1f80 __restore_rt (libc.so.6 + 0x3cf80)
                                                 #6  0x00007f71d79702f5 n/a (libglxserver_nvidia.so + 0x89d2f5)

Do you query the nvidia GPU in your polybar?

Offline

#13 2021-04-09 16:30:31

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

Re: [SOLVED] I3wm logout just go with blankscreen

sorry there's still so much i don't know about, and i don't really know what you mean with query in polybar, but this launch.sh that i launch with i3 exec_always

#!/bin/bash

# Terminate already running bar instances
killall -q polybar

# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

# Launch Polybar, using default config location ~/.config/polybar/config
polybar example

echo "Polybar launched..."

and also i additional info just in case, i think i haven't configured my nvidia driver correctly as doing

lspci -k | grep -A 2 -E "(VGA|3D)"

output:

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

but "xrandr --listproviders" output is

Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 5 outputs: 3 associated providers: 0 name:Intel

Offline

#14 2021-04-09 17:14:39

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

It's probably more about your optimus configuration then.
I assume https://wiki.archlinux.org/index.php/NVIDIA_Optimus is one of the things where you didn't really follow the wiki but relied on some knucklehead on youtube?
Can you explain how you intended to and ultimated configured the optimus setup?

Offline

#15 2021-04-09 22:15:14

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

Re: [SOLVED] I3wm logout just go with blankscreen

as for the optimus, I only found out about this yesterday, so I haven't really configured anything aside from installing nvidia-prime, since i thought it was enough to just

sudo pacman -S xf86-video-intel nvidia nvidia-utils nvidia-settings

Offline

#16 2021-04-10 05:46:57

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

No. So please read the wiki, make up your mind on how you intend to use the system and configure it accordingly.
If the issue remains, post your configuration and your xorg log.

Offline

#17 2021-04-10 08:56:02

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

Re: [SOLVED] I3wm logout just go with blankscreen

the thing is, i wanted the system to be switchable, and decided to try the PRIME render offload, so i installed "nvidia-prime" package as i said before, and then when i tried "prime-run glxinfo" this is the output:

name of display: :0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  39
  Current serial number in output stream:  40

so that's how i get to try the lspci and xrandr listprovider command, i tried the solution provided in troubleshooting part of prime but still can't make the nvidia appear as a provider for xrandr, and that's why i haven't configured anything for the optimus, and for the conf, i don't have xorg.conf but i have this in /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf :

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

Offline

#18 2021-04-10 11:11:42

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

Please post your xorg log.

Offline

#19 2021-04-10 12:39:00

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

Re: [SOLVED] I3wm logout just go with blankscreen

contents of /var/log/Xorg.0.log right after i run prime-run glxinfo
http://ix.io/2VBe

Offline

#20 2021-04-10 12:53:21

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

The nvidia chip is either not powered up or not ready when the X11 server starts, https://wiki.archlinux.org/index.php/NV … de_setting & https://wiki.archlinux.org/index.php/Ke … _KMS_start

pacman -Qs '(bbswitch|nvidia|linux)'

Offline

#21 2021-04-10 13:08:16

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

Re: [SOLVED] I3wm logout just go with blankscreen

i already tried the kms early start, it was : MODULES= ( vmd nvidia ) , and that made me can't get to lightdm from boot, or is that supposed to include everything like : ( vmd nvidia nvidia_modeset nvidia_uvm nvidia_drm ) ?
for the -Qs output is:

local/alsa-lib 1.2.4-3
    An alternative implementation of Linux sound support
local/archlinux-keyring 20210110-1
    Arch Linux PGP keyring
local/archlinux-wallpaper 1.6.1-1
    Arch Linux Wallpapers
local/avahi 0.8+15+ge8a3dd0-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 2-2
    Minimal package set to define a basic Arch Linux installation
local/efibootmgr 17-2
    Linux user-space application to modify the EFI Boot Manager
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/filesystem 2021.01.19-1
    Base Arch Linux files
local/ibus 1.5.24-1
    Next Generation Input Bus for Linux
local/iptables 1:1.8.7-1
    Linux kernel packet control tool (using legacy interface)
local/keyutils 1.6.3-1
    Linux Key Management Utilities
local/kmod 28-1
    Linux kernel module management tools and library
local/lib32-alsa-lib 1.2.4-2
    An alternative implementation of Linux sound support (32 bit)
local/lib32-keyutils 1.6.3-1
    Linux Key Management Utilities (32-bit)
local/lib32-libxshmfence 1.3-2
    a library that exposes a event API on top of Linux futexes (32-bit)
local/lib32-nvidia-utils 460.67-1
    NVIDIA drivers utilities (32-bit)
local/lib32-util-linux 2.36.2-1
    Miscellaneous system utilities for Linux (32-bit)
local/libiec61883 1.2.0-6
    A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libraw1394 2.1.2-3
    Provides an API to the Linux IEEE1394 (FireWire) driver
local/libva 2.11.0-1
    Video Acceleration (VA) API for Linux
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 460.67-1
    NVIDIA NV-CONTROL X extension
local/libxshmfence 1.3-2
    a library that exposes a event API on top of Linux futexes
local/linux 5.11.12.arch1-1
    The Linux kernel and modules
local/linux-api-headers 5.10.13-1
    Kernel headers sanitized for use in userspace
local/linux-firmware 20210315.3568f96-1
    Firmware files for Linux
local/man-pages 5.11-1
    Linux man pages
local/nvidia 460.67-6
    NVIDIA drivers for linux
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 460.67-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 460.67-1
    NVIDIA drivers utilities
local/pacman-mirrorlist 20210405-1
    Arch Linux mirror list for use by pacman
local/teams 1.4.00.4855-2
    Microsoft Teams for Linux is your chat-centered workspace in Office 365
local/util-linux 2.36.2-1
    Miscellaneous system utilities for Linux
local/util-linux-libs 2.36.2-1
    util-linux runtime libraries
local/v4l-utils 1.20.0-1
    Userspace tools and conversion library for Video 4 Linux

Last edited by ongpa (2021-04-10 13:14:01)

Offline

#22 2021-04-10 13:21:23

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

Everything - including i915.
And if you configure for PRIME, lightdm should™ be unaffected since it will run the X11 server anyway.
That being said: https://wiki.archlinux.org/index.php/Li … TTY_output and also post journal and xorg log for that setup.

"I add my nvidia GPU to the intramfs and my graphics stop working" is not a good sign.

Offline

#23 2021-04-10 22:52:34

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

Re: [SOLVED] I3wm logout just go with blankscreen

the ligthdm check graphical was already on. i changed my modules to MODULES = ( vmd i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm ), then sudo mkinitcpio -P
reboot, get the blank screen, change to tty2, do journalctl -b, this is the output: http://ix.io/2VEu

Offline

#24 2021-04-11 01:22:04

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

Re: [SOLVED] I3wm logout just go with blankscreen

I'm thinking of something, if the diagnosis was nvidia causing the problem, should i do pacman -Rns for every nvidia package from pacman -Qs nvidia ?
here is the list:

local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 460.67-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 460.67-1
    NVIDIA NV-CONTROL X extension
local/nvidia 460.67-6
    NVIDIA drivers for linux
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 460.67-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 460.67-1
    NVIDIA drivers utilities

Offline

#25 2021-04-11 06:43:34

seth
Member
Registered: 2012-09-03
Posts: 19,805

Re: [SOLVED] I3wm logout just go with blankscreen

hould i do pacman -Rns for every nvidia package

No?

You get the same crash as in #12 but now for every single attempt to launch the X11 server…
Boot into the multi-user.target (2nd link in my signature) and see whether the GPU responds to "nvidia-smi"

This here looks suspiciously like an attempt to power the GPU down

Apr 11 05:38:54 aufarizq kernel: ACPI Warning: \_SB.PC00.RP05.PXSX._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20201113/nsarguments-61)

So please also post the output of "lsmod" …

Offline

Board footer

Powered by FluxBB