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
Merge pull request #39 from xcrsz/patch-1
Fix CONFIG_DIR to check system-wide location first
Add 5k resolution support for XF86Config.amdgpu
Fix CONFIG_DIR to check system-wide location first
The CONFIG_DIR was hardcoded to "$SCRIPT_DIR/cardDetect", causing the
script to look for configuration templates in /usr/local/bin/cardDetect
when installed via the port, rather than the correct system-wide location
at /usr/local/etc/X11/cardDetect.
This change updates the CONFIG_DIR initialization to:
1. Check /usr/local/etc/X11/cardDetect first (system-wide installation)
2. Fall back to $SCRIPT_DIR/cardDetect (development/portable usage)
This matches the documented dual-location behavior in README.md and
ensures the script works correctly when installed via the x11/xconfig
port, which installs config templates to /usr/local/etc/X11/cardDetect
per the Makefile.
The script now functions correctly in both scenarios:
- Production: Installed via pkg/port with configs in /usr/local/etc/X11
- Development: Run in-tree with configs in ./cardDetect
[2 lines not shown]Merge pull request #38 from xcrsz/patch-2
Update xconfig to support Kavari (Radeon R5).
Merge branch 'master' into patch-2
Merge pull request #37 from xcrsz/patch-1
Create XF86Config.kaveri
Add support for Kaveri (Radeon R5)
Create XF86Config.kaveri
Update XF86Config.radeonkms