Devuan bug report logs - #792
lag in exiting xsession using experimental xserver-xorg-core

version graph

Package: xserver-xorg-core; Maintainer for xserver-xorg-core is Devuan Developers <devuan-dev@lists.dyne.org>; Source for xserver-xorg-core is src:xorg-server.

Reported by: "50r3n.2023" <50r3n.2023@proton.me>

Date: Tue, 12 Sep 2023 10:50:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 2:21.1.7-3devuan2~exp1

Full log


Message #25 received at 792@bugs.devuan.org (full text, mbox, reply):

Received: (at 792) by bugs.devuan.org; 13 Sep 2023 12:45:04 +0000
Return-Path: <mark@hindley.org.uk>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 13 Sep 2023 12:45:04 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id HfDmDc2uAWVvAQAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Wed, 13 Sep 2023 12:45:01 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 23B5398; Wed, 13 Sep 2023 12:45:00 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 425ED29
	for <792@bugs.devuan.org>; Wed, 13 Sep 2023 12:45:00 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 69B5B9C1
	for <792@bugs.devuan.org>; Wed, 13 Sep 2023 13:44:59 +0100 (BST)
Received: (nullmailer pid 25393 invoked by uid 1000);
	Wed, 13 Sep 2023 12:44:59 -0000
Date: Wed, 13 Sep 2023 13:44:59 +0100
From: "50r3n.2023" <50r3n.2023@proton.me>
To: 792@bugs.devuan.org
Subject: Re: bug#792: lag in exiting xsession using experimental
 xserver-xorg-core
Message-ID: <ZQGuyyNmjad2fT2S@hindley.org.uk>
References: <el72tmV6mwkVwDVbADRo48udnaER4pXDmWAPe0VGVH4gJ8orlsJ8bpv7ouGLwH3Q4gT1URxuxwU4lixjR5vE05leUuozwLWuB_plK18GNjA=@proton.me>
 <ZQCZ1rox66A/jDqw@hindley.org.uk>
 <s9_znjTGlnyvlese5DWgymzT4W2urLLBZeH6ibIZ7JpABEP09a5dEufyTNMaOG_Y115y94ijCVB_R4hGpOCSTkkrYQ8fCR-UJ8ppqsZKybo=@proton.me>
 <ZQFV+ezCy8ZDwyiO@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ZQFV+ezCy8ZDwyiO@hindley.org.uk>
------- Original Message -------
On Wednesday, September 13th, 2023 at 4:26 PM, Mark Hindley <mark@hindley.org.uk> wrote:


> On Wed, Sep 13, 2023 at 06:08:47AM +0000, 50r3n.2023 wrote:
> 
> > Contents of ~/.local/share/xorg/Xorg.1.log.old
> 
> 
> [..]
> 
> > [ 314.454] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse0)
> > [ 314.454] (II) No input driver specified, ignoring this device.
> > [ 314.454] (II) This device may have been added with another device file.
> > [ 314.454] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
> > [ 314.454] (II) No input driver specified, ignoring this device.
> > [ 314.454] (II) This device may have been added with another device file.
> > [ 314.461] (II) modeset(0): Allocate new frame buffer 1920x1200 stride
> > [ 359.695] () Option "fd" "20"
> > [ 359.695] (II) event4 - Power Button: device removed
> > [ 359.695] () Option "fd" "23"
> > [ 359.695] (II) event5 - Sleep Button: device removed
> > [ 359.695] () Option "fd" "24"
> > [ 359.695] (II) event1 - Video Bus: device removed
> > [ 359.695] () Option "fd" "25"
> > [ 359.695] (II) event3 - VirtualBox mouse integration: device removed
> > [ 359.695] () Option "fd" "26"
> > [ 359.695] (II) event0 - AT Translated Set 2 keyboard: device removed
> > [ 359.695] () Option "fd" "27"
> > [ 359.695] (II) event2 - ImExPS/2 Generic Explorer Mouse: device removed
> 
> 
> So there is no shutdown here (hence the slow exit?).
> 
> How are you running startx? How are you terminating the running xorg?
> 
> Thanks
> 
> Mark

Im trying two different window managers, icewm and jwm. This is what ive found out so far.

This is what my icewm .xinitrc looks like with the log out lag, just using icewm only.
[code]
xrdb -merge ~/.Xresources &
xrandr --output Virtual-1 --mode 1920x1200 &
(sleep 2s && exec dbus-launch --exit-with-session icewm)
[/code] 

This .xinitrc involves no lag in logging out using icewm-session
[code]
xrdb -merge ~/.Xresources &
xrandr --output Virtual-1 --mode 1920x1200 &
(sleep 2s && exec dbus-launch --exit-with-session icewm-session) 
[/code]

I need to use the sleep 2s so as to allow xresources dpi and display size to load with startx otherwise they fail to complete.

So using icewm-session solves the lag issue, using icewm only in .xinitrc the lag remains when logging out via icewm's menu.

Jwm only exits with no lag when using [jwm -exit] via the terminal and the lag remains when using jwm's menu option "log out".

Hope that helps?



Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon May 20 17:31:17 2024;