Coder Social home page Coder Social logo

displaylink-switch's Introduction

DisplayLink switch

This project was created to simplify switching between ability to use DisplayLink devices and ability to use nvidia gpu on optimus laptops. The problem is that they cannot work together.

To simplify switching, you just install a special systemd unit to your system and add additional entry in your bootloader. So when you are booting, you choose needed mode.

I hope this inconvinience will be fixed and you will be able to use these modes simultaniously.

Installation

For ArchLinux just install dl-switch from AUR and go to step 3.

For other Linux that use systemd, follow these steps (or ask maintainers of your distribution to include package to repository):

  1. Copy file displaylink-workaround1 to /usr/share/X11/xorg.conf.d/
  2. Copy displaylink.target and dl-switch.service to /usr/lib/systemd/system/
  3. Add additional entry in your bootloader config with kernel option to activate displaylink.target. For rEFInd it looks like this:
    submenuentry "Boot with DisplayLink workaround" {
        add_options "systemd.unit=displaylink.target"
    }
    

Usage

When you need usual environment with working optimus, just boot as normal. When you need use several monitors with displaylink device, boot your pc and choose special entry in bootloader.

Licence

This project is licensed under the terms of the GPL license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.