I'm running 14.04 on an ASUS UX303UB which features that ever so troublesome dual GPU thingy, with 'Sky Lake Integrated Graphics' for discrete graphics and 'GM108M [GeForce 940M]' for performance graphics.
I've had a very similar laptop, UX303LN, which featured the very same graphics setup but it used a Intel Broadwell architecture where this new one features a Sky Lake architecture.
Having read a bit on the subject, it seems these new architecture wasn't supported before linux 4.3, and was now improved on 4.4.
I'm now running the latest possible kernel (Linux ux303 4.4.4-040404-generic #201603031931 SMP Fri Mar 4 00:34:16 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux), and installed the latest nvidia graphics 352 (tried both the 352 and 352-updates).
But nvidia-prime won't list any of the GPUs, I know I'm stuck on the Intel discrete GPU (because of performance). Running prime-select query
simply returns unknown
, forcing prime-select nvidia
gives me:
Error: alternatives are not set up properly
Error: nvidia mode can't be enabled
I am completly stuck on this, have tried a number of different things (so many I can't remember which), I was really hoping the 4.4 kernel would get this to work, but no luck. I was using 3.19 kernel before, and I could see the GPUs on nvidia-prime (just couldn't select the NVIDIA card).
Any help, ideas, comments, or more information you can give, or require, please feel free.
Best Answer
Had the same problem with asus 303ub. The solution is to disable secure boot in bios(usually under "security tab"), not sure why it works this way and at the first boot after disabling it I got a "black screen" but it went OK after another reboot. For the reference: Asus 303ub, Nvidia 940m, Ubuntu 16.04,