Mailinglist Archive: opensuse-factory (468 mails)

< Previous Next >
Re: [opensuse-factory] Bumblebee up for grabs
Am 2020-04-10 16:24, schrieb Mathias Homann:
Am Freitag, 10. April 2020, 15:07:29 CEST schrieb Stefan Dirsch:


Nothing is safe nowadays. I won't fix your messed up system later. ;-)

see, this is why my / is on LVM.


ok so here is what I did now:

1. create LVM snapshot of my root partition

2. add the 15.1 repo of X11:Xorg with prio 98, to make sure everything
from there always overrides stuff from the main repo

3. run "zypper dup -l --allow-vendor-change --allow-arch-change
--recommends"

4. run "LANG=CTYPE zypper search -si -t package | grep '\''(System
Packages)'\''| cut -d '\''|'\'' -f 2,4|sed '\''s/ *| /-/g'\''|xargs -r
zypper rm -u" which basically finds all packages that are not available
in repos anymore, and offers to remove them

5. install and configure suse-prime

6. select intel: sudo /usr/sbin/prime-select intel

7. create /usr/bin/prime-run with this content:

#!/bin/bash
# for prime render offloading
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
$@

now offloading works, and I can either just pass the variables on the
commandline or use prime-run the way I used to use primusrun in the
past.

Gonna observe the behaviour for a bit, and then maybe delete the
snapshots in a week or so.

cheers
MH


--
Mathias Homann
Mathias.Homann@xxxxxxxxxxxx
telegram: https://telegram.me/lemmy98
irc: [lemmy] on freenode and ircnet
obs: lemmy04
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >