Skip to content

GUI Unstable in Ubuntu 24.04.3LTS (Wayland) but OK in 22.4.05LTS (X11)? #796

Open

Description

@mbennette68

I'm trying to run DrRacket Version 8 and 9 in Ubuntu 24.04.3LTS (Wayland) via apt/snap/flatpak via the systems respective package managers. The flatpak version of DrRacket takes more than a minute to open up then it is very slow to respond. The snap and apt versions of the app seem to partially works, but takes over 20 seconds to close after I click the close button, as it does not really respond to clicks. I've tried to use the terminal to run it as follows but it still behaves buggy.

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia drracket -singleInstance

SPECS:

Hardware Information:

Hardware Model: Acer Predator Helios
Graphics 1: SHOULD BE --> Nvdia GeForce RTX 2060 (discrete GPU)
nvidia-smi: Driver Version: 580.126.09 but GPU not listed as shown below:

Image

It seems to be more stable in an older version of Ubuntu (22.04)

Image

In the newer version, it takes over 20 seconds for the quit confirmation dialogue to come up.
At other times it just quits on its own.

Image

Moving the mouse in and out of the Choose Language alters the dialog design as shown below:
Image

Is Wayland an issue for DrRacket?

Thank you,
MB

Activity

  1. jestarray commented on Feb 14, 2026

    @jestarray

    I'm running drracket/racket v9 on wayland with sway on archlinux(nvidia 3070) and it's working fine

    In the newer version, it takes over 20 seconds for the quit confirmation dialogue to come up.

    I think this might be a problem with GTK or the wayland configuration of sorts? It's likely drracket is running on xwayland and not native, so I'd check xwayland configuration

  2. soegaard commented on Feb 14, 2026

    @soegaard
    Member

    The flatpak version of DrRacket takes more than a minute to open up ...

    This is not normal. The usual solution is to run raco setup.
    This compiles all installed packages including DrRacket.

  3. spdegabrielle commented on Feb 14, 2026

    @spdegabrielle
    SponsorMember

    @mbennette68 Would you be willing to try the latest stable built packages installer from https://download.racket-lang.org/ ?

    https://download.racket-lang.org/releases/9.0/installers/racket-9.0-src-builtpkgs.tgz

    This would be helpful in determining if both the startup speed and the GUI problem is an issue in Racket and/or DrRacket or if it is a problem with the versions distributed via flatpack/snap

  4. mbennette68 commented on Feb 14, 2026

    @mbennette68
    Author

    @mbennette68 Would you be willing to try the latest stable built packages installer from https://download.racket-lang.org/ ?

    https://download.racket-lang.org/releases/9.0/installers/racket-9.0-src-builtpkgs.tgz

    Ok, I installed the following package: racket-9.0-x86_64-linux-buster-cs.sh to a local directory then updated the path in ~/.bashrc. I also moved the drracket.desktop & slideshow.desktop files to ~/.local/share/applications

    I tried the following tests:

    • Click the icon to start DrRacket, and was able to successfully close it down via the X button before adding anything into the Definitions Window.
    • Added something to Definitions Window then clicked Run. This caused the gui to misbehave, essentially takes longer for it to close, sometimes the Close Confirmation Dialog comes up.

    I attached the following video (clean close + slow close), but not all errors showed up. It seems to have issues when there is something in the Definitions Window. I'll try to download the source file that was suggested sometime today or tomorrow, but I need instructions on how to compile it or install it.

    VIDEO:
    https://bruh-clips.com/clips/9b8ff007 (will be deleted after two days)

    Thank you,
    MB

  5. mbennette68 commented on Feb 14, 2026

    @mbennette68
    Author

    I'll try to download the source file that was suggested sometime today or tomorrow, but I need instructions on how to compile it or install it.

    Ok, so I downloaded the suggested file: racket-9.0-src-builtpkgs

    Got the same issues on my Ubuntu 24.04.3 LTS. Perhaps my installation is corrupted because
    on my Ubuntu 22.04.5 LTS inside Virt-Manager, DrRacket works just fine.

    Image

    extracted it as shown:

    Image

    and used Package Manager to update the sources but nothing changed as shown below:

    Image

    Thank you,
    MB

  6. soegaard commented on Feb 15, 2026

    @soegaard
    Member

    I watched the video. The only thing I noticed as odd, was that the memory limit was 128MB.
    Try to remove the limit. It's in the menu "Racket" under the menu item "Limit memory ...".

    It's probably something else - but still worth a try.

  7. mbennette68 commented on Feb 15, 2026

    @mbennette68
    Author

    I watched the video. The only thing I noticed as odd, was that the memory limit was 128MB. Try to remove the limit. It's in the menu "Racket" under the menu item "Limit memory ...".

    It's probably something else - but still worth a try.

    Hello,

    I tried that, the GUI does not respond even with unlimited memory.
    I noticed that the Quit Dialog box gets stuck behind the main DrRacket IDE window.
    When I try to locate it, bring it to the front it cannot be fully resized, stays partially drawn.
    I tested it a few times, but on the last test, it crashed by itself. It also crashes if it thinks that
    there is unsafe work that needs to be recovered. I try to delete or recover the lost work, but
    the system just hangs and or crashes by itself. When it does this, I notice that a file titled,
    '#mredauto#1#' gets deposited in my home directory. Also, the Menu items become
    unresponsive. It's probably just my system that's somehow corrupted.

    Image

    Thanks,
    MB

  8. LiberalArtist commented on Feb 15, 2026

    @LiberalArtist
    Contributor

    and used Package Manager to update the sources but nothing changed as shown below

    The “Package Manager” dialog in DrRacket is for updating packages within a Racket installation, not for installing a different version of Racket itself.

    Also, the “Unix Source with Built Packages” tarball needs to be compiled with ./configure && make before it can be used.

    I think it is very likely that your installation may be corrupted somehow. As suggested above, running raco setup with no arguments can fix some problems. If you have multiple installations of Racket on your system, do make sure that the raco command you run is part of the same installation as the drracket command that your .desktop file is using.

    If that doesn't solve your problem, we can help you find more details about your installation.

  9. mbennette68 commented on Feb 15, 2026

    @mbennette68
    Author

    raco setup

    I tried using raco setup but behavior does not change. When the Definitions Window is populated with code and I click the X to close, the Warning for unclosed file comes up, but it hides behind the main IDE window for around 10 seconds, becoming hard to bring forward. So perhaps the OS installation seems to be an issue as well.

    Image *************************************************************************************

    ./configure --prefix=/home/user1/Development/Apps/racket
    make
    make install

    After removing the old racket folder, I have used the above commands to compile & install the application in a specific location as shown:

    Image ************************************************************************************

    When I try to run drracket from the terminal, I get the error:

    drracket
    open-input-file: cannot open module file
    module path: racket/runtime-config
    path: /home/user1/.local/share/Trash/files/racket-9.0-src-builtpkgs/racket-9.0/share/pkgs/compatibility-lib/racket/runtime-config.rkt
    system error: no such file or directory; rkt_err=3

    For some reason, it's looking at Trash folder. With that being said, running racket actually works
    in the terminal.

    Image

    After that, I ran raco setup and then I got:

    Image

    It appears to be looking for the collects folder in /home/user1/.local/share/racket/9.0/collects
    which I assume is the collects folder inside the actual install directory specified by --prefix.

    Thank you,
    MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions