Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Notices by Bernie (codewiz@mstdn.io), page 60

  1. Bernie (codewiz@mstdn.io)'s status on Thursday, 02-Mar-2023 05:03:43 UTC Bernie Bernie

    I'm building #KDE #Plasma 6 from sources, and so far it has been going well ๐Ÿคž

    https://www.phoronix.com/news/KDE-Plasma-Master-Qt6

    In conversation Thursday, 02-Mar-2023 05:03:43 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/951/927/681/011/870/original/c7ba6c1cdd9a22da.png
  2. Bernie (codewiz@mstdn.io)'s status on Tuesday, 28-Feb-2023 15:37:25 UTC Bernie Bernie
    in reply to
    • penguin42

    @penguin42 I just finished watching this fine series of lectures on #Vulkan.

    Episode 6 is specifically about real-time #RayTracing, and explains how shaders are bound to objects in the acceleration structure, one of the concepts I couldn't figure out by looking at the source code of the demos.

    https://www.youtube.com/watch?v=12k_frqw7tM&list=PLmIqTlJ6KsE1Jx5HV4sd2jOe3V1KMHHgn&index=6

    In conversation Tuesday, 28-Feb-2023 15:37:25 UTC from mstdn.io permalink
  3. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 07:12:54 UTC Bernie Bernie
    in reply to
    • Jason Francis

    @jf I just finished reading the blogpost, which seems well written. I've always wondered why libappindciator wasn't deemed good enough.

    Now I know, but I'm not sure why we couldn't address the issues with minor API changes to keep apps working and buy us the time to develop a solid cross-desktop protocol.

    By the way, are the new Background Apps based upon systemd scopes? Do they work with Flatpak apps? Is there a FreeDesktop spec or other design documentation?

    In conversation Monday, 27-Feb-2023 07:12:54 UTC from mstdn.io permalink
  4. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 06:51:42 UTC Bernie Bernie
    in reply to
    • Jason Francis

    Disrupting workflows which are important to a significant share of users undermines their trust. Doing so intentionally is even worse: it gets them *angry* at us developers! By now we should have learned the lesson.

    Apple and Microsoft, while not flawless, have done a better job at retaining their userbase than #GNOME and #KDE historically did.

    That's one reason - perhaps the top reason! - why it's never "the year of linux on the desktop".

    @jf #linux #linuxdesktop

    In conversation Monday, 27-Feb-2023 06:51:42 UTC from mstdn.io permalink
  5. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 06:35:00 UTC Bernie Bernie
    in reply to
    • Jason Francis

    #Wayland took years to reach feature parity with X11, and there are still some rough edges.

    Now suppose this was done without the escape hatch of an X11 session. Users with NVidia cards and users who need specific screen sharing apps would be up in arms.

    @jf

    In conversation Monday, 27-Feb-2023 06:35:00 UTC from mstdn.io permalink
  6. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 06:21:37 UTC Bernie Bernie
    in reply to
    • Jason Francis

    @jf Probably my audio needs are very basic, and were covered when #Pipewire was deemed good enough to replace Pulseaudio in #Fedora.

    No software is perfect, that wasn't my point. I'd call it a smooth transition when 95% of users are happy, and the rest can easily rollback for some time.

    In conversation Monday, 27-Feb-2023 06:21:37 UTC from mstdn.io permalink
  7. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 02:54:40 UTC Bernie Bernie
    in reply to
    • dropbear42 ๐ŸŒˆโ™€:arch: :plasma:
    • Jason Francis

    An example of a smooth transition is Pulseaudio -> Pipewire. Most users didn't even notice ๐Ÿ‘

    An example of a badly managed transition was esound -> Pulseaudio, which broke sound in popular apps and games for multiple years ๐Ÿ˜ฉ

    @jf @dropbear42

    In conversation Monday, 27-Feb-2023 02:54:40 UTC from mstdn.io permalink
  8. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 02:45:18 UTC Bernie Bernie
    in reply to
    • dropbear42 ๐ŸŒˆโ™€:arch: :plasma:
    • Jason Francis

    @jf @dropbear42 No matter how badly designed, before removing an API that many popular apps rely on, you should at least have a replacement already implemented, but #GNOME didn't even have a design.

    This forced Ubuntu and other downstream distros to come up with *something* to keep the UX from breaking.

    Good developers don't merely design good APIs. They also design a smooth transition between old and new APIs.

    In conversation Monday, 27-Feb-2023 02:45:18 UTC from mstdn.io permalink
  9. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 01:47:12 UTC Bernie Bernie
    in reply to
    • Christian Horn
    • dropbear42 ๐ŸŒˆโ™€:arch: :plasma:

    The Linux desktop needs a well-designed model for managed apps, but it's taking longer than expected.

    Android, iOS, macOS and even Windows have mature app stores with sandboxing, automatic updates, APIs for resource access and for requesting permissions.

    Linux has two competing standards (#Flatpak and #Snap) and multiple barely-working GUI installers: Gnome Software, Ubuntu Software Center, Plasma Discover. If you tried searching for apps, you know exactly what I mean.

    @dropbear42 @globalc

    In conversation Monday, 27-Feb-2023 01:47:12 UTC from mstdn.io permalink
  10. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 01:37:28 UTC Bernie Bernie
    in reply to
    • Christian Horn
    • dropbear42 ๐ŸŒˆโ™€:arch: :plasma:

    @dropbear42 @globalc I agree that the decision to kill the system tray was premature, causing years of user suffering.

    Years later, #GNOME 44 is partially filling this gap with the introduction of "background apps":
    https://linuxiac.com/gnome-background-apps/

    #LinuxDesktop #linux

    In conversation Monday, 27-Feb-2023 01:37:28 UTC from mstdn.io permalink

    Attachments


    1. Invalid filename.
  11. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 01:24:36 UTC Bernie Bernie
    in reply to
    • Charlie Balogh

    Found a copy online, it was in the Hardware Reference Manual:
    http://www.theflatnet.de/pub/cbm/amiga/AmigaDevDocs/hard_7.html

    ยซFive possible positions can be chosen for each of the two "playfield fingers." For example, you can place playfield 1 on top of sprites 0 and 1 (0), between sprites 0 and 1 and sprites 2 and 3 (1), between sprites 2 and 3 and sprites 4 and 5 (2), between sprites 4 and 5 and sprites 6 and 7 (3), or beneath sprites 6 and 7 (4). You have the same possibilities for playfield 2.ยป

    @chainq #amiga #retrocomputing

    In conversation Monday, 27-Feb-2023 01:24:36 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/934/080/014/019/666/original/ce7491a91729b818.png
    2. No result found on File_thumbnail lookup.
      Hardware
  12. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 01:19:33 UTC Bernie Bernie
    in reply to
    • Charlie Balogh

    @chainq I also spotted a set of #Amiga ROM Kernel Reference Manuals.

    They were incredibly well written and beautifully typeset. Could you post a few diagrams from the Graphics and Intuition sections?

    I remember one in which they used the fingers of two stylized hands to illustrate the relative priority of sprite groups versus bitplanes in dual-playfield mode.

    #retrocomputing #amigaos

    In conversation Monday, 27-Feb-2023 01:19:33 UTC from mstdn.io permalink
  13. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 01:03:30 UTC Bernie Bernie
    in reply to
    • penguin42

    The more advanced technique is used in the screenshot at the beginning of this thread: Ray Tracing Pipelines.

    This extension is present in #Mesa, but still flag-guarded for the RADV driver. It crashed my RDNA3 card until last week ๐Ÿ˜…

    AFAICT, the #Vulkan RT pipeline takes away control of the core algorithm, calling shaders attached to surfaces in the scene when they're hit.

    This diagram shows that ray generation is still performed by a user-defined shader:

    @penguin42

    In conversation Monday, 27-Feb-2023 01:03:30 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/933/979/179/916/586/original/216efd1f512cdba7.png
  14. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 00:45:58 UTC Bernie Bernie
    in reply to
    • penguin42

    The vendor-neutral ray tracing acceleration emerges from the composition of several building blocks, such as VK_KHR_ray_query:
    https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_ray_query.html

    You can guess from the number of contributors that standardization took considerable effort. The API must support a variety of use-cases, including hybrid rendering.

    Ray queries are the simplest of two available techniques, in which SPIRV shaders can cast arbitrary rays and get back a (distance sorted?) list of hits.

    @penguin42

    In conversation Monday, 27-Feb-2023 00:45:58 UTC from mstdn.io permalink

    Attachments


  15. Bernie (codewiz@mstdn.io)'s status on Monday, 27-Feb-2023 00:19:22 UTC Bernie Bernie
    in reply to
    • penguin42

    Enter the #Vulkan #RayTracing spec, which was finalized over 2 years ago.

    Like OpenGL, Vulkan evolves by means of vendor extensions which get then standardized and, later, incorporated into the core API.

    https://www.khronos.org/blog/vulkan-ray-tracing-final-specification-release

    @penguin42

    In conversation Monday, 27-Feb-2023 00:19:22 UTC from mstdn.io permalink
  16. Bernie (codewiz@mstdn.io)'s status on Sunday, 26-Feb-2023 23:28:34 UTC Bernie Bernie
    in reply to
    • penguin42

    The first step to understanding real-time #RayTracing involves a leap to #Vulkan, which generalizes the old #OpenGL rendering model to enable building parallel, multi-pass pipelines using low-level primitives such as command buffers, queues, etc.

    I've been reading a few introductory guides, and this is the official one:
    https://github.com/KhronosGroup/Vulkan-Guide

    @penguin42

    In conversation Sunday, 26-Feb-2023 23:28:34 UTC from mstdn.io permalink

    Attachments


  17. Bernie (codewiz@mstdn.io)'s status on Sunday, 26-Feb-2023 22:59:09 UTC Bernie Bernie
    in reply to
    • penguin42

    With this, we reached the boundaries of my hands-on knowledge of #GPU accelerated rendering.

    This is a little program I wrote a few years ago to learn the basics of GLSL shaders:
    https://github.com/codewiz/mandelwow

    (it's also the very first code I wrote in #Rust, please forgive the poor style).

    @penguin42

    In conversation Sunday, 26-Feb-2023 22:59:09 UTC from mstdn.io permalink

    Attachments


    1. https://media.mstdn.io/mstdn-media/media_attachments/files/109/933/491/697/697/465/original/28de4d726c69f439.png

  18. Bernie (codewiz@mstdn.io)'s status on Sunday, 26-Feb-2023 22:50:43 UTC Bernie Bernie
    in reply to
    • penguin42

    Back to the hardware RT: for a long time, GPUs could dispatch the parallel execution of short functions (historically called shaders). Each instance gets constants such as texture data and variables such as transformed coordinates. The output of these functions can be used to paint pixels on the screen or intermediate buffers.

    @penguin42

    In conversation Sunday, 26-Feb-2023 22:50:43 UTC from mstdn.io permalink
  19. Bernie (codewiz@mstdn.io)'s status on Sunday, 26-Feb-2023 22:41:12 UTC Bernie Bernie
    in reply to
    • penguin42

    Some old RT algorithms switched the two nested loops: the outer loop iterates over each triangle in the scene, and the inner one tests for intersections with screen pixels.

    The advantage is that you only need to consider the pixels within the projection of the triangle.

    You can also completely cull triangles completely occluded by other triangles in front of them.

    I don't know whether this improved algorithm is actually a win for scenes with millions of triangles.

    @penguin42

    In conversation Sunday, 26-Feb-2023 22:41:12 UTC from mstdn.io permalink
  20. Bernie (codewiz@mstdn.io)'s status on Sunday, 26-Feb-2023 22:29:31 UTC Bernie Bernie
    in reply to
    • penguin42

    @penguin42 The schoolbook #RayTracing algorithm has uneven per pixel workload, making parallelization ontothousands of compute units inefficient.

    Furthermore, computing the intersections requires access to the entire scene. Efficient data structures tend to be trees of bounding boxes, with recursive lookups.

    In conversation Sunday, 26-Feb-2023 22:29:31 UTC from mstdn.io permalink
  • After
  • Before

User actions

    Bernie

    Bernie

    ๐Ÿ‡ฎ๐Ÿ‡น โ†’ ๐Ÿ‡บ๐Ÿ‡ธ โ†’ ๐Ÿ‡ฏ๐Ÿ‡ต โ†’ ๐Ÿ‡น๐Ÿ‡ญ โ†’ ๐Ÿš€Nomadic Linux developer, currently in Los Angeles.#linux #rust #anime #spacex #cycling #travel #vegan #retrocomputing #amiga #fedi22๐‘จ๐‘ด๐‘ฐ๐‘ฎ๐‘จ :amiga:

    Tags
    • (None)
    WebSub
    Pending
    ActivityPub
    Remote Profile

    Following 0

      Followers 1

      • Galip (Inactive)

      Groups 0

        Statistics

        User ID
        7840
        Member since
        27 Jan 2018
        Notices
        6555
        Daily average
        2

        Feeds

        • Atom
        • Help
        • About
        • FAQ
        • Privacy
        • Source
        • Version
        • Contact

        Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

        Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.