[VMware issue] Calamares doesn't launch in Garuda Sway

Hello Everyone,

I am running Garuda linux with Sway WM on VMware live system, everything works fine on live but when I try to install Calamares wont launch.

Here is the screenshot when I launch calamares via terminal for some output.

Are you trying to install while in a VM?
From the downloads page:
“Our distro is optimized for performance on real hardware. Installing in virtual machines is not recommended as it may result in a bad experience due to the missing graphics acceleration.”
Looks like there is a Qt Wayland protocol related error, so it might be due to the VM as well.

If you have issues installing on real hardware, I would list the specific ISO name and somebody could chime in that would have more info than I would.

5 Likes

A lot of the terminal output is missing from your screenshot (it only shows the last forty or so lines). Instead of a screenshot, copy and paste the terminal output into the thread and format it as a code block.

How did you launch Calamares? With Sway, to launch GUI applications as root you need to preserve some of the environment variables from the user session.

Easy way:

sudo -E calamares
2 Likes

hi,

or try this as a tipp from @SGS

This is not a problem solution, but only a more concentrated output of the installation process as a log file.

Kindly provided by @ dalto

1 Like
10:20:56 [6]: Calamares::Settings::Settings(const QString&, bool)
    Using Calamares settings file at "/etc/calamares/settings.conf" 
    .. Required settings.conf key hide-back-and-next-during-exec is missing. 
10:20:56 [6]: void Logger::setupLogfile()
    Using log file: "/home/garuda/.cache/calamares/session.log" 
