• Skullgrid@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    27 days ago

    seriously how. I have no idea where the fucking profile configs go, I followed the instructions on the debian wiki and duplicated my login screen in a shittier resolution.

    The best “solution” I have is dumping this into the games command line on steam, but it STILL uses the intel grfx card as well as the nvidia one. playing videos for more than 5 mins overheats the intel processor while the nvidia one does fucking nothing

    __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only

    How the fuck do I use this?

    EDIT : The below doesn’t work.

    I’m thinking about following these instructions to disable a pci device, but i’m scared of bricking this fucking computer (again) and wasting another weekend re-installing the os instead of working on projects

    https://gist.github.com/pjobson/9e5f7349cf4f28bc82f82ea980047778

    I get two fucking folders presented when I scan for the PCI folder :

    lspci
    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
    00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05)
    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
    
    
     ls -la /sys/bus/pci/devices | grep 00:02.0 
    lrwxrwxrwx 1 root root 0 Feb 18 02:53 0000:00:02.0 -> ../../../devices/pci0000:00/0000:00:02.0
    lrwxrwxrwx 1 root root 0 Feb 18 02:53 0000:02:00.0 -> ../../../devices/pci0000:00/0000:00:1c.0/0000:02:00.0
    

    EDIT :

     00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1)
    
    • CalcProgrammer1@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      28 days ago

      I’m not sure on Debian, as Debian tends to sit on old releases of stuff for a long time. On Arch with KDE Plasma Wayland or GNOME Wayland, I just install nvidia-open-dkms and let it do its thing. Vulkan automatically uses the NVIDIA RTX 3070 in my Razer Blade 14 2021, no weird hacks or command line arguments required. Also, NVK is also quite usable, so I have set up rEFInd configs to boot with either NVIDIA driver loaded or nouveau. NVIDIA Settings is an antiquated tool and pretty useless if you’re using Wayland.

      • Skullgrid@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        27 days ago

        this laptop is from 2017/8 so it’s also old AF. I’m not using wayland for as long as I can, as wayland breaks my shit and leaves me mad. X11 on plasma until I upgrade the plasma package… and then we’ll see.

        • CalcProgrammer1@lemmy.today
          link
          fedilink
          English
          arrow-up
          1
          ·
          27 days ago

          Wayland works much better than X11 on all of my systems, it works better for render offloading due to better synchronization and it allows for variable refresh rate and HDR. It did take NVIDIA way too long to implement decent Wayland support though.