Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up intel iGPU on optimus laptop
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
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Mon Dec 24, 2018 1:47 pm    Post subject: Setting up intel iGPU on optimus laptop Reply with quote

Following this guide https://wiki.gentoo.org/wiki/Intel ,

Will the /etc/X11/xorg.conf.d/20-intel.conf file as given on that page have any conflict with my 10-nvidia.conf? (I am currently only using nvidia. I am trying to set up bumblebee. For bumblebee I am setting up my intel iGPU)


Last edited by reikdas on Mon Dec 31, 2018 10:26 am; edited 2 times in total
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Fri Dec 28, 2018 7:27 am    Post subject: Reply with quote

Having those config files with nvidia enabled creates all sorts of issues.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Tue Jan 08, 2019 2:15 pm    Post subject: Reply with quote

I decided to give this another go since I am connecting to my external monitor using my thunderbolt port.

I set up the Modesetting driver following this - https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX
Removing the nvidia.conf file did not let me start my external monitor. The external monitor worked when I had both the nvidia.conf as well as the modesetting.conf files present.

Is there a way to check if my external monitor starts solely on the Intel iGPU? (If not, no point setting up Bumblebee)
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 144
Location: Michigan

PostPosted: Tue Jan 08, 2019 2:51 pm    Post subject: Reply with quote

reikdas wrote:
I decided to give this another go since I am connecting to my external monitor using my thunderbolt port.

I set up the Modesetting driver following this - https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX
Removing the nvidia.conf file did not let me start my external monitor. The external monitor worked when I had both the nvidia.conf as well as the modesetting.conf files present.

Is there a way to check if my external monitor starts solely on the Intel iGPU? (If not, no point setting up Bumblebee)


if your goal is to always have both cards on, then i think your doing it the proper way? id just stay on https://wiki.gentoo.org/wiki/NVIDIA/Optimus and if it works.. then its working lol

i have no idea how optimus laptops work on linux without bumblebee(the gpu being off letting my system idle 20-30 degrees cooler is a must for me), id have no way to tell if this program is using this card or this screen or if this card is just running but not actually functioning and all you see is actually the intel

you could 'nvidia-smi' but, if the driver is always running without bumblebee telling it to shut off, i guess you still wont be able to tell if its actually being used.

you probably want to set up bumblebee anyway, otherwise your nvidia card is just going to be running constantly for no reason(unless this behavior has changed in 4 years with the nvidia driver)
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Tue Jan 08, 2019 2:59 pm    Post subject: Reply with quote

sao98021 wrote:
reikdas wrote:
I decided to give this another go since I am connecting to my external monitor using my thunderbolt port.

I set up the Modesetting driver following this - https://wiki.gentoo.org/wiki/Intel#Modesetting_DDX
Removing the nvidia.conf file did not let me start my external monitor. The external monitor worked when I had both the nvidia.conf as well as the modesetting.conf files present.

Is there a way to check if my external monitor starts solely on the Intel iGPU? (If not, no point setting up Bumblebee)


if your goal is to always have both cards on, then i think your doing it the proper way? id just stay on https://wiki.gentoo.org/wiki/NVIDIA/Optimus and if it works.. then its working lol

i have no idea how optimus laptops work on linux without bumblebee(the gpu being off letting my system idle 20-30 degrees cooler is a must for me), id have no way to tell if this program is using this card or this screen or if this card is just running but not actually functioning and all you see is actually the intel

you could 'nvidia-smi' but, if the driver is always running without bumblebee telling it to shut off, i guess you still wont be able to tell if its actually being used.

you probably want to set up bumblebee anyway, otherwise your nvidia card is just going to be running constantly for no reason(unless this behavior has changed in 4 years with the nvidia driver)


The goal is to use the Intel iGPU regularly and the Nvidia GPU when required. So I am trying to set up Bumblebee.
I often work with an external monitor connected to my laptop.
I need to check if both my monitors work solely on the Intel iGPU because if they don't, and I am using bumblebee, the external monitor will turn off the moment I switch to the Intel iGPU.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 144
Location: Michigan

PostPosted: Tue Jan 08, 2019 3:01 pm    Post subject: Reply with quote

