My Manjaro build has no GPU support

I am trying to build my own Manjaro iso using buildiso command.
The iso was succesfully built, but when I start it from LiveUSB, the GPU drivers does not work: my desktop has low resolution. If I load the official XFCE iso from manjaro.org, the image is OK.

What should I add or remove to/from Packages-Desktop file? I want to have a universal iso, which can start on every PC, but with some additional software preinstalled and with my own settings.

My current Packages-Desktop: https://paste.manjaro.ru/view/raw/cf768c05

Nothing.

It is the Packages-Mhwd file which is used as driver repo and mhwd is used to actually select the relevant drivers.

Do note that the file is usually a symlink to the iso-profiles/shared/Packages-Mhwd and you should not need to edit the shared file.

Also note the options in in the profiles.conf related to controlling mhwd functionality.

1 Like

There is no Packages-Mhwd file. Only: Packages-Desktop, Packages-Live, Packages-Root, profile.conf, user-repos.conf.

Here is my profile.conf, I have no idea what to edit here:



##########################################

use this file in the profile

##########################################

use multilib packages; x86_64 only

multilib=“true”

displaymanager=“lightdm”

Set to false to disable autologin in the livecd

autologin=“true”

nonfree mhwd drivers

nonfree_mhwd=“true”

use extra packages as defined in pkglist to activate a full profile

extra=“true”

################ install ################

login_shell=/bin/zsh

unset defaults to given value

efi_boot_loader=“grub”

configure calamares for netinstall

netinstall=“false”

configure calamares to use chrootcfg instead of unpackfs

chrootcfg=“false”

configure calamares for mhwd

mhwd_used=“true”

configure calamares for oem

#oem_used=“true”#windowexp=fullscreen

use geoip for localization

geoip=‘true’

unset defaults to given values

names must match systemd service names

enable_systemd=(‘avahi-daemon’ ‘bluetooth’ ‘cronie’ ‘ModemManager’ ‘NetworkManager’ ‘cups’ ‘tlp’ ‘haveged’ ‘ufw’ ‘apparmor’ ‘snapd.apparmor’ ‘snapd’)#enable_systemd=(‘avahi-daemon’ ‘bluetooth’ ‘cronie’ ‘ModemManager’ ‘NetworkManager’ ‘cups’ ‘tlp’ ‘tlp-sleep’ ‘haveged’ ‘ufw’)enable_systemd_timers=(‘fstrim’ ‘pacman-filesdb-refresh’)disable_systemd=(‘pacman-init’)

add strict snaps: strict_snaps=“snapd core core18 gnome-3-28-1804 gtk-common-themes snap-store”

strict_snaps=“”

add classic snaps: classic_snaps=“code”

classic_snaps=“”

choose the snap channel. Possible options are: stable, candidate, beta, edge

snap_channel=“candidate”

the same workgroup name if samba is used

smb_workgroup=“”

################# livecd #################

unset defaults to given value

hostname=“manjaro”

unset defaults to given value

username=“manjaro”

unset defaults to given value

password=“manjaro”

the login shell

defaults to bash

login_shell=/bin/zsh

unset defaults to given values

addgroups=“lp,network,power,wheel”

unset defaults to given values

names must match systemd service names

services in enable_systemd array don’t need to be listed here

enable_systemd_live=(‘manjaro-live’ ‘pacman-init’ ‘mirrors-live’)disable_systemd_live=(‘tlp’ ‘tlp-sleep’)

#custom_boot_args=(‘splash’)

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

That’s why you don’t have drivers. Why did you remove it?

You will have to add - as minimum - xorg-drivers meta package to your Packages-Desktop file.

I copied the Packages-Mhwd from another profile and rebuild the iso. It seems now it successfully starts with an open-source drivers. But still has problems with the proprietary.

The only proprietary driver is the Nvidia driver.

Ensure your clone of the iso-profiles repo is up-to-date by doing a git pull for the repo.

I updated the iso-profiles. What I have now:

Packages-Mhwd: https://paste.manjaro.ru/view/raw/c755e0ae
Profiles.conf: https://paste.manjaro.ru/view/raw/865d4e8f

I start buildiso:

buildiso -f -p xfce -k linux612 -t ~/

Trying to start. If I select the open-source drivers, it starts well, but I can’t use CUDA in Blender, for example. If I select the proprietary driver, it starts with low resolution and still without GPU drivers. In both cases I have ‘A start job is running for LiveMedia Config Script’ during starting LiveUSB for a long time.

It is impossible to suggest where you may be failing.

I suggest you start over with a new clone of the official profiles repo.

Then remember - never modify the default profiles.

Create a custom folder - then copy one of the original profiles - giving it a custom name e.g.

mkdir <profilesdir>/custom
cp -R <profilesdir>/manjaro/xfce <prfilesdir/custom/my-xfce

Then modify the custom profile.

This way you can always make a reference build of the official ISO profile.

Before modding the custom profile, do a test build, run it in a VM to ensure it behaves as expected

buildiso -p my-xfce
2 Likes