Skip to content
This repository has been archived by the owner on Jun 6, 2018. It is now read-only.

Update OSS drivers to a config-free setup #8

Merged
merged 8 commits into from
Jun 15, 2017
Merged

Update OSS drivers to a config-free setup #8

merged 8 commits into from
Jun 15, 2017

Conversation

philmmanjaro
Copy link
Member

For the OSS-graphicsdrivers (intel,radeon,amdgpu,noveau) I suggest to switch to a config-free setup. Xorg (and wayland) is able to detect the drivers by themself. It is also more flexible in case of new hardware, because no hardcoded PCI slots or anything like this.

For hybrid systems we should phase out bumblebee where we're able to (I dont know how the situation is with Nvidia blob).

Mesa Prime should work much better without configuration files. It will use the graphicschip, that is either set as main in BIOS/UEFI or attached to the main screen, as main graphics chip by default. Now the user can switch to the dedicated graphicscard with DRI_PRIME=1 . GNOME seems to have this already integrated in the DE itself.

@philmmanjaro
Copy link
Member Author

This code is now in our unstable branch. Feedback is welcome.

BuildTools added 2 commits May 29, 2017 23:15
…t if it exists, to make it easier to switch to radeon
… an exception for intel-nouveau, because the propritary driver is much better, also changed to versions to todays date
@fabiscafe
Copy link
Contributor

@philmmanjaro
For the installer images, will mhwd also use the higher priorities or is there some kind of config for it? I've changed the priority mostly for this usercase, so that -prime can be used in the next preview release by default.

@philmmanjaro
Copy link
Member Author

Always the highest number of profiles will be used in automatic-config of mhwd. I've now uploaded the latest changes to unstable.

@philmmanjaro
Copy link
Member Author

philmmanjaro commented Jun 4, 2017

@Tids: seems we got some kind of regression report already. Hope we get more information about it soon.

MHWDCONFLICTS="video-intel video-nouveau video-nvidia video-nvidia-304xx video-nvidia-340xx video-hybrid-intel-nvidia-bumblebee video-hybrid-intel-nvidia-340xx-bumblebee"

# Dependencies
DEPENDS="xf86-video-intel xf86-video-nouveau vulkan-intel vulkan-radeon libva-mesa-driver libva-vdpau-driver mesa-vdpau"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it here needs vulkan-radeon? Is it a typo?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ourg. Yes. Of course this one is not needed in there.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the typo then? For testing it, it shouldn't matter for pre6 ...

@philmmanjaro
Copy link
Member Author

@Tids: can you test v17.0.2-pre6 to verify all changes made?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants