Friday, July 12, 2019

drivers - Ubuntu 16.04 keeps using Intel GPU in Optimus System

I know this is a complicated topic but I would like to put my computer working with the ability to change between GPUs. It's a Toshiba satellite with an (originally) Optimus system. It has an Intel core i7 CPU and a NVIDIA GT 740M GPU.
My steps according to some tutorials I found was:





  1. Going to Additional drivers and checking if I was using NVIDIA proprietary drivers. I was. Version 375.39.

  2. After that I installed nvidia-prime and nvidia-375 drivers with:



    sudo apt-get install nvidia-375 nvidia-prime


  3. Rebooting

  4. Choosing NVIDIA in the Prime Profiles in the NVIDIA X SERVER SETTINGS.

  5. Loging out and in.



All worked like a charm. No error messages or anything strange. After that I went to watch a movie and noticed some flickering. So I ran




lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA


to show me which GPU i was using which showed me:



00:02.0 VGA compatible controller [0300]: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])


I don't understand as in NVIDIA X SERVER SETTINGS all seems right telling me I'm using my NVIDIA GPU. But I definitely am not as the screen is flickering with a movie which isn't HD.

Can anyone help?



Notes:
I tried it with a second monitor and without one. All gave the same results. The nvidia app doesn't seem to recognize the second monitor instead preferring to tell me it's using a single monitor with the sum of the resolutions. Don't know if it's relevant.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...