Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 695588

Summary: x11-base/xorg-server : switch to modesetting driver for gen4+ Intel GPUs
Product: Gentoo Linux Reporter: Alexander Tsoy <alexander>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: normal CC: grknight
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Tsoy 2019-09-24 20:05:15 UTC
Many distributions already switched to using modesetting driver for gen4+ Intel GPUs by default (e.g. Fedora [1] and Debian/Ubuntu [2]) due to multiple problems in intel ddx. Please consider doing the same in Gentoo.

Personally I was forced to use modesetting driver on one of my Intel systems due to long standing bug [3].

[1] https://src.fedoraproject.org/rpms/xorg-x11-server/blob/master/f/06_use-intel-only-on-pre-gen4.diff
[2] https://salsa.debian.org/xorg-team/xserver/xorg-server/blob/debian-unstable/debian/patches/06_use-intel-only-on-pre-gen4.diff
[3] https://bugs.freedesktop.org/show_bug.cgi?id=88584
Comment 1 Brian Evans (RETIRED) gentoo-dev 2019-09-24 20:11:38 UTC
(In reply to Alexander Tsoy from comment #0)
> Many distributions already switched to using modesetting driver for gen4+
> Intel GPUs by default (e.g. Fedora [1] and Debian/Ubuntu [2]) due to
> multiple problems in intel ddx. Please consider doing the same in Gentoo.
> 
> Personally I was forced to use modesetting driver on one of my Intel systems
> due to long standing bug [3].
> 
> [1]
> https://src.fedoraproject.org/rpms/xorg-x11-server/blob/master/f/06_use-
> intel-only-on-pre-gen4.diff
> [2]
> https://salsa.debian.org/xorg-team/xserver/xorg-server/blob/debian-unstable/
> debian/patches/06_use-intel-only-on-pre-gen4.diff
> [3] https://bugs.freedesktop.org/show_bug.cgi?id=88584

We already do this when VIDEO_CARDS="intel i965" in make.conf

*** This bug has been marked as a duplicate of bug 592026 ***
Comment 2 Matt Turner gentoo-dev 2019-09-24 20:25:10 UTC
What do you propose exactly? Patching xf86-video-intel to only work on Gen < 4?

Using VIDEO_CARDS="intel i965" already does not pull in xf86-video-intel, so you'll get modesetting.

Some people insist (against my suggestions) on using xf86-video-intel.
Comment 3 Alexander Tsoy 2019-09-24 20:33:20 UTC
Oh, I haven't noticed that VIDEO_CARDS="intel i965" doesn't pull in x11-drivers/xf86-video-intel. So maybe it should stay as it is.