Mageia Bugzilla – Attachment 2362 Details for
Bug 5315
Samsung external monitor proper resolution not recognized
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
try even harder to get EDID
5315-edid.diff (text/plain), 696 bytes, created by
Thierry Vignaud
on 2012-05-23 17:28:14 CEST
(
hide
)
Description:
try even harder to get EDID
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2012-05-23 17:28:14 CEST
Size:
696 bytes
patch
obsolete
>diff --git a/perl-install/any.pm b/perl-install/any.pm >index 021a4b0..23e7b4b 100644 >--- a/perl-install/any.pm >+++ b/perl-install/any.pm >@@ -1406,6 +1406,10 @@ sub monitor_full_edid() { > run_program::raw({ timeout => 20 }, > 'monitor-edid', '>', \$edid, '2>', \$vbe, > '-v', '--perl', if_($::isStandalone, '--try-in-console')); >+ if ($::isStandalone && $vbe =~ /No monitor range data in EDID/) { >+ run_program::raw({ timeout => 20 }, >+ 'xrandr --prop | monitor-parse-edid -v --perl', '>', \$edid, '2>', \$vbe); >+ } > } > if ($::isInstall) { > foreach (['edid', \$edid], ['vbe', \$vbe]) {
diff --git a/perl-install/any.pm b/perl-install/any.pm index 021a4b0..23e7b4b 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1406,6 +1406,10 @@ sub monitor_full_edid() { run_program::raw({ timeout => 20 }, 'monitor-edid', '>', \$edid, '2>', \$vbe, '-v', '--perl', if_($::isStandalone, '--try-in-console')); + if ($::isStandalone && $vbe =~ /No monitor range data in EDID/) { + run_program::raw({ timeout => 20 }, + 'xrandr --prop | monitor-parse-edid -v --perl', '>', \$edid, '2>', \$vbe); + } } if ($::isInstall) { foreach (['edid', \$edid], ['vbe', \$vbe]) {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 5315
:
1965
|
2174
|
2175
| 2362 |
6613