Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 / fglrx equivalent for "Pixel Format" (ATI CCC)?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Roman2K
n00b
n00b


Joined: 11 Jul 2005
Posts: 53

PostPosted: Sat Mar 19, 2011 4:26 am    Post subject: X11 / fglrx equivalent for "Pixel Format" (ATI CCC Reply with quote

Hi,

I am in the process of switching from Windows to Gentoo Linux as my main OS.

While under Windows, initially I had a problem with my Philips LCD monitor / TV: every 10 to 30 minutes, the screen flashes blank, turns all colors into a mix of pink, green and cyan for a good 5 to 10 minutes, then flashes once again and switches colors back to normal... until the next flash. A right PITA, one of the most frustrating defects I have ever encountered. Other people with AMD graphics cards and Philips TVs have encountered the same issue and posted on forums about it (I don't have the links anymore).

These forums post are where I got a 100% working solution from (under Windows at least): going into the ATI Catalyst Control Center, displaying the list of monitors, editing the Philips one's properties, and switching the "Pixel Format" from the default YCbCr to either "RGB Full (4:4:4)" or "RGB Limited (4:4:4)".

I am now running X11 with AMD's proprietary drivers: "fglrx" (ebuild "ati-drivers"). To my dismay, after this switch, the fix mentioned above not being applied yet, the problem is back and frustration is building up like within the first days of owning that Philips TV.

My problem is: I haven't found how to set the "Pixel Format" to "RGB Full (4:4:4)" (or "Limited") under X11, like I used to do in the ATI Catalyst Control Center under Windows.

Relevant specifications of the computer:

Graphics card: AMD Radeon HD 5970 (reference PCB design)
Monitor (LCD TV): Philips 32PFL7604/H (not sure about the last 3 characters of the model number, sorry)
Setup:
  • One of the two DVI outputs is fitted with AMD's DVI-to-HDMI adapter
  • There's a male-to-male HDMI cable connecting the adapter to the first HDMI input of the monitor / TV
  • The monitor / TV is configured in "PC mode"
cat /etc/X11/xorg.conf:

Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen1" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "extmod"
   Load  "record"
   Load  "dbe"
   Load  "glx"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputClass"
   Identifier      "Keyboard Defaults"
   MatchIsKeyboard "yes"
   Option       "XkbOptions" "terminate:ctrl_alt_bksp"
   Option       "XkbLayout" "fr"
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "PHL"
   ModelName    "Philips FTV"
   DisplaySize  1920   1080
   HorizSync    15.0 - 70.0
   VertRefresh  48.0 - 62.0

   # Attempt 1:
   #
   #Option "TVOutputFormat" "RGB"
       
   Option       "PreferredMode" "1920x1080"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "fglrx"
   Option       "UseFastTLS" "2"
   Option       "TVOverscan" "on"
   BusID       "PCI:8:0:0"
EndSection

Section "Device"
   Identifier  "Card1"
   Driver      "fglrx"
   Option       "UseFastTLS" "2"
   BusID       "PCI:9:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
       
   # Attempt 2:
   #
   #Option      "ColorSpace" "RGB"
   #Option      "ColorRange" "Limited"

   SubSection "Display"
      Viewport   0 0
      Depth     1
   EndSubSection

   # Attempt 3:
   #
   #SubSection "Display"
   #   Viewport   0 0
   #   Weight  4 4 4
   #EndSubSection

   SubSection "Display"
      Viewport   0 0
      Depth     4
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
EndSection


I also had to execute the following command to get rid of the thick black border frame, setting the overscan to 100% / underscan to 0%:
Code:
# aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0

From the results Google yielded during my research, I attempted 3 different configuration changes, each has its own corresponding commented-out block in the xorg.conf contents pasted above -- all failed.

Any help would be greatly appreciated.
Thanks.

Side note: after all these years, I am coming back to Gentoo Linux and am happy to see that the spirit is still the same, the Gentoo-specific tools are all working fantastically and have even improved, nothing has been messed up or bloated with useless stuff, the packages and stages are still being maintained with a whole lot of live mirrors to host them, the documentation is even more complete, and the community is as strong as ever. That's real dedication from fine folks and judging by the results that I can see as a simple average user, it paid off!


Last edited by Roman2K on Tue Mar 22, 2011 12:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman2K
n00b
n00b


Joined: 11 Jul 2005
Posts: 53

PostPosted: Tue Mar 22, 2011 12:46 pm    Post subject: Reply with quote

Bump? :roll:
Back to top
View user's profile Send private message
ppurka
Advocate
Advocate


Joined: 26 Dec 2004
Posts: 3047

PostPosted: Tue Mar 22, 2011 1:59 pm    Post subject: Reply with quote

You probably need to determine how to provide a custom edid to the fglrx driver. Under nvidia this is easy, via teh CustomEDID xorg.conf option. I am not sure what this option is called (or if it is even present) under the fglrx or other opensource ati drivers.
_________________
emerge --quiet redefined | E17 vids: I, II
Back to top
View user's profile Send private message
Roman2K
n00b
n00b


Joined: 11 Jul 2005
Posts: 53

PostPosted: Tue Mar 22, 2011 2:02 pm    Post subject: Reply with quote

ppurka wrote:
You probably need to determine how to provide a custom edid to the fglrx driver. Under nvidia this is easy, via teh CustomEDID xorg.conf option. I am not sure what this option is called (or if it is even present) under the fglrx or other opensource ati drivers.

Ha, that sounds like a good pointer, thanks! I will look into that and report back.
Back to top
View user's profile Send private message
dekeonus
n00b
n00b


Joined: 14 Mar 2005
Posts: 7

PostPosted: Fri Apr 08, 2011 9:20 pm    Post subject: Reply with quote

fglrx seems to ignore any CustomEDID setting (or custom resolution)
the opensource radeon driver does honour the CustomEDID option
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum