• Re: Graphics card switching request

    From Charles Curley@21:1/5 to mar.tchorznicki@gmail.com on Sun Mar 12 19:40:01 2023
    On Sun, 12 Mar 2023 18:44:19 +0100
    Marcin Tchórznicki <mar.tchorznicki@gmail.com> wrote:

    Is there any way under Debian 11 to
    be able to switch between integrated graphics card and Nvidia card ?
    Some games do not work under Linux on the integrated card.

    Several. Your desktop may have something built in. On XFCE, e.g.,
    <right click> -> Applications -> Settings -> Display

    Also look for packages with "randr" in them, e.g.:

    apt-cache search randr

    I use arandr because once you get your screens set up as you like them,
    it will spit out a script for automating the process, which you can then incorporate into the startup process of your desktop.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Felix Miata@21:1/5 to All on Sun Mar 12 21:40:01 2023
    Marcin Tchórznicki composed on 2023-03-12 18:44 (UTC+0100):

    I have installed Debian 11 on my laptop. The computer has an intel
    integrated graphics card and an Nvidia graphics card on board. Debian
    has the nouveau driver. After installing the dedicated Nvidia driver, X server shows an error, no xorg.conf. Is there any way under Debian 11 to
    be able to switch between integrated graphics card and Nvidia card ?
    Some games do not work under Linux on the integrated card. Please help.

    There is no "the" nouveau driver. Each kernel provides a nouveau device module (driver). Next there is a nouveau display driver for X, possibly best handled thus:

    apt purge xserver-xorg-video-nouveau

    This is because it is reverse engineered and old technology. The upstream default,
    newer technology, not separately packaged, display driver modesetting should be (but is not) the only display driver anyone needs. Both nouveau and modesetting should be evaluated on any particular installation, and the better selected for use.

    There's also:
    libdrm-nouveau2: Userspace interface to nouveau-specific kernel DRM services -- runtime

    <https://wiki.debian.org/NVIDIA Optimus> should be the starting point for
    any Debian user with Intel+NVidia graphics hardware that doesn't work OOTB.
    --
    Evolution as taught in public schools is, like religion,
    based on faith, not based on science.

    Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

    Felix Miata

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)