More verbose and thorough checks for gfx switching

- Small fixes
- Cleanup bios help
- g-sync warnings on toggling
This commit is contained in:
Luke D Jones
2021-03-11 10:53:01 +13:00
parent 90b0fc434d
commit fba5f26f7e
11 changed files with 206 additions and 85 deletions
+1 -2
View File
@@ -111,8 +111,7 @@ fn start_daemon() -> Result<(), Box<dyn Error>> {
if let Ok(ded) = CtrlRogBios::get_gfx_mode() {
if let Ok(vendor) = ctrl.get_gfx_mode() {
if ded == 1 && vendor != GfxVendors::Nvidia {
error!("Dedicated GFX toggle is on but driver mode is not nvidia \nSetting to nvidia driver mode");
error!("You must reboot to enable Nvidia driver");
warn!("Dedicated GFX toggle is on but driver mode is not nvidia \nSetting to nvidia driver mode");
ctrl.do_vendor_tasks(GfxVendors::Nvidia)?;
} else if ded == 0 {
info!("Dedicated GFX toggle is off");