reikdas wrote:

I need to check if both my monitors work solely on the Intel iGPU because if they don't, and I am using bumblebee, the external monitor will turn off the moment I switch to the Intel iGPU.


this may be because this a thunderbolt port, instead of hdmi/vga

i think whats going on here is where the port is wired through the nvidia chip

https://github.com/Bumblebee-Project/Bumblebee/wiki/Multi-monitor-setup


dumb question, but try another port if there is one available.


Last edited by sao98021 on Tue Jan 08, 2019 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Tue Jan 08, 2019 3:08 pm    Post subject: Reply with quote

sao98021 wrote:
reikdas wrote:

I need to check if both my monitors work solely on the Intel iGPU because if they don't, and I am using bumblebee, the external monitor will turn off the moment I switch to the Intel iGPU.


this may be because this a thunderbolt port, instead of hdmi/vga


My intel card does not have access to my HDMI port.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 144
Location: Michigan

PostPosted: Tue Jan 08, 2019 3:24 pm    Post subject: Reply with quote

reikdas wrote:
sao98021 wrote:
reikdas wrote:

I need to check if both my monitors work solely on the Intel iGPU because if they don't, and I am using bumblebee, the external monitor will turn off the moment I switch to the Intel iGPU.


this may be because this a thunderbolt port, instead of hdmi/vga


My intel card does not have access to my HDMI port.


Code:

Wow, interesting.  Even on systems that have dGPUs but where the Intel GPU is physically wired to all display outputs, including the built-in panel -- which is the typical configuration outside of gaming systems -- the dGPU can still kick in as needed thanks to NVIDIA Optimus technology.  The reason that wiring everything to the Intel GPU is the standard practice is that it minimizes battery consumption, since it means the dGPU only runs an actual workload demands it, rather than having to run whenever you happen to have a display connected a certain way.


unless your absolutely positive, apparently they have been wiring everything to the onboard for quite some time
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Tue Jan 08, 2019 4:26 pm    Post subject: Reply with quote

sao98021 wrote:
reikdas wrote:
sao98021 wrote:
reikdas wrote:

I need to check if both my monitors work solely on the Intel iGPU because if they don't, and I am using bumblebee, the external monitor will turn off the moment I switch to the Intel iGPU.


this may be because this a thunderbolt port, instead of hdmi/vga


My intel card does not have access to my HDMI port.


Code:

Wow, interesting.  Even on systems that have dGPUs but where the Intel GPU is physically wired to all display outputs, including the built-in panel -- which is the typical configuration outside of gaming systems -- the dGPU can still kick in as needed thanks to NVIDIA Optimus technology.  The reason that wiring everything to the Intel GPU is the standard practice is that it minimizes battery consumption, since it means the dGPU only runs an actual workload demands it, rather than having to run whenever you happen to have a display connected a certain way.


unless your absolutely positive, apparently they have been wiring everything to the onboard for quite some time


Yup I am positive my Intel card does not have access to my HDMI port. I keep reading that on the MSI subreddit and also the arch wiki page on my laptop - https://wiki.archlinux.org/index.php/MSI_GS65
Interestingly, https://wiki.archlinux.org/index.php/MSI_GS65#Multihead was updated on 13th December 2018, and apparently my Intel GPU does have access to the thunderbolt port. So.. yay :)
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Tue Jan 08, 2019 7:00 pm    Post subject: Reply with quote

reikdas wrote:
Interestingly, https://wiki.archlinux.org/index.php/MSI_GS65#Multihead was updated on 13th December 2018, and apparently my Intel GPU does have access to the thunderbolt port. So.. yay :)

I wonder if there is a way to verify this.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
Back to top
View user's profile Send private message
reikdas
Apprentice
Apprentice


Joined: 27 Nov 2018
Posts: 238

PostPosted: Wed Jan 09, 2019 12:44 pm    Post subject: Reply with quote

I removed nvidia completely. The external monitor did not work.

If I use 20-intel.conf, I get horrible glitches.
20-modesetting.conf works.
_________________
[19:18] <@NeddySeagoon> Gentoo has an installer. Just like other distros. Go to the bathroom, look in the mirror. You will see the Gentoo installer :)
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