Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia/Optimus Article outdated - Kernel options gone/moved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
StevenC21
n00b
n00b


Joined: 07 Jun 2018
Posts: 63

PostPosted: Mon Jan 21, 2019 8:04 am    Post subject: Nvidia/Optimus Article outdated - Kernel options gone/moved Reply with quote

As the title suggests, the nvidia optimus article on the Gentoo wiki is outdated.

https://wiki.gentoo.org/wiki/NVIDIA/Optimus#Kernel

Specifically, the "Enable preliminary support for prerelease Intel hardware by default" option no longer exists, at least in my make menuconfig setup. Can someone confirm this is the case?

In addition, what is the equivalent of this, as I absolutely require that option to be on if I want a GUI with the proprietary driver, which is also required for my PC.

Hope this was clear enough, but if not, I can provide more info.

Hope that the title didn't seem clickbait-y, I definitely didn't want it to seem that way, but at the same time this is a fairly big deal in my humble opinion, assuming the wiki is actually outdated in this crucial area, and its not a quirk of my installation.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Mon Jan 21, 2019 12:50 pm    Post subject: Reply with quote

StevenC21,
Its in my 4.20.0 kernel.

Code:
  │ │              < > Intel 8xx/9xx/G3x/G4x/HD Graphics                                               │ │ 
  │ │              - -   Enable alpha quality support for new Intel hardware by default                │ │ 
  │ │              - -   Enable capturing GPU state following a hang                                   │ │ 
  │ │              - -     Compress GPU error state                                                    │ │ 
  │ │              - -   Always enable userptr support                                                 │ │ 
  │ │              - -   Enable Intel GVT-g graphics virtualization host support                       │ │ 
  │ │              - -     Enable KVM/VFIO support for Intel GVT-g                                     │ │ 
  │ │                    drm/i915 Debugging  ----                                                      │ │ 

Its flagged as hidden/unselectable there - I don't use it.

The help says
Code:
│   Depends on: HAS_IOMEM [=y] && DRM_I915 [=n]
so it will be hidden until you turn on DRM_I915.

Press 'z' to toggle the display of hidden options. You can then search for them and jump to them.
You still can't select them but you can read the help to check the Depends on:, which will tell you why.

The wiki is a community effort at documentation. Feel free to contribute.
If you are not sure of the changes you would like to make, make an entry on the Talk page.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
StevenC21
n00b
n00b


Joined: 07 Jun 2018
Posts: 63

PostPosted: Mon Jan 21, 2019 6:42 pm    Post subject: Reply with quote

I'm sorry Neddy, but I don't see the option in your list either?

I'm not talking about the DRM option. I mean the suboption on that page, which doesn't exist, even in hidden options.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43184
Location: 56N 3W

PostPosted: Mon Jan 21, 2019 6:52 pm    Post subject: Reply with quote

StevenC21,

Oops. I read it as
Code:
Enable alpha quality support for new Intel hardware by default


It looks like it was renamed in the 4.10 kernel.
CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT is found in Linux kernels: 3.13–3.19, 4.0–4.9
CONFIG_DRM_I915_ALPHA_SUPPORT is found in Linux kernels: 4.10–4.20, 5.0-rc+HEAD

I suspect that
Code:
Enable alpha quality support for new Intel hardware by default
does what you want unless you are trying to build old software that needs <=kernel-4.10

Give it a try. Then fix the wiki if it works.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum