Configuration Files - ewagner12/all-ways-egpu GitHub Wiki
The following notes on configuration files applies to versions 0.40.0+:
Configuration File Structure:
There are 2 files that determine the GPU configuration used by the script:
The file: egpu-bus-ids
contains PCIe Bus IDs of eGPU to set as the primary GPU.
The file: user-bus-ids
contains PCIe Bus IDs of iGPU to be disabled when using Method 1.
Each line in the file corresponds to a single PCIe device and has the following layout:
dddd:bb:ee.f driver
Where “dddd:bb:ee.f” is the PCIe Bus ID in hex and “driver” is the driver used by the device. The domain ("dddd") is typically 0000 on most systems.
Configuration File Locations:
On a default installation and setup on a “normal” system with a read-write /usr directory, the configuration files are located in the directory:
/usr/share/all-ways-egpu
The GPU configuration from these files is used when the script is run the system or by the user.
You can specifically setup and configure these files using the command: all-ways-egpu setup --system
If installed using the user-install method on a system where /usr is read-only (such as Steam Deck), configuration files will be located in the directory: /home/$USER/.config/all-ways-egpu
The GPU configuration from these files is used only when the script is run by the user, thus the script is not run by the system at boot up when installed in this way.
This configuration supersedes any configuration files in /usr/share/all-ways-egpu
.
You can specifically setup these files using the command: all-ways-egpu setup --user
This could also be used to setup per user configurations if one user prefers to use the eGPU as primary, but another prefers to use the iGPU.