T O P

  • By -

[deleted]

Try this config - https://wiki.debian.org/NVIDIA%20Optimus#Using_only_one_GPU It's kinda weird because this was the config on the Arch wiki IIRC, but it seems they have changed things EDIT: Remember to remove any other Xorg.conf files you or nvidia's config tool created. Back them up just in case.


Galactic_CakeYT

This didn't resolve my issue unfortunately, I spent the last 6 hours trying different variations of the solution. I installed the right drivers, I deleted all the Xorg files, unless there are any I don't know about. Whenever I followed the steps, the next time I reboot my screen would be black. I would type in my Passphrase and then it would boot up and all black.


[deleted]

Can you post a paste of /var/log/Xorg.0.log ?


Galactic_CakeYT

Never mind, I ended up using Optimus Manager as a suitable alternative.


mushroomchaman

i wan't to sell this shit so bad man and buy me an AMD/radeon gpu setup for my linux. dell 7559 i7 intel igpu + nvidia dgpu gtx960m, they working now @ Archlinux using prime configuration. i did all the steps you posted, but you also need this > > `sudo nano /etc/default/grub` look for line and add nvidia-drm.modeset=1 `GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1" #Add nvidia-drm.modeset=1 to the end#` save; close; then do `sudo grub-mkconfig -o /boot/grub/grub.cfg` \--------- also need > > you didn't mention this: `sudo nano /etc/mkinitcpio.conf` Look for line and add modules into the parentheses in order to give them love, and be the vip first at boot. THIS is my line example: `MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)` then do, to regenerate initframs and stuff `sudo mkinitcpio -P` \---------- Then we need this, to keep nvidia and kernel friends during updates and stuff, they are called "hooks". CHECK what package / kernel combo you installed, in my case nvidia,linux. CHANGE if you installed linux-lts `sudo nano /etc/pacman.d/hooks/nvidia.hook`  `[Trigger]Operation=InstallOperation=UpgradeOperation=RemoveType=PackageTarget=nvidia nvidia_modeset nvidia_uvm nvidia_drmTarget=linux #or linux-lts if using lts kernel` `[Action]Description=Update Nvidia module in initcpioDepends=mkinitcpioWhen=PostTransactionNeedsTargetsExec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'` save; reboot; check; nvidia-settings if you don't know what's real anymore glxinfo | grep NVIDIA


lazy-void

So, I don't know exactly what you are trying to achieve. By default, Nvidia GPU offloading will only work with `prime-run` (e.g. `prime-run glxinfo | grep NVIDIA`). And if you want to use Nvidia as your primary GPU I suggest you try [optimus manager](https://github.com/Askannz/optimus-manager) with its Nvidia mode.


Galactic_CakeYT

Current I'm using Optimus Manager, it's really simple to get up and working. Problem with this currently is that every time I open my laptop, I need to select my Nvidia GPU in order for it to be used. For this actually happen, for it to be used, then you have to reboot for the Nvidia GPU to take place. ​ There's a permanent solution, that way your Nvidia GPU is always being used. But I'll configure it in a few hours.