Re: HD+ LED-backlit LCD screen washed out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Sep 2015 09:40:40 -0600
CS DBA wrote:


> Anyone have any ideas how to fix it?

I run this perl script from /etc/X11/xinit/xinitrc.d/ to fix the moronic
default in the Intel video driver that restricts color levels to
"broadcast" standards:

#!/usr/bin/perl
#
# First run xrandr --properties and look for the current setting
# for "Broadcast RGB" on output HDMI2, then set it to Full if it
# isn't already (that at least keeps the flickering to a minimum).
#
my $fd;
my $curout='';
my $curmode='';
if (open($fd, '-|', "/bin/bash -c 'xrandr --verbose'")) {
   while (<$fd>) {
      if (/^(\S+)/) {
         $curout = $1;
      } elsif (($curout eq 'HDMI2') && (/^\s*Broadcast RGB:\s*(\S+)/)) {
         $curmode = $1;
      }
   }
   close($fd);
   if ($curmode ne "Full") {
      system('xrandr', '--output', 'HDMI2', '--set', 'Broadcast RGB', 'Full');
   }
}

Probably 'HDMI2' isn't the output device you'll want, but once you
figure out which device you do want, this may fix your problem.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux