Skip to content

Instantly share code, notes, and snippets.

View mkopec's full-sized avatar
🤔

Michał Kopeć mkopec

🤔
  • Poland
  • 07:10 (UTC +02:00)
View GitHub Profile
[Unit]
Description=GPU Switcher
After=systemd-user-sessions.service plymouth-quit.service
Before=display-manager.service
[Service]
ExecStart=/usr/local/bin/autogpuswitch.sh
Restart=no
Type=oneshot
RemainAfterExit=yes
#!/usr/bin/bash
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# You would have to create an xorg.conf file for your Nvidia setup #
# before using this script! It can be done by running: #
# #
# nvidia-xconfig -o /etc/X11/xorg.conf.nvidia #
# #
# Make sure your system has eGPU connected and a monitor plugged into the GPU. #
# The reason I've never automated this is that you have to have it all plugged #
@TomCan
TomCan / gist:9644966
Last active May 2, 2024 16:09
Inject drivers in Windows installation after motherboard change
Today, after working with Windows for over 15 years now, I finally came across the solution to the
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the
harddrive to another computer, or after doing a P2V, or after ... you get the point.
Requirements:
- Windows install / boot CD
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller
Steps:
- extract all the drivers to a USB thumb drive