mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#backports

0 posts0 participants0 posts today
Continued thread

After some hours of debugging, I conclude it isn't caused by a bug in Dirt (though there might still be some bugs there).

Rather, this one seems to be a #bug in #Pipewire 's implementation of #JACK protocol (#Debian #Bookworm 0.3.65-3+deb12u1). Upgrading to 1.2.7-1~bpo12+1 from Bookworm #BackPorts seems to have fixed it.

In more detail, `jack_time_to_frames(client, time)` was occasionally returning bogus values in the far future, which made Dirt's pending sound queue fill up (because the sounds would never get played).

some output from printf, middle line shows bug:
```
startT = 214465908, when = 59192907023, when2 = 59192907032, sound->when = 1737176330.247233, epochOffset = 1737117137.340209
startT = 2361950208, when = 59192907023, when2 = 103932163072, sound->when = 1737176330.247233, epochOffset = 1737117137.340209
startT = 214470490, when = 59193002284, when2 = 59193002280, sound->when = 1737176330.342493, epochOffset = 1737117137.340209
```

code:
```
jack_time_t when = (sound->when - epochOffset) * 1000000;
jack_nframes_t startT = jack_time_to_frames(jack_client, when);
jack_time_t when2 = jack_frames_to_time(jack_client, startT);
printf("startT = %u,\twhen = %lu,\twhen2 = %lu, sound->when = %f,\tepochOffset = %f\n", startT, when, when2, sound->when, epochOffset);
sound->startT = startT;
```

Any web developers here who can make fasttrack.debian.net web page responsive ? #askfedi #debian #freesoftware

Debian Fast Track is a repository that allows making “backports” of packages available to users of the stable distribution, if those packages cannot be maintained in testing and backported in the usual way.

This service was started originally to provide #gitlab packages and now include other software like #VirtualBox. Hosting sponsored by #Infomaniak

Replied in thread

@normplum
#LMDE 6 kernels come from #Debian #Stable which is presently #bookworm 12.6

If you want or need a newer kernel, you can use the #Debian #Backports to get this.

Backports are enabled in #LMDE so you just need to target this within your `apt` command such as with `sudo apt install -t bookworm-backports linux-image-amd64` or similar. This will correctly pull in from backports the other elements.

The advantage of using backports is that they're correctly processed for future upgrades etc.

Linux-Distributionen verwenden üblicherweise nicht den aktuellen "offiziellen" Kernel, sondern suchen einmal eine Version aus und pflegen diese dann mehr oder weniger in Eigenregie weiter. Das soll eigentlich für weniger (vor allem sicherheitsrelevante) Fehler sorgen, tut aber wohl eher das Gegenteil:
ciq.com/whitepaper/vendor-kern
#linux #backports

CIQCIQ | Vendor Kernels, Bugs and StabilityIntroduction Linux vendor kernels are currently created by taking a frozen snapshot of a specific linux release associated with a git reference or git tag, and then back-porting selected fixes as the…