You are not logged in.

#1 2016-01-23 11:27:26

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Arch + NVIDIA + grsecurity

Hey there,

I am running Archlinux with an Intel GPU + NVIDIA GPU (bumblebee setup) and installed linux-grsec. The Archwiki says that for some nvidia modules a patched linux-grsec-nvidia might be need (which comes from the AUR but I would like to stay with a grsec kernel vom the official repo's). Is there a way to get NVIDIA running with linux-grsec as it is? E.g. by creating exceptions for NVIDIA?

E.g. I get the following errors:

sneida@_____:~$ primusrun screenfetch
[[ ! ]] modprobe: FATAL: Module nvidia not found in directory /lib/modules/4.3.3.201601192226-1-grsec
                   -`
                  .o+`                 sneida@_____
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 4.3.3.201601192226-1-grsec
               `+oooooo:               Uptime: 14m
               -+oooooo+:              Packages: 883
             `/:-:++oooo+:             Shell: bash 4.3.42
            `/++++/+++++++:            Resolution: 3200x1800
           `/++++++++++++++:           DE: Gnome 
          `/+++ooooooooooooo/`         WM: GNOME Shell
         ./ooosssso++osssssso+`        WM Theme: Adwaita
        .oossssso-````/ossssss+`       GTK Theme: Numix [GTK2/3]
       -osssssso.      :ssssssso.      Icon Theme: Numix-Circle
      :osssssss/        osssso+++.     Font: Cantarell 11
     /ossssssss/        +ssssooo/-     CPU: Intel Core i7-4702HQ CPU @ 3.2GHz
   `/ossssso+/:-        -:/+osssso+-   RAM: 1190MiB / 15952MiB
  `+sso+:-`                 `.-/+oso: 
 `++:.                           `-/+/
 .`                                 `/
sneida@_____:~$ optirun screenfetch
[  879.366993] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[  879.367050] [ERROR]Aborting because fallback start is disabled.

Thanks !

Last edited by Utini (2016-01-23 11:28:52)


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#2 2016-01-26 08:58:39

LukynZ
Member
From: Ostrava, Czech Republic
Registered: 2008-11-13
Posts: 125

Re: Arch + NVIDIA + grsecurity

What's wrong with nvidia-gsrec? It can be used with linux-grsec from repo

Offline

#3 2016-01-27 23:34:34

Utini
Member
Registered: 2015-09-28
Posts: 481
Website

Re: Arch + NVIDIA + grsecurity

LukynZ wrote:

What's wrong with nvidia-gsrec? It can be used with linux-grsec from repo

I would prefer staying away from the AUR as much as possible and using mainly the official repo's.

But it seems like there is no way around nvidia-grsec? hmm


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

Board footer

Powered by FluxBB