Arch Linux on Optimus enabled laptop?
I have the Asus ROG 750Jz with GTX880m and I tried every "solution" I can find in the Archwiki, and it's seriously frustrating... I use AntergOS, the drivers installed are the nouveau opensource and mesa-libgl... these work with the integrated graphics and the nvidia one is totally ignored I tried installing the nvidia drivers and nvidia-libgl but every time I do that I get a black screen upon boot with a curser and that's it.. I can go to the terminal, log in and replace the nvidia-libgl with mesa-libgl and it works like a charm... with the integrated graphics I tried black listing the integrated graphics and got the same issue (with both nvidia-libgl & mesa-libgl)
And yea, bumblebee did not work at all too...
so back to my original question... Has anyone actually managed to get optimus or just the dedicated gpu working on a laptop?, because I can't figure it out for the life of me and I could use some help if someone knows how
About this post
- Posted
- Archived
- Score
- 21 · 100% up
- Kind
- Text
- ID
- 4c2cro
23 comments
Bumblebee working ONLY with NVIDIA non-free drivers. Since major changes in NVIDIA drivers (new modules) bumblebee need be patched for bbswitch handling
nvidia-modeset. Grab ready up PKGBUILDs from my repo: https://github.com/FadeMind/archpkgbuilds/tree/master/AUR/nvidia-optimusSee table for details.
I have a Sager NP8651/Clevo P650SE with 4th gen Intel and a Nvidia 750m in it running Arch. It works in a bumblebee/Optimus setup with very little fight, though that isn't entirely ideal in the best case. I'd love it if Nvidia got their shit together with PRIME, but they haven't yet.
The only serious problem I have with the Nvidia card is it will often turn itself on when the machine is asleep, causing it to drain the battery and warm up in the bag, which is apparently a known problem with the model.
I do also have trouble with the card not turning off since nvidia keeps changing the set of modules and bumblebeed hard-codes the rmmod, I use a little script like
For reference, my related package set looks like,
Omg. I have the exact same machine and the exact same issue. I actually think I will try and return it or sell it because of this. Shame because its a great machine otherwise.
Eh, I'm pretty pleased with it overall. It put up a little fight about getting sound working, and I had to replace a couple of the little triangular rubber feets with better glue, but on the scale of laptop problems, those are pretty minor.
With the GPU power problem, it boots as fast as it resumes (my root partition is on a decent card in one of the m.2 slots), so if I'm worried about it draining the battery I just shut it down. I expect it will eventually be sorted by software updates.
Try my solution down here: https://www.reddit.com/r/archlinux/comments/4c2cro/arch_linux_on_optimus_enabled_laptop/d1emk44
Yes. I run bumblebee just fine, however I use the nvidia drivers not the foss ones.
Have you ran into problems with Firefox becoming laggy? What's your conf file look like?
I'm running into issues with mine. I'm not even sure how bumblebee works. Does it pull conf files from Xorg? Do you need Xorg installed or does bumblee take its place?
I don't typically run ff through bumblebee, but have for a few websites that try to use webgl. Mixed results with that. As far as config, I just followed whatever instructions were on the wiki. If there is a specific file you want me to check I can post its contents.
Oh man. New Metabox (Clevo) N150RF, GTX965M Ti.
First Arch install: No luck running anything with Bumblebee. Many errors trying to launch Steam games, or just no response. Hosed my system numerous times during the learning process. Gave up.
Jumped to Ubuntu Gnome. I eventually got everything working on Nvidia only. I should have stayed there. But I'd still been reading about Arch installs in the meantime, and realised I may not have done everything correctly. I was getting jack of PPAs already, so...
Second Arch install. Followed the Bumblebee page on archwiki verbatim. Steam games are great on Intel, and those requiring Nvidia must be launched with:
LD_PRELOAD=/usr/lib/nvidia/libGL.so optirun %command%But they all run at 10fps. Some more poking and prodding, another install hosed. I give up.
How did did you do that? I can't login when I switch to nvidia on Ubuntu Gnome.
I also can't get bumblebee to work on Ubuntu Gnome. Under Unity it works.
Oh man, I wish I remembered. I'm on Xubuntu now, running on Intel. If I manage to switch to perma-Nvidia again I will report back. This will happen when my fragile mind is prepared for another hosed system.
Deleted before we saved it.
I used antergOS myself and i had alot of problems with my nvidia drivers at the time. (Steam just kept spewing opengl errors) I would try to install arch with the wiki or architect linux (arch gui installer) and see if you get it working there.
bumblebee only works with the proprietary drivers. Also, last time I checked, re-clocking was only reliable with the proprietary drivers for any reasonably new card too, so performance with the nouveau drivers might be pretty bad anyway (not positive this is still true as there has been recent progress.)
To use "optimus" with nouveau, I believe you would use PRIME (Also here for a little more detail) As of the latest driver, Nvidia's proprietary driver also has initial KMS support and PRIME support, so it may be able to be used this way as well.
Right now though I've got the proprietary drivers and bumblebee working fine, so I haven't tried out prime.
Having a similar problem. I'm not able to use nouveau drivers with my Dell XPS 15 9550. I'm able to run optirun glxspheres64 and it generates a 3d image but Firefox scrolling is laggy as fuck. I'm using nvidia and I'm not even sure if I configured it correctly.
I get the black screen and cursor as well. Try deleting your conf files in /etc/X11/ I THINK it's supposed to pull the confs from /etc/bumblebee but I still don't have a full grasp on it.
Been working on this for weeks.
I've won this struggle already so just listen to me )) First of all, optimus laptop works flawlessly with intel only, while nvidia optimus support breaks sometimes. So, you need TWO archlinux installations with common /boot and /home - one for gaming and one for work AND easy troubleshooting problems with first installation.
So if you've got black screen you just reboot to flawlessly working system, mount broken system's root partition somewhere and configure it until it works again.
This is how I made it work.
Next, which nvidia drivers are actually working with optimus? There's issue not with drivers but with Xorg 1.18+ so you'll need Arch Linux Rollback Machine: https://wiki.archlinux.org/index.php/Arch_Linux_Archive
Rollback your system to 01-Nov-2015 with Xorg 1.17, then add "IgnoreGroup = xorg" to pacman.conf, then update system back. Then configure system as described in optimus archwiki article. Should work.
UPD: As far as I know you can't just switch off integrated GPU, because optimus is a very fucked up technology: laptop screen is connected to integrated GPU and not connected to discrete GPU at all, so all output goes through integrated one. So you need it working in all cases. God bless that motherfuckers allow us to switch off discrete GPU at least.
I got nvidia-prime work well with Ubuntu. And I copied the xorg config file Ubuntu's nvidia-prime generated to my Arch Linux. Works flawlessly
I am using an Alienware M11x with a GT 335m and integrated Intel on Arch without issues. The main thing to remember after installing your nvidia drivers is not use that to run your DE. This means that when the nvidia driver asks you if you want to update your X11 config files just say no. If you are using drivers from the arch repo then you should look up which version of the driver is applicable. A gt880m should not be in legacy yet.
You fucked up fam