Mageia Bugzilla – Attachment 6376 Details for
Bug 15493
Graphics goes crazy when changing color depth on Broadwell-U
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
default to 24bpp for Intel
0002-default-to-24bpp-for-intel-mga-15493.patch (text/plain), 1.05 KB, created by
Thierry Vignaud
on 2015-04-27 14:11:14 CEST
(
hide
)
Description:
default to 24bpp for Intel
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-04-27 14:11:14 CEST
Size:
1.05 KB
patch
obsolete
>From 92802ee5d24270b50bcd6e7e1709e1895ffc6f1a Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Thu, 16 Apr 2015 07:00:26 -0400 >Subject: [PATCH 2/2] default to 24bpp for intel (mga#15493) > >--- > NEWS | 2 ++ > lib/Xconfig/resolution_and_depth.pm | 2 ++ > 2 files changed, 4 insertions(+) > >diff --git a/NEWS b/NEWS >index b3838c0..49612d9 100644 >--- a/NEWS >+++ b/NEWS >@@ -1,3 +1,5 @@ >+- default to 24bpp for intel (mga#15493) >+ > Version 1.7 - 13 April 2015 > > - do not propose to test modesetting in stage2 (mga#15687) >diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm >index 06662ce..fcb4e57 100644 >--- a/lib/Xconfig/resolution_and_depth.pm >+++ b/lib/Xconfig/resolution_and_depth.pm >@@ -68,6 +68,8 @@ sub allowed { > } elsif ($card->{use_DRI_GLX}) { > $prefered_depth = 24; > @depths = (16, 24); >+ # many Intel gfx chips broke with 16bpp: >+ @depths = reverse(@depth) if $card->{Driver} eq 'intel'; > } else { > @depths = our @depths_available; > } >-- >2.3.2 >
From 92802ee5d24270b50bcd6e7e1709e1895ffc6f1a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Thu, 16 Apr 2015 07:00:26 -0400 Subject: [PATCH 2/2] default to 24bpp for intel (mga#15493) --- NEWS | 2 ++ lib/Xconfig/resolution_and_depth.pm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index b3838c0..49612d9 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- default to 24bpp for intel (mga#15493) + Version 1.7 - 13 April 2015 - do not propose to test modesetting in stage2 (mga#15687) diff --git a/lib/Xconfig/resolution_and_depth.pm b/lib/Xconfig/resolution_and_depth.pm index 06662ce..fcb4e57 100644 --- a/lib/Xconfig/resolution_and_depth.pm +++ b/lib/Xconfig/resolution_and_depth.pm @@ -68,6 +68,8 @@ sub allowed { } elsif ($card->{use_DRI_GLX}) { $prefered_depth = 24; @depths = (16, 24); + # many Intel gfx chips broke with 16bpp: + @depths = reverse(@depth) if $card->{Driver} eq 'intel'; } else { @depths = our @depths_available; } -- 2.3.2
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15493
:
6067
|
6068
|
6292
| 6376 |
6377
|
6378