Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nouveau, Optimus and Intel i965 wrongly addresed
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
wpkzz
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2013
Posts: 80

PostPosted: Mon Feb 05, 2018 7:03 pm    Post subject: Nouveau, Optimus and Intel i965 wrongly addresed Reply with quote

Fellow Gentooers:

I have been following in this 5 year old Asus Laptop (N76V) the instruction refered in the pages:
https://nouveau.freedesktop.org/wiki/Optimus/ and http://www.ashmew2.me/#adventures_nvidia,
which are refered in the Hybrid Graphics page of Gentoo Wiki. So I think I have more or less managed to get the
DRI3 setup working, but somethings off and I cannot quite point my finger to it.


My cards are detected as follows:
Code:

monstruona isofiles # lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 635M] (rev a1)


If I used the intel.conf file that ashmew2 suggested, I glxinfo did only detect one of the boards, the Intel one, and I got
around 60fps with gxlgears. But if I skipped that step, I got from
Code:
xrandr --listproviders
did indeed list two cards, as follows:
Code:

karel@monstruona ~ $ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x89 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x62 cap: 0x7, Source Output, Sink Output, Source Offload crtcs: 2 outputs: 1 associated providers: 0 name:nouveau


So, to test them supposedly I had to to run gxlgears specifing the providers as follows:
Code:

DRI_PRIME=<card number> glxgears

for the intel one, the "0" card, I got... 2400fps.
And with the "1" card, which it was meant to be the nvidia 635M, I got 60 fps. So they behave opposite of the expected result.

And that is not it: a lot of programs are giving me complains about a "intel i965" driver, which I do not know. I cannot seem to find that is the one required for my card,
the 3rd Gen Core Processor... nor into
the kernel options. ¿What is that driver and for what is used?

Code:

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
Back to top
View user's profile Send private message
tberger2
n00b
n00b


Joined: 05 Feb 2013
Posts: 69

PostPosted: Wed Feb 07, 2018 6:45 am    Post subject: Reply with quote

try
Code:
xrandr --setprovideroffloadsink 0x62 0x7

and then have a look at
Code:
DRI_PRIME=1 glxinfo | grep "OpenGL renderer"


Do you have
Code:
VIDEO_CARDS="intel i965"

in your
/etc/portage/make.conf
?
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