11/3/2022 0 Comments Co optimus switch![]() ![]() OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 415.27 System Temperatures: cpu: 57.0 C mobo: 27.8 C Size: 931.51 GiB speed: 6.0 Gb/s serial: ID-2: /dev/sda vendor: HGST (Hitachi) model: HTS541010B7E610 Size: 232.89 GiB speed: 31.6 Gb/s lanes: 4 serial: ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 250GB Vendor: ASUSTeK driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 V: kernel bus ID: 00:1f.3 chip ID: 8086:a348ĭevice-1: Intel Wireless-AC 9560 driver: iwlwifi V: 4.5 Mesa 18.3.2 compat-v: 3.0 direct render: Yesĭevice-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCPĪrch: Kaby Lake rev: A L2 cache: 9216 KiBįlags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 53004 UEFI: American Megatrends v: FX504GD.312 date: Mobo: ASUSTeK model: FX504GD v: 1.0 serial: Type: Laptop System: ASUSTeK product: TUF GAMING FX504GD_FX80GD v: 1.0 Each time that I have executed the change, the graphics card in use was stable. To test the stability and reliability of the switch, I have changed graphics modes a number of times. I have had no problems switching between the two modes using it. Co optimus switch free#please feel free to ask any questions or make suggestions. Thanks for reading, the github repo links are below. i may add this functionality as an alternate script for those who want to do it this way. yes, to change modes requires a reboot, this is by intentional design due to finding that switching by logging out and logging in as optimus-manager does it is not stable setup and often causes a lockup or a black screen situation needing a reboot anyway. These commands do not need to be run before each reboot, only when you want to change the default boot mode. the nvidia gpu is disabled/powered-down and removed from sight after reaching graphical.target. When in intel only mode it works as it should when using a non optimus laptop saving a decent amount of power and extending battery life for the times your away from AC power. When in intel/nvidia (prime) mode it is setup the same way 's PRIME tutorial is and allows for the best possible performance using an optimus laptop running linux AFAIK anyway. Sudo set-intel.sh (for intel only mode with nvidia gpu disabled, removed from sysfs) Sudo set-nvidia.sh (for intel/nvidia PRIME) this is now how i currently have 3 separate installs set up (xfce/openbox, kde, gnome) and they are all working great.Īfter setup all thats needed to switch default modes is: I did not make this because other options were not good enough, i made it because i felt like it at the time and was a great learning experience. Yes, im aware optimus-manager does this already but stability and need for replacing key packages for ones from the aur to get it working properly (maybe) are not ideal. My initial goal was to just write a small bash script that would let me easily jump back and forth from using PRIME that i have set up thanks to 's tutorial, and also an intel only setup that completely powers down the nvidia GPU in a way that does not cause lockups, break sleep/suspend cycles, and allows for the very best performance when i want it and the very best battery life when it's needed (not often in my case, but whatever, why not?). An alternative to bumblebee or optimus-manager for those of us who have optimus enabled laptops. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |