Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check automatic GPU loading in GhostBSD and NomadBSD #5

Closed
probonopd opened this issue Nov 8, 2020 · 4 comments
Closed

Check automatic GPU loading in GhostBSD and NomadBSD #5

probonopd opened this issue Nov 8, 2020 · 4 comments

Comments

@probonopd
Copy link
Member

Check automatic GPU loading in GhostBSD and NomadBSD. Ideally we can boot straight into Xorg without any manual interaction.

@probonopd
Copy link
Member Author

https://github.com/nomadbsd/NomadBSD/blob/master/config/etc/rc.d/initgfx

In the meantime, consider

/usr/sbin/sysrc -f /etc/rc.conf kld_list+="sysctlinfo cuse utouch i915kms" >/dev/null 2>/dev/null

but according to https://github.com/furybsd/furybsd-livecd/issues/151#issuecomment-706781170 this is not a clean future-proof solution.

@probonopd
Copy link
Member Author

Message from drm-fbsd12.0-kmod-4.16.g20200221:

--
The drm-fbsd12.0-kmod port can be enabled for amdgpu (for AMD GPUs starting
with the HD7000 series / Tahiti) or i915kms (for Intel APUs starting with
HD3000 / Sandy Bridge) through kld_list in /etc/rc.conf. radeonkms for older
AMD GPUs can be loaded and there are some positive reports if EFI boot is NOT
enabled (similar to amdgpu).

For amdgpu: kld_list="amdgpu"
For Intel: kld_list="/boot/modules/i915kms.ko"
For radeonkms: kld_list="/boot/modules/radeonkms.ko"

Please ensure that all users requiring graphics are members of the
"video" group.

Older generations are supported by the legacy kms modules (radeonkms /
i915kms) in base or by installing graphics/drm-legacy-kmod.

@probonopd
Copy link
Member Author

So we must detect the GPU and insert the matching one at runtime into overlays/uzip/furybsd-live-settings/files/usr/local/bin/furybsd-init-helper?

@probonopd
Copy link
Member Author

Switched to using initgfx from NomadBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant