X/Wayland general

A thread to discuss graphics on Linux. Not a thread about KDE/Gnome/Qt/GTK etc.
I'll start: why does X shutdown when you log out of a tty?

Attached: 1491389514193.png (700x384, 44K)

Other urls found in this thread:

wayland.freedesktop.org/releases.html
twitter.com/SFWRedditImages

bump

Anybody know the current state of Wayland subwindows?

Jow Forums isn't qualified enough for this thread.

I'm sure most login shells don't support X

plus, i'm sure a tty is spawned before any X client would be, and if you log out, i'm sure it would kill any child processes containing one

I think because you need both a client and a server and RedHat's implementation requires that both be running at the same time, so when you log out you are killing the client and so the server.

Independent implementation of X when?

It does not?

>subwindows
wat

It's still in development:
> Release News
> April 9, 2018
> The official Wayland 1.15 and Weston 4.0 versions were released.

wayland.freedesktop.org/releases.html

I'm on Debian and for example I'll run startx on tty0 (alt F1) and when i log into tty1 as the same user and then log out it shuts down X which was "running over tty0"

here's a quick patch and config to make weston usable
[core]
xwayland=true
[libinput]
enable_tap=true
[shell]
locking=false
background-image=Downloads/maki.jpg
background-type=scale-crop
background-color=0xff000000
panel-color=0x00ffffff
panel-position=left
#animation=zoom
#startup-animation=none
close-animation=none
focus-animation=dim-layer
num-workspaces=6
cursor-theme=Breeze_Amber
cursor-size=1
clock-format=none
[keyboard]
keymap_layout=us,de
keymap_variant=colemak,
keymap_options=grp:shifts_toggle
repeat-rate=30
repeat-delay=300
[output]
name=LVDS1
mode=preferred
[terminal]
font=monospace
font-size=18
[launcher]
icon=/usr/share/icons/Adwaita/32x32/apps/utilities-terminal.png
path=/usr/bin/weston-terminal
[launcher]
icon=/usr/share/icons/Adwaita/32x32/apps/utilities-terminal.png
path=/usr/bin/st
[launcher]
#icon=/usr/share/icons/Adwaita/32x32/apps/system-file-manager.png
icon=/usr/share/icons/Adwaita/32x32/places/folder.png
path=/usr/bin/pcmanfm
#[launcher]
#icon=/usr/share/icons/Adwaita/32x32/places/folder.png
#path=GTK_THEME=Adwaita:dark /usr/bin/nautilus
[launcher]
icon=/usr/share/icons/Adwaita/32x32/apps/web-browser.png
path=/usr/bin/firefox --new-instance
[launcher]
icon=/usr/share/icons/Adwaita/32x32/status/mail-read.png
path=/usr/bin/thunderbird
[launcher]
icon=/usr/share/icons/hicolor/32x32/apps/pidgin.png
path=/usr/bin/pidgin
[launcher]
icon=/usr/share/icons/hicolor/32x32/apps/leafpad.png
path=/usr/bin/leafpad
[launcher]
icon=/usr/share/icons/hicolor/32x32/apps/gimp.png
path=/usr/bin/gimp
[launcher]
icon=/usr/share/icons/Adwaita/32x32/apps/multimedia-volume-control.png
path=/usr/bin/st alsamixer
[launcher]
icon=/usr/share/icons/Adwaita/32x32/devices/media-optical.png
path=/usr/bin/devmon -s -g -a
[launcher]
icon=/usr/share/icons/Adwaita/32x32/actions/media-eject.png
path=/usr/bin/devmon -s -g -u

I don't have such a problem on Void Linux. It uses agetty.
Maybe it has something to do with systemd?

What does $DISPLAY do?

I want to write desktop Linux software but having to deal with supporting both Wayland and X is incredibly annoying

Yeah that sounds like some systemd+logind weirdness

i've found that some applications (maybe the ones that use GTK) allow you to drag them around using pure X, no window/desktop manager needed.

Bump

nice tsuki reference

How do I get compton or another compositor working with raw X? When I run compton the screen turns gray but I'm still getting tears when windows move and scrolling in FF/Chromium

>Tsuki
FUCK OFF
WE'RE FULL

t. Wally

Like xwininfo -root -tree

You don't, just use your DE's graphical toolkit.

x is not wayland - you'll be writing two separate things that look alike, i'd focus on wayland if i were you or you could help lxqt and kwin instead

wrong thread you must have nvidia
in general you'd cp /etc/xdg/compton.conf or /etc/xdg/compton.conf.example to .config/ and edit to your setup, it's plug-and-play for radeon [but not even needed nowadays]
btw there is no tearing in FF [and mpv] now with radeon/mesa

You need a WM brother. Compositors rely on EWMH to function properly.

>tfw you fell for the “Wayland will fix everything” meme

>there is no tearing in FF
There is for Intel.

Wayland will fix everything.

my condolences

Thanks.
It's even worse with "new and improved" modesetting driver.
It doesn't even have TearFree option.

Sounds like a misconfigured logind or DM. logind kills the user's processes on logout. Maybe your DM doesn't start a logind session?

idk about that, iirc tmux still had my stuff