Skribent: 50r3n.2023 Dato: Til: 792 Emne: [devuan-dev] bug#792: lag in exiting xsession using experimental
xserver-xorg-core
------- Original Message -------
On Wednesday, September 13th, 2023 at 4:26 PM, Mark Hindley <mark@???> 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".