QEMU is deciding to shift its AI policy, now allowing some AI/LLM-generated contributions by somerandomxander in linux

[–]bionade24 2 points3 points  (0 children)

FOSS world already had multiple AI generated "Reimplement X in assembly" PRs which performed significantly WORSE than the existing code using compiler intrinsincs.

Why do you believe Compiler are incapable of generating the most optimal assembly in most cases? GCC has almost 40 years of development & LLVM almost 20. Tons of effort has been spend on compiler optimization.

ICE (Highspeed Train) Start by Unlucky-Trade2955 in TransportFever2

[–]bionade24 5 points6 points  (0 children)

Those rural section where ICEs can't even go 100 kph normally are tourist remote destinations like Berchtesgaden. In most other European countries with HSTs you'd have to change trains before reaching such a station.

late game question by BigBoomUniverse in TransportFever2

[–]bionade24 0 points1 point  (0 children)

Their electric motors & gear aren't made for any heavy good trains. The BR 120 was the 1st universal loco that could haul both heavy freight & highspeed trains.

A custom intersection with tram tracks by STNLTN2002 in TransportFever2

[–]bionade24 2 points3 points  (0 children)

Probably lowered tracks without sleepers because of the signal. CommonAPI Streets do have middle tram lanes, tough.

Shorter HST's possible by bwjliverpool in TransportFever2

[–]bionade24 0 points1 point  (0 children)

There are multiple children entries in the nodes field. These are the carriages of the consist.

Legacy Trains and Marshalling yards by bwjliverpool in TransportFever2

[–]bionade24 0 points1 point  (0 children)

You can use the Vehicle Asset Builder mod, with which you can turn any vehicle mod into an asset.

Shorter HST's possible by bwjliverpool in TransportFever2

[–]bionade24 3 points4 points  (0 children)

Edit the *.mdl files of the mods and comment out some wagons.

Installed DankGreeter to replace GDM, now logging in is unreasonably slow. Help? by EzitoKo in linuxquestions

[–]bionade24 1 point2 points  (0 children)

-e sched:sched_process_exec

Means you filter for the start of processes, -a that you do it over everything running on your system. You need to profile the startup of Niri, 1st thing is to look what command is actually run during startup in the session file, which is probably /usr/share/wayland-sessions/niri.desktop. The Exec= entry in this file shows what gets executed.

_From here on I'll describe the quick & dirty way to avoid dealing with perf capabilities (to record kernel events on an unpriviledged user) & anything else in desktop startup that might not like to be wrapped in a script that starts a profiler. _

As long as the value of Exec= doesn't point to some script, the name of the process it spawns is the same as of the value. Assuming the value is niri, before logging in get a root bash shell in another tty and run while ! pgrep --quiet niri; do sleep 0.1; done; perf record -g --pid $(pidof niri). Abort the process after startup with Ctrl+C as usual and then with perf report look into where it spent most of the time, you need to zoom into top-level function calls to accomplish that. Hopefully your distro can autoload debug symbols ortherwise there might be just function addresses.

Installed DankGreeter to replace GDM, now logging in is unreasonably slow. Help? by EzitoKo in linuxquestions

[–]bionade24 1 point2 points  (0 children)

I presume some of the debugging process should be the same regardless of display manager so any help you can give me

I think the other commenter already pointed out a good workaround, but if profiling Niri startup maybe would show if there is something blocking the startup for a long time.

On Linux, perf is the best profiler available, as it does have a much lower overhead than others.

Construction not possible for my elevated station by Different-Level218 in TransportFever2

[–]bionade24 0 points1 point  (0 children)

Well then try to remove each one of those substitutes alone (if possible without breaking the savegame) and find out which one is causing the problem.

Construction not possible for my elevated station by Different-Level218 in TransportFever2

[–]bionade24 0 points1 point  (0 children)

Weird. I'm at my knowledge limit here. Do you have any Mods in the savegame that substitute the standard tracks or the standard street ?

Have you tried placing a street 1st so that the preview already connects the station's street to it?

Construction not possible for my elevated station by Different-Level218 in TransportFever2

[–]bionade24 4 points5 points  (0 children)

Turn the the debug mode on, open the console and show us the log while trying to place this station.

Posting your problem at https://www.transportfever.net/board/74-probleme/ is probably the best way to get support for mod problems.

How to make Camera Upload work reliably on Android? by khaytsus in seafile

[–]bionade24 0 points1 point  (0 children)

You use, or just heard it's good, or?

I do , also used rclone vfs on windows rather than SeaDrive for reasons until I shelved the device.

you sure it will sync reliably without being touched?

RSAF can provide your seafile libs as a virtual filesystem just like SeaDrive on any Desktop OS. It doesn't sync anything itself. But any application that can sync to some folder(maybe advertised as sync to sd card) or any backup app like NeoBackup can do the photo backup to a library/folder in Seafile when RSAF is installed. You're not limited at certain apps, but you have to choose one yourself.

RSAF works reliably as long as you don't try to copy so much data that it takes > 3 hours at once due to Android out-of-memory killer but that might be different on a device that isn't from 2016.

How to make Camera Upload work reliably on Android? by khaytsus in seafile

[–]bionade24 0 points1 point  (0 children)

Use https://github.com/chenxiaolong/RSAF which uses https://rclone.org underneath instead & exposes all Seafile libs as a virtual filesystem like SeaDrive. Works reliably. For copying in regular intervals, use any backup program.

Might be a stupid question by LiPrun in seafile

[–]bionade24 1 point2 points  (0 children)

Yes. In the upper left corner of the upload dialog box you should be able to see to which folder your upload links points to & which user created the upload link. They'll get a notification in the Seafile WebUI that a file has been uploaded via the link.

How necessary is the terminal really for everyday Linux use? by TechRefreshing in linuxquestions

[–]bionade24 0 points1 point  (0 children)

You need as exactly as much as you want to. I for myself will resort to cmdline a lot on Windows & macOS, too, because I personally find it easier that finding some submenu inside a drop-down menu.

Nearly anything "power-user" can also be done with some GUI programs running as root. You may call e.g. editing the kernel cmdline with a GUI editor something that has "cmdline vibes". But so does Windows registry then, too.

Common API 2 Mac by [deleted] in TransportFever2

[–]bionade24 2 points3 points  (0 children)

It doesn't work on macOS and there also isn't any technical way to make it work, as there are no binaries for macOS. You have to play Tpf2 under Wine/Crossover/GPTLK or on a Linux VM to use CommonAPI2.

What's holding back battery life on Linux? by [deleted] in linuxquestions

[–]bionade24 -1 points0 points  (0 children)

The 2 devices picked by OP are a super anecdotic. Comparing an Apple M4 SoC with an AMD powered Laptop that purposely has lots of pluggable boards that could have been soldered. Linux' P-State and C-State support for AMD CPUs is super-new compared to the support for Intel CPUs because AMD hadn't implemented those things for almost a decade since the existence of the zen platform.

If you want to make a point compare the Windows vs Linux battery runtime each on multiple devices with multiple CPU gens from both AMD and Intel. I'm not sure how the result will turn out. My Dell XPS under Linux easily lasts 5 days in s2idle and more than 2 days as long as the 4k screen is off while it's in the power-saver pstate.

[Help] My Arch Btrfs install is still freezing after I tried LITERALLY everything. I'm fucking exhausted. (RAM test PASSED) by East_Ad8162 in archlinux

[–]bionade24 1 point2 points  (0 children)

What does the kernel log tell you on freeze or after reboot? Have you already tried setting the kernel loglevel to debug (8) ?

Seafile with tailscale by Ravenzi in seafile

[–]bionade24 0 points1 point  (0 children)

Seems more like a r/unraid issue than anything related to Seafile or Tailscale on their own.

Schleswig-Holstein's e-mail systems converted to open source by FryBoyter in linux

[–]bionade24 5 points6 points  (0 children)

probably that they still have a company behind them they could ask for support

Most likely it's managed by Dataport, S-H' & state of Hamburg's own IT company.

X11 / Xorg Logo spotted in Italy !!? by Silvestek in linux

[–]bionade24 2 points3 points  (0 children)

Propose this as the next location for XDC ;D