Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove OutputClass for Intel card as it's automatically detected #10
The OutputClass lines are unneeded for Intel cards as X will automatically choose the modesetting driver instead of the intel driver (even when the intel driver is specified) when using a laptop with dual graphics cards.
The problem with leaving the Intel OutputClass lines in is that they force the use of the modesetting driver, even if on a system without an Nvidia card (or, in my case, a multiseat system where the Intel and Nvidia cards drive two separate seats and run on separate X servers), which causes these systems to fall back to software rendering.
This has been tested on my laptop with dual Nvidia/Intel graphics running F25, negativo17.org multimedia, and libglvnd-enabled mesa, and everything works as expected.
This has also been tested on a school multiseat system with Nvidia, AMD and Intel graphics cards. The Nvidia card correctly uses the binary driver, while the other three Intel and AMD cards use the libglvnd-enabled mesa drivers.
Hi, thanks for looking at this, especially considering that the change is unreleased. Actually the idea of putting the Intel section comes from discussion with Hans De Geode:
The basic idea is that by installing the Nvidia driver on an Optimus laptop, hybrid graphics would be set up automatically. As far as I remembered the use of modesetting is not automatic (yet) but I might be wrong.
I'm currently on holiday with limited access, will revert back to this topic in a few days.
Thanks & regards,
I hope you had a great holiday. Sorry for the delay in getting back to you. I've been following Hans' blog as well, and he's doing great stuff.
As I said, I have an Optimus laptop that I'm running with the supplied patch, and the modesetting stuff is automatic (at least with xorg-x11-server-1.19.0-3.fc25, which was just pushed into stable yesterday).
The selecting of the modesetting driver over the intel driver is only done on skylake systems (this is a Fedora specific patch) and then it is done on all systems, not just optimus systems.
We do plan to follow Debian in using the modesetting by default on all but the oldest Intel chipsets for F26, in the mean time the Intel config snippet you suggest to be removed is necessary because using the intel driver on optimus laptops completely breaks things and as said the Fedora pkgs only prefer modesetting over the intel driver for skylake and newer for now.
I can see how this causes an undesirable behavior change for your specific setup. But the modesetting driver is not unaccelerated, it simply uses slightly different acceleration paths. As said it will become the default for Intel gfx on F26+ anyways, so please give it a try and if you're seeing any issues with it file a bug in RH bugzilla and put me in the Cc,