Mageia Bugzilla – Attachment 6378 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]
also default to 24bpp in test (b/c of automatic)
24.diff (text/plain), 661 bytes, created by
Thierry Vignaud
on 2015-04-27 15:42:18 CEST
(
hide
)
Description:
also default to 24bpp in test (b/c of automatic)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2015-04-27 15:42:18 CEST
Size:
661 bytes
patch
obsolete
>diff -up ./Xconfig/resolution_and_depth.pm.tv ./Xconfig/resolution_and_depth.pm >--- ./Xconfig/resolution_and_depth.pm.tv 2015-04-27 09:15:47.260507982 -0400 >+++ ./Xconfig/resolution_and_depth.pm 2015-04-27 09:37:27.230195759 -0400 >@@ -322,7 +326,7 @@ sub filter_on_ratio { > sub choose_gtk { > my ($in, $card, $default_resolution, @resolutions) = @_; > >- my $chosen_Depth = $default_resolution->{Depth}; >+ my $chosen_Depth = $default_resolution->{Depth} || 24; > my $chosen_res = { X => $default_resolution->{X} || 1024, Y => $default_resolution->{Y} }; > my $chosen_ratio = Xconfig::xfree::resolution2ratio($chosen_res, 'non-strict') || '4/3'; >
diff -up ./Xconfig/resolution_and_depth.pm.tv ./Xconfig/resolution_and_depth.pm --- ./Xconfig/resolution_and_depth.pm.tv 2015-04-27 09:15:47.260507982 -0400 +++ ./Xconfig/resolution_and_depth.pm 2015-04-27 09:37:27.230195759 -0400 @@ -322,7 +326,7 @@ sub filter_on_ratio { sub choose_gtk { my ($in, $card, $default_resolution, @resolutions) = @_; - my $chosen_Depth = $default_resolution->{Depth}; + my $chosen_Depth = $default_resolution->{Depth} || 24; my $chosen_res = { X => $default_resolution->{X} || 1024, Y => $default_resolution->{Y} }; my $chosen_ratio = Xconfig::xfree::resolution2ratio($chosen_res, 'non-strict') || '4/3';
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15493
:
6067
|
6068
|
6292
|
6376
|
6377
| 6378