#Linux thread
1 messages ยท Page 1 of 1 (latest)
Because #moderation-desk said we can't have our own channel ๐
first problem: anyone have issues getting long BP strings to copy-paste into the importer? I do
using wayland, maybe that matters?
Known wayland issue
you mean it's a bug with wayland, or it's a bug with factorio when on wayland?
(if it's the former I can widen my search for work-arounds)
go to forums
search for the issue or create a new post
genius, let's shut down the discord
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
honestly, I've had zero problems with factorio on linux; it just works(TM). But I'm also running a relatively conservative system
@crystal trail x11 or wayland?
if you want it fixed, it's gotta be on the forum lol
it's not a factorio bug lol
when you file the issue in x11 / sdl / wayland / whatever you can't really link a discord for more info ๐
x11; there's no compelling reason for me to make the jump to wayland at this point
If clown emojis are gonna be the standard here this thread will not live very long.
can't argue with that, just wanted to know about the experience on your platform ๐๐ป
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.
I'm on wayland though ๐ฅฒ
Wayland clipboard should just work
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)
Are you sure that the game is actually running on Wayland? Go into the graphics settings and check the preferred video driver.
bob's your uncle
Lol
X11 is the default choice because that is what SDL2 recommends. SDL3 will default a land.
Fair, I hadn't caught that it was a factorio option! Restarting game
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.
That did it. thank you! ๐ฏ
No problem!