Announcement

Collapse
No announcement yet.

ATI Control Panel Settings Location Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ATI Control Panel Settings Location Question

    I'm running Ubuntu 7.10 and the 7.11 ATI drivers.

    When using the control panel to enable/disable displays, where are the settings saved?

    There are several actions (like switching displays) that do not modify the xorg.conf file, but the settings do stick after a reboot.

    They're obviously using another config file, but I've been unable to locate it.

    Thanks

  • #2
    that is done via the aticonfig tool... sorry to say, but that's how it happens... all i can say though is that after modifying said settings restart the xserver and it'll be applied right away.

    Comment


    • #3
      Originally posted by talon95 View Post
      I'm running Ubuntu 7.10 and the 7.11 ATI drivers.

      When using the control panel to enable/disable displays, where are the settings saved?

      There are several actions (like switching displays) that do not modify the xorg.conf file, but the settings do stick after a reboot.

      They're obviously using another config file, but I've been unable to locate it.

      Thanks
      For some strange reason, these settings are saved in /etc/ati/amdpcsdb...

      Comment


      • #4
        Edit: yes, what Christian L said - there's also a file /etc/ati/amdpcsdb that is used by the Catalyst Control Center for some settings.

        I think it's a binary file, not user editable, but I'm not running the proprietary drivers right now so I can't check.
        Last edited by ejs1920; 12-17-2007, 05:22 AM.

        Comment


        • #5
          that basically means there is no support for individual (per-user) settings?

          Comment


          • #6
            /etc/ati/amdpcsdb should be a text file, otherwise look for another file starting with amd... under /etc/*/ (I can't check this right now, because I don't have my ATI laptop with me at the moment). Settings seem to be the same as for aticonfig, with values preceeded by an S or V (for "string" or "value"), like "Strue" or "V1".

            Originally posted by yoshi314 View Post
            that basically means there is no support for individual (per-user) settings?
            Don't know. You may want to change something as non-root in amdcccle and then check whether a file was edited in your home directory ("ls -latr ~").
            Last edited by Christian_L; 12-17-2007, 06:01 AM.

            Comment


            • #7
              Thanks guys. That's part of what I was looking for. Here's the amdpcsdb file on my system:

              AMDPCSDBV1
              [AMDPCSROOT/SYSTEM/LibXUtil/Display1]
              Map=V0
              Enable=V0
              [AMDPCSROOT/SYSTEM/LibXUtil/Display2]
              Enable=V1
              [AMDPCSROOT/SYSTEM/LDC]
              OverrideDongle=V1
              HelpDisabled=V0
              LinkedAllSliders:1=V1
              LinkedAllSliders:2=V1
              LastViewedPage=SFormats
              [AMDPCSROOT/SYSTEM/DDX]
              DesktopSetup=Ssingle
              EnableMonitor=Scv
              VideoOverlay=Son
              OpenGLOverlay=Soff
              TVStandard=SSCART
              [AMDPCSROOT/SYSTEM/DDX/cv/attribute]
              brightness=V0
              contrast=V100
              [AMDPCSROOT/SYSTEM/DDX/cv/dongleUseOverride]
              OverrideVal=V73
              What I don't see is the cvdongle custom resolution settings that you can see from aticonfig
              Customize mode 0 : flags 0x7, width 1152, height 648, baseWidth 1280, baseheight 720, refresh 60.
              Customize mode 1 : flags 0x13, width 1280, height 720, baseWidth 1280, baseheight 720, refresh 60.
              Customize mode 2 : flags 0xe, width 1776, height 1000, baseWidth 1920, baseheight 1080, refresh 30.
              Customize mode 3 : flags 0x1a, width 1920, height 1080, baseWidth 1920, baseheight 1080, refresh 30.
              Total 4 customized modes found for component video.
              Any idea where these are stored?

              I'm asking this because last weekend I was trying to switch between my HDTV on the dongle to my projector on VGA. In the process, the settings for the dongle got hosed and I couldn't get an image on my HDTV. Since I couldn't locate the settings files, I ended up doing a full system restore from a backup. That worked but it would be nice to be able to restore just the settings or edit them from the command line.

              Comment


              • #8
                Sorry, I have no experience with that. You may want to play with these aticonfig settings given by aticonfig --help (use cp amdpcsdb amdpcsdb.sav, change settings with aticonfig and then type diff amdpcsdb amdpcsdb.sav to check whether the settings were written to amdpcsdb):


                Component video dongle options:
                Following options are used for query and set dongles for a component video. These options will be effective immediately. Other options on the same command line will be ignored.
                --query-cvdongle
                query dongle setting informations of the component video.
                --set-cvdongle=VALUE
                set the custom override value of the CV dongle.
                --reset-cvdongle
                reset the custom override setting(to zero)of the CV dongle.

                Component video customized mode options:
                Following options are used for query and set customized mode for component video. These options will be effective immediately. Other options on the same command line will be ignored.
                --query-cvmode
                query customized modes for component video.
                --add-cvmode=WIDTH,HEIGHT,FLAGS,BASEWIDTH,BASEDHEIGHT,RE FRESH.
                add a customized mode for component video.
                --validate-cvmode=WIDTH,HEIGHT,FLAGS,BASEWIDTH,BASEHEIGHT,REF RESH.
                validate a customized mode for component video.
                --delete-cvmode=INDEX
                delete one customized mode for component video.
                Check also the other files in the /etc/ati directory.

                Comment


                • #9
                  If you do find out where the Component Video settings are stored please post or PM me. You obviously have had your component video output working at some time.

                  Unfortunately I have never found the correct settings which I suspect are due to my HDTV not returning acceptable EDID information. This means that there are no selectable HD formats (e.g. 720p 1280x720) to choose from in the Catalyst Control Center. If you find the file for those settings may be I can edit and force the selections to be available in the Catalyst Control Center.

                  Thanks

                  Comment


                  • #10
                    I do have the dongle working. I've got my TV (Hitachi 51SWX20B) displaying 1152x648 which removes the overscan.

                    I don't think my TV returns any EDID info over component. The trick to getting the HDTV resolutions to show up is to restart after enabling the CV dongle. Roughly the steps I took to get it working were:

                    1. Install Ubuntu with a VGA monitor connected (component won't work at this point)

                    2. Install and enable ATI proprietary drivers.

                    3. Physically connect the TV to the component dongle. (might want to restart at this point, I can't remember if I did or not)

                    4. Use the ATI control panel to enable the dongle at which point you should have a clone display. At this point I had a scrolling 640x480 desktop on my TV.

                    5. RESTART the machine (or maybe just restart X).

                    6. Bring up the ATI control panel again. Now at least in my case it had enabled the HDTV custom resolution section and I could select 480p, 720p, etc... I selected 720p, 1080i, and 16x9.

                    7. Once the custom resolutions boxes are selected, the lower half of the window should show the custom resolutions. Select the one you want and hit the "Apply" button.

                    Comment


                    • #11
                      Also, I can say for a fact that simply re-installing the drivers will not reset the system back to where mine started with the fresh install.

                      While I was trying to fix my problem last weekend, I tried uninstalling/re-installing the drivers but it would end up right back to the same garbled out of sync image on my TV. No scrolling 640x480 display. It had retained whatever f'ed up screen settings.

                      The only way around this is to find all of the settings locations.

                      Also, does anyone know how Ubuntu stores the current screen resolution? (from going to the built in menu to change resolutions) I also see resolutions show up in that menu that are not in my xorg.conf file including the 1152x648 res that I'm using.

                      Comment


                      • #12
                        [QUOTE=... The trick to getting the HDTV resolutions to show up is to restart after enabling the CV dongle. ....
                        4. Use the ATI control panel to enable the dongle at which point you should have a clone display. At this point I had a scrolling 640x480 desktop on my TV.
                        ....[/QUOTE]
                        I have an ATI X1800 which uses a Svideo/Component connection rather than a Dongle for the card to Component interface. Where on the ATI Control Panel did you see an option to enable the dongle? I did try a cloned desktop but nothing ever displayed on my HDTV it remained blank, including after a reboot. My Xorg.0.log always showed the startup of X disabling "CV" connection because it could not find EDID information. I tried this with the ATI drivers prior to 7.11, I have not tried the latest drivers yet.

                        Thanks for your reply.

                        Comment


                        • #13
                          Originally posted by rdvaughan View Post
                          I have an ATI X1800 which uses a Svideo/Component connection rather than a Dongle for the card to Component interface. Where on the ATI Control Panel did you see an option to enable the dongle? I did try a cloned desktop but nothing ever displayed on my HDTV it remained blank, including after a reboot. My Xorg.0.log always showed the startup of X disabling "CV" connection because it could not find EDID information. I tried this with the ATI drivers prior to 7.11, I have not tried the latest drivers yet.

                          Thanks for your reply.
                          I have a X850Pro which I think has the same combo component/S-video output as yours. We I say enabled, I just mean that I enabled the display in the control panel (my TV shows up as one of the usable displays). I don't know if it makes a difference, but I am running the 7.11 drivers.

                          Comment


                          • #14
                            Talon95:
                            I have upgraded my graphics drivers to 7.11 and still no joy with component video output or Catalyst Control Centre selection of HDTV formats (none are displayed or selectable). I have Compiz-Fusion working and all the other accelerated features of the latest driver.

                            Here are relevant sections of my /var/log/Xorg.0.log entries:

                            X Window System Version 1.3.0
                            Release Date: 19 April 2007
                            X Protocol Version 11, Revision 0, Release 1.3
                            Build Operating System: Linux Ubuntu (xorg-server 2:1.3.0.0.dfsg-12ubuntu8)
                            Current Operating System: Linux ubuntu710 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686
                            Build Date: 29 September 2007

                            (II) fglrx(0): Connected Display2: Component Video [cv]
                            (II) fglrx(0): Display2: No EDID information from DDC.
                            (II) fglrx(0): Display2: Failed to get EDID information.
                            (WW) fglrx(0): DALEnableDriverInstance on secondary failed: 9
                            (II) fglrx(0): For single mode, Component Video is disabled


                            Under the Catalyst Control Centre I do have Clone mode on and have forced CV on all to no effect.
                            From /etc/ati/amdpcsdb file:

                            [AMDPCSROOT/SYSTEM/DDX]
                            FSAAEnable=Soff
                            FSAAScale=S2
                            VideoOverlay=Son
                            OpenGLOverlay=Soff
                            DesktopSetup=Sclone
                            EnableMonitor=Scrt2,cv
                            IgnoreEDID=Strue
                            ForceMonitors=Scrt1,cv
                            TVFormat=SNTSC-M
                            TVStandard=SVIDEO
                            TVOverscan=Soff
                            TVHPosAdj=S0
                            TVVPosAdj=S0

                            Considering you have a working Component Video configuration please send me your Xorg.0.log, amdpcsdb files. If you feel extra kind also your /etc/X11/xorg.conf file. At least I would see what a working configuration looks like.

                            Thanks

                            Comment


                            • #15
                              Here are the xorg.conf and ati files, but the log file is way too long to post. I'll have to put it somewhere else.

                              I can tell you that the log shows no EDID data for my HDTV.

                              ]

                              Code:
                              Section "ServerLayout"
                              	Identifier     "Default Layout"
                              	Screen      0  "aticonfig-Screen[0]" 0 0
                              	InputDevice    "Generic Keyboard"
                              	InputDevice    "Configured Mouse"
                              	InputDevice    "stylus" "SendCoreEvents"
                              	InputDevice    "cursor" "SendCoreEvents"
                              	InputDevice    "eraser" "SendCoreEvents"
                              EndSection
                              
                              Section "Files"
                              
                              	# path to defoma fonts
                              	FontPath     "/usr/share/fonts/X11/misc"
                              	FontPath     "/usr/share/fonts/X11/cyrillic"
                              	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
                              	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
                              	FontPath     "/usr/share/fonts/X11/Type1"
                              	FontPath     "/usr/share/fonts/X11/100dpi"
                              	FontPath     "/usr/share/fonts/X11/75dpi"
                              	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                              EndSection
                              
                              Section "Module"
                              	Load  "i2c"
                              	Load  "bitmap"
                              	Load  "ddc"
                              	Load  "dri"
                              	Load  "extmod"
                              	Load  "freetype"
                              	Load  "glx"
                              	Load  "int10"
                              	Load  "vbe"
                              EndSection
                              
                              Section "InputDevice"
                              	Identifier  "Generic Keyboard"
                              	Driver      "kbd"
                              	Option	    "CoreKeyboard"
                              	Option	    "XkbRules" "xorg"
                              	Option	    "XkbModel" "pc105"
                              	Option	    "XkbLayout" "us"
                              EndSection
                              
                              Section "InputDevice"
                              	Identifier  "Configured Mouse"
                              	Driver      "mouse"
                              	Option	    "CorePointer"
                              	Option	    "Device" "/dev/input/mice"
                              	Option	    "Protocol" "ImPS/2"
                              	Option	    "ZAxisMapping" "4 5"
                              	Option	    "Emulate3Buttons" "true"
                              EndSection
                              
                              Section "InputDevice"
                              	Identifier  "stylus"
                              	Driver      "wacom"
                              	Option	    "Device" "/dev/input/wacom"
                              	Option	    "Type" "stylus"
                              	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
                              EndSection
                              
                              Section "InputDevice"
                              	Identifier  "eraser"
                              	Driver      "wacom"
                              	Option	    "Device" "/dev/input/wacom"
                              	Option	    "Type" "eraser"
                              	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
                              EndSection
                              
                              Section "InputDevice"
                              	Identifier  "cursor"
                              	Driver      "wacom"
                              	Option	    "Device" "/dev/input/wacom"
                              	Option	    "Type" "cursor"
                              	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
                              EndSection
                              
                              Section "Monitor"
                              	Identifier   "Generic Monitor"
                              	HorizSync    28.0 - 51.0
                              	VertRefresh  43.0 - 60.0
                              	Option	    "DPMS"
                              EndSection
                              
                              Section "Monitor"
                              	Identifier   "aticonfig-Monitor[0]"
                              	Option	    "VendorName" "ATI Proprietary Driver"
                              	Option	    "ModelName" "Generic Autodetecting Monitor"
                              	Option	    "DPMS" "true"
                                #modeline  "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
                              EndSection
                              
                              Section "Device"
                              	Identifier  "Generic Video Card"
                              	Driver      "vesa"
                              	BusID       "PCI:1:0:0"
                              EndSection
                              
                              Section "Device"
                              	Identifier  "aticonfig-Device[0]"
                              	Driver      "fglrx"
                              	Option	    "VideoOverlay" "on"
                              	Option	    "OpenGLOverlay" "off"
                              EndSection
                              
                              Section "Screen"
                              	Identifier "aticonfig-Screen[0]"
                              	Device     "aticonfig-Device[0]"
                              	Monitor    "aticonfig-Monitor[0]"
                              	DefaultDepth     24
                              	SubSection "Display"
                              		Viewport   0 0
                              		Depth     24
                              		Modes    "1280x720" "1024x768" "800x600"
                              	EndSubSection
                              EndSection
                              
                              Section "DRI"
                              	Mode         0666
                              EndSection
                              Code:
                              AMDPCSDBV1
                              [AMDPCSROOT/SYSTEM/LibXUtil/Display1]
                              Map=V0
                              Enable=V0
                              [AMDPCSROOT/SYSTEM/LibXUtil/Display2]
                              Enable=V1
                              [AMDPCSROOT/SYSTEM/LDC]
                              OverrideDongle=V1
                              HelpDisabled=V0
                              LinkedAllSliders:1=V1
                              LinkedAllSliders:2=V1
                              LastViewedPage=SFormats
                              [AMDPCSROOT/SYSTEM/DDX]
                              DesktopSetup=Ssingle
                              EnableMonitor=Scv
                              VideoOverlay=Son
                              OpenGLOverlay=Soff
                              TVStandard=SSCART
                              [AMDPCSROOT/SYSTEM/DDX/cv/attribute]
                              brightness=V0
                              contrast=V100
                              [AMDPCSROOT/SYSTEM/DDX/cv/dongleUseOverride]
                              OverrideVal=V73

                              Comment

                              Working...
                              X