Merge pull request #57 from b-aaz/imprv
General improvements to XConfig (Focused on FB drivers and QEMU/KVM).
Skiped configurations for QXL, improved FB setup.
The QXL/SPICE X drivers have had known issues (segfaults) both on
X.Org/XLibre and Linux/BSD/..., this change makes XConfig skip that
driver and use the basic FB ones instead.
I've also simplified the setup of the frame-buffer drivers, removing the
unnecessary and restrictive (in terms of available modes) SCFB X Server
config. With these new changes when no other driver is setup, instead of
defaulting only to SCFB, which is not available on non UEFI systems,
XConfig keeps both the VESA and SCFB drivers installed, and lets the
server arbitrate between them based on their availability.
Merge pull request #55 from ghostbsd/update-drivers
Update RADEON and NVIDIA driver support
Remove support for NVIDIA 304 driver
- Delete NVIDIA 304 driver detection, setup, and menu options
- Simplify legacy driver handling by focusing on supported versions
Update RADEON and NVIDIA driver support
- Add support for NVIDIA 580 driver detection and installation
- Refactor `RADEON_DEVICE` IDs for improved AMD GPU compatibility
- Update menu options and helper functions to include NVIDIA 580
Merge pull request #54 from ghostbsd/nvidia
Fixed GPU detection logic
Fixed GPU detection logic
Merge pull request #53 from ghostbsd/scfb
Add remove_scfb and remove_vesa and refactor cleanup functions
Add remove_scfb and remove_vesa and refactor cleanup functions
Add remove_scfb() and remove_vesa() to uninstall xf86-video-scfb and
xf86-video-vesa when a proper driver is configured. Call them in
cmd_auto() for all GPU and VM detections, except hyperv and bhyve which
use the scfb driver internally.
Rename all cleanup_* functions to remove_* and drop template file
deletion, limiting them to package removal only. Remove cleanup_hyperv
and cleanup_bhyve as they had no packages to remove.
Merge pull request #52 from ghostbsd/cleanup
Improve VM guest setup and cleanup workflows
Split VMware package removal into separate commands in `cleanup_vmware` function.
Improve VM guest setup and cleanup workflows
- Add explicit cleanup functions for VirtualBox, VMware, QEMU, Hyper-V, and bhyve.
- Integrate cleanup steps for unused drivers and configurations in hypervisor detection flow.
- Update QEMU configuration to use `qxl` driver instead of `cirrus`.
- Enhance VMware and QEMU setup with additional service handling and device detection logic.
Merge pull request #51 from ghostbsd/update-radeon
Update legacy Radeon device IDs in `RADEON_DEVICE` configuration
Update legacy Radeon device IDs in `RADEON_DEVICE` configuration
Merge pull request #50 from ghostbsd/vbox-revert
Revert "Remove VirtualBox service automation from `setup_virtualbox`"
Revert "Remove VirtualBox service automation from `setup_virtualbox`"
This reverts commit 198c353bad70bd368d416154c6d1ad8114feebf1.
Merge pull request #49 from ghostbsd/rc
Add rc.d script for xconfig with X11 auto-configuration
Merge pull request #48 from ghostbsd/vbox-cleanup
Remove VirtualBox service automation from `setup_virtualbox`
Remove VirtualBox service automation from `setup_virtualbox`
- Removed calls to `enable_rc_conf` and `start_service_safe` for `vboxguest` and `vboxservice` within `setup_virtualbox`.
Not supported with Xlibre at this moment.
Add rc.d script for xconfig with X11 auto-configuration
Merge pull request #47 from ghostbsd/issue#318
Restore driver detection and X server configuration functionality
Restore driver detection and X server configuration functionality
Restore comprehensive video driver detection and setup logic to xconfig,
enabling automatic X11 configuration for diverse hardware platforms.
Driver Detection Improvements:
- Add NVIDIA GPU detection with version-specific driver selection
* Latest driver (580) for RTX 40/50 series and Ada Generation cards
* 470 driver for RTX 20/30 series and Pascal/Turing cards
* 390 driver for GTX 600-900 series and Kepler/Maxwell cards
* 340 driver for GTX 200-500 series and Tesla/Fermi cards
* 304 driver for GeForce 6/7/8/9 series legacy cards
- Add AMD Radeon device ID database for radeonkms vs amdgpu selection
* 400+ legacy Radeon device IDs requiring radeonkms driver
* Automatic amdgpu selection for newer cards (Polaris+)
Configuration Management:
- Add comprehensive function documentation to all 50 functions
[28 lines not shown]Add comprehensive function documentation to xconfig
Add documentation headers to all 50 functions in bin/xconfig to improve
code maintainability and developer onboarding. Each function now includes:
- Function name and description
- Parameter specifications with detailed explanations
- Return value documentation
- Practical usage examples
This documentation follows shell script conventions with headers positioned
above function definitions.
Key improvements:
- Hardware detection functions (GPU, VM, driver version selection)
- Configuration functions (DRM, legacy drivers, NVIDIA, virtualization)
- Helper functions (rc.conf management, package installation, backup)
- Dialog/menu functions (bsddialog/dialog integration)
- Main entry points (cmd_auto, cmd_debug, interactive menu)
[13 lines not shown]Merge pull request #45 from ghostbsd/virtualbox
Add rc.conf management helpers and VirtualBox service automation
Add rc.conf management helpers and VirtualBox service automation
- Introduced `rc_conf_has`, `enable_rc_conf`, and `start_service_safe` functions for streamlined rc.conf management.
- Automated enabling and starting of VirtualBox-related services (`vboxguest` and `vboxservice`).
Merge pull request #42 from pgsdf/patch-2
Add bhyve support
Merge pull request #41 from pgsdf/patch-1
Create XF86Config.bhyve
Update xconfig
Add support for bhyve
Create XF86Config.bhyve
Merge pull request #40 from xcrsz/patch-2
Add 5k resolution support for XF86Config.amdgpu