10:20:56 [6]: void CalamaresApplication::init()
    Calamares version: 3.3.14 
    .. Using Qt version: 6.8.2 
    .. Build type: Release 
    .. Using PyBind11 
    .. Using settings: "/etc/calamares/settings.conf" 
    .. Using log file: "/home/garuda/.cache/calamares/session.log" 
    .. Languages: QList("ar", "as", "ast", "az", "az_AZ", "be", "bg", "bn", "ca", "ca@valencia", "cs_CZ", "da", "de", "el", "en", "en_GB", "eo", "es", "es_AR", "es_MX", "et", "eu", "fa", "fi_FI", "fr", "fur", "gl", "he", "hi", "hr", "hu", "id", "is", "it_IT", "ja", "ka", "ko", "lt", "ml", "mr", "nb", "nl", "oc", "pl", "pt_BR", "pt_PT", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sr@latin", "sv", "tg", "th", "tr_TR", "uk", "vi", "zh_CN", "zh_TW") 
10:20:56 [6]: bool Calamares::initQmlModulesDir()
    Using Calamares QML directory "/usr/share/calamares/qml" 
10:20:56 [6]: Calamares::Branding::Branding(const QString&, QObject*, qreal)
    Using Calamares branding file at "/usr/share/calamares/branding/garuda/branding.desc" 
10:20:56 [2]: void Calamares::flavorAndSide(const YAML::Node&, const char*, Branding::PanelFlavor&, Branding::PanelSide&)
    WARNING: Branding setting for sidebar is missing, using "widget" "left" 
10:20:56 [2]: void Calamares::flavorAndSide(const YAML::Node&, const char*, Branding::PanelFlavor&, Branding::PanelSide&)
    WARNING: Branding setting for navigation is missing, using "widget" "bottom" 
10:20:56 [2]: Calamares::Branding::Branding(const QString&, QObject*, qreal)
    WARNING: the branding component "/usr/share/calamares/branding/garuda" does not ship translations. 
10:20:56 [6]: Calamares::Branding::Branding(const QString&, QObject*, qreal)
    Loaded branding component "garuda" 
    .. Loaded QRC translation "tz_" "en_US" 
    .. Loaded QRC translation "calamares_" "en_US" 
    .. STARTUP: initSettings, initQmlPath, initBranding done 
    .. STARTUP: initModuleManager: module init started 
10:20:56 [6]: void Calamares::ModuleManager::doInit()
    Found 53 modules 
10:20:56 [6]: void CalamaresApplication::initView()
    STARTUP: initModuleManager: all modules init done 
10:20:56 [6]: void CalamaresApplication::initView()
    STARTUP: initJobQueue done 
10:20:56 [6]: CalamaresWindow::CalamaresWindow(QWidget*)
    Available desktop QSize(1280, 800) minimum size QSize(1024, 520) 
    .. Proposed window size: 1024 664 
10:20:56 [2]: QString Calamares::_stylesheet(const QDir&)
    WARNING: The branding component "/usr/share/calamares/branding/garuda" does not ship stylesheet.qss. 
10:20:56 [6]: void CalamaresApplication::initView()
    STARTUP: CalamaresWindow created; loadModules started 
10:20:56 [6]: void Config::initLanguages()
    Trying to match locale "en_US" 
10:20:56 [6]: void Config::initLanguages()
    Trying to match locale QLocale(English, Latin, United States) 
10:20:56 [6]: void Config::setLocaleIndex(int)
    Index 14 Selected locale "en" 
    .. Loaded QRC translation "tz_" "en" 
    .. Loaded QRC translation "calamares_" "en" 
10:20:56 [8]: INFO (Qt): OpenType support missing for "Noto Sans", script 12
10:20:56 [8]: INFO (Qt): OpenType support missing for "Noto Sans", script 11
10:20:56 [8]: INFO (Qt): OpenType support missing for "Noto Sans", script 19
10:20:56 [8]: INFO (Qt): OpenType support missing for "Noto Sans", script 20
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "welcome@welcome" loading complete. 
10:20:56 [6]: QStringList loadLocales(const QString&)
    Loading locales from "/usr/share/i18n/SUPPORTED" 
    ..  Read 501 lines 
    ..  After filtering 326 lines 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "locale@locale" loading complete. 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "keyboard" found anywhere at 
     "/etc/calamares/modules/keyboard.conf" 
     "/usr/share/calamares/modules/keyboard.conf" 
10:20:56 [6]: KeyboardModelsModel::KeyboardModelsModel(QObject*)
    Loaded 183 keyboard models 
10:20:56 [6]: KeyboardGroupsSwitchersModel::KeyboardGroupsSwitchersModel(QObject*)
    Loaded 45 keyboard groups 
10:20:56 [6]: KeyboardPage::KeyboardPage(Config*, QWidget*)
    Variants now total= 0 selected= -1 
10:20:56 [6]: KeyboardPage::KeyboardPage(Config*, QWidget*)
    Groups now total= 45 selected= -1 
    .. Loaded QRC translation "kb_" "en" 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "keyboard@keyboard" loading complete. 
10:20:56 [6]: Calamares::Partition::InternalManager::InternalManager()
    KPMCore backend starting .. 
10:20:56 [6]: DEBUG (Qt): Loaded backend plugin:  "pmsfdiskbackendplugin"
    .. Backend @0x5ab9717bb700 "pmsfdiskbackendplugin" "1" 
10:20:56 [2]: virtual void PartitionViewStep::setConfigurationMap(const QVariantMap&)
    WARNING: Partition-module setting *defaultPartitionTableType* is unset, will use gpt for efi or msdos for bios 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "partition@partition" loading complete. 
10:20:56 [2]: bool addPasswordCheck(const QString&, const QVariant&, PasswordCheckList&)
    WARNING: nonempty check is ignored; use minLength: 1 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "users@users" loading complete. 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "summary@summary" loading complete. 
10:20:56 [6]: void Calamares::ModuleManager::loadModules()
    Module "partition@partition" already loaded. 
10:20:56 [6]: Calamares::SlideshowQML::SlideshowQML(QWidget*)
    QML import paths: 
     "/usr/share/calamares/qml" 
     "/usr/bin" 
     "qrc:/qt-project.org/imports" 
     "qrc:/qt/qml" 
     "/usr/lib/qt6/qml" 
10:20:56 [2]: virtual void MachineIdJob::setConfigurationMap(const QVariantMap&)
    WARNING: MachineId: configuration setting *symlink* is deprecated, use *dbus-symlink*. 
10:20:56 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "machineid@machineid" loading complete. 
10:20:56 [6]: void Calamares::ModuleManager::loadModules()
    Module "locale@locale" already loaded. 
10:20:56 [6]: void Calamares::ModuleManager::loadModules()
    Module "keyboard@keyboard" already loaded. 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "luksbootkeyfile" found anywhere at 
     "/etc/calamares/modules/luksbootkeyfile.conf" 
     "/usr/share/calamares/modules/luksbootkeyfile.conf" 
10:20:56 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "luksbootkeyfile@luksbootkeyfile" loading complete. 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "fstab" found anywhere at 
     "/etc/calamares/modules/fstab.conf" 
     "/usr/share/calamares/modules/fstab.conf" 
10:20:56 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "dracutlukscfg@dracutlukscfg" loading complete. 
10:20:56 [6]: void Calamares::ModuleManager::loadModules()
    Module "users@users" already loaded. 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "grubcfg" found anywhere at 
     "/etc/calamares/modules/grubcfg.conf" 
     "/usr/share/calamares/modules/grubcfg.conf" 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "postcfg" found anywhere at 
     "/etc/calamares/modules/postcfg.conf" 
     "/usr/share/calamares/modules/postcfg.conf" 
10:20:56 [2]: void Calamares::Module::loadConfigurationFile(const QString&)
    WARNING: No config file for "umount" found anywhere at 
     "/etc/calamares/modules/umount.conf" 
     "/usr/share/calamares/modules/umount.conf" 
10:20:56 [6]: virtual void Calamares::CppJobModule::loadSelf()
    CppJobModule "umount@umount" loading complete. 
10:20:56 [2]: void Config::setConfigurationMap(const QVariantMap&)
    WARNING: Configuring the finished module with deprecated restartNowEnabled settings 
10:20:56 [6]: virtual void Calamares::ViewModule::loadSelf()
    ViewModule "finished@finished" loading complete. 
10:20:56 [6]: setGeoIP(Config*, const QVariantMap&)::<lambda()>
    GeoIP result for welcome= "AU" 
10:20:56 [6]: void setCountry(Config*, const QString&, Calamares::GeoIP::Handler*)
    Unusable country code "AU" 
    .. Obtained from "https://ipapi.co/json"  ( 1 "country" ) 
    .. Loaded QRC translation "kb_" "en" 
10:20:56 [6]: void CalamaresApplication::initViewSteps()
    STARTUP: loadModules for all modules done 
10:20:56 [6]: void Calamares::ModuleManager::checkRequirements()
    Checking module requirements .. 
10:20:56 [6]: void CalamaresApplication::initViewSteps()
    STARTUP: Window now visible and ProgressTreeView populated 
    .. 8 view steps loaded. 
10:20:56 [2]: WARNING (Qt): The Wayland connection experienced a fatal error: Protocol error

above is the output when I run sudo -E calamares -D8 via terminal

This might be the issue since I’m running it on a VM, but I’m also using Arch Linux Sway on the VM and that works perfectly. Shouldn’t Garuda work as well?

From our Homepage


Considerations and recommendations

Dual-booting Garuda Linux may lead to unexpected issues! Be aware that the other OS may change the EFI boot priorities on UEFI or overwrite the bootloader on BIOS systems.

Our distro is optimized for performance on real hardware. Installing in virtual machines is not recommended as it may result in a bad experience due to the missing graphics acceleration.

Try to avoid using Snapd and Flatpak where possible. They are considered unsupported.

Garuda Linux ships an update tool, which we strongly recommend using to run system updates. Running pacman directly is not recommended, as garuda-update was specifically designed to help with common issues on Arch-based distributions.

Read more about the updater to find out what it does

4 Likes

No, of course not–you did not run the Calamares installer on Arch Linux.

Check that 3D accelerated graphics are enabled in VMware settings.

3 Likes

Thanks for the help everyone, appreciate it, probably I will try to install it on hardware.

Is there any other way to install it without using calamares?

Yep, 3D graphics are enabled.

I use VMWare. Let me take a look and see if it works for me.

Yeah. It doesn’t work. Running GUI applications as root under wlroots is a painful experience.

2 Likes

Test installing with something besides VMware, for example Gnome Boxes (or QEMU/libvirt in general) or Virtualbox, to test if this old but still unresolved vmwgfx issue is causing the problem. Failed to close buffer handle in the virtual machine (use vmwgfx) (#3850) · Issues · wlroots / wlroots · GitLab