#Linux thread

1 messages ยท Page 1 of 1 (latest)

raven wraith
#

first problem: anyone have issues getting long BP strings to copy-paste into the importer? I do

#

using wayland, maybe that matters?

brave pumice
#

Known wayland issue

raven wraith
#

(if it's the former I can widen my search for work-arounds)

low raft
#

search for the issue or create a new post

raven wraith
#

genius, let's shut down the discord

brave pumice
#

Looking back into things, apparently it's an issue between SDL and X11

#

I do recommend a forum post so the issue can be tracked

crystal trail
#

honestly, I've had zero problems with factorio on linux; it just works(TM). But I'm also running a relatively conservative system

raven wraith
#

@crystal trail x11 or wayland?

cyan eagle
raven wraith
cyan eagle
#

when you file the issue in x11 / sdl / wayland / whatever you can't really link a discord for more info ๐Ÿ˜›

crystal trail
brave pumice
#

If clown emojis are gonna be the standard here this thread will not live very long.

raven wraith
stable rock
#

Basically we removed our dependency on X11 which included our custom X11 clipboard code. This caused this regression. SDL3 will fix the issue but unfortunately the fix is not being backported to SDL2.

Re-implementing our custom X11 code would require me to link against X11 and undo a lot of headless mode cleanups that I did over the last few months. So it probably isn't going to happen. However, I will see if I can backport the fix into our version of sdl2 in the near future.

#

The real solution is to switch to Wayland. ๐Ÿ™‚

#

For more context on the headless stuff: in the past, when we directly linked against X11, we had to create a separate "compiler" for headless, and there was some really really cursed shell scripts that injected fake X11 headers so that Allegro would compile. However, I have since removed Allegro, and with that, removed our dependency on X11, which allowed me to turn headless into a build target instead of a separate "compiler", and remove those cursed shell scripts.

raven wraith
stable rock
#

Wayland clipboard should just work

raven wraith
#

So what's weird is that when I ctrl-v with a smaller blueprint it works fine, but a big BP book doesn't paste. I haven't done the binary search to find out exactly where the line is. (tyvm for weighing in)

stable rock
#

Are you sure that the game is actually running on Wayland? Go into the graphics settings and check the preferred video driver.

raven wraith
#

bob's your uncle

stable rock
#

Lol

#

X11 is the default choice because that is what SDL2 recommends. SDL3 will default a land.

raven wraith
#

Fair, I hadn't caught that it was a factorio option! Restarting game

stable rock
#

I'm pretty sure we are one of the only games in existence that lets you choose this ๐Ÿ™‚

#

You can also change to pipewire in the audio settings if you want.

raven wraith
stable rock
#

No problem!