Announcement

Collapse
No announcement yet.

Is there any guide on xorg.conf for ATI?

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

  • #11
    Here's what I would try.

    Code:

    cd /etc/X11
    mv xorg.conf xorg.conf.bak
    aticonfig --adapter=1,0 --initial
    That makes sense, but it results in X failing to load at startup. I had actually already tried something very similar.

    I had a look at the BIOS and I couldn't find any option relating to the graphic card.

    It seems that I am only able to use the 4200 GPU, it is listed as the default adapter and it bears all the load:

    Code:
    amdconfig --lsa
    * 0. 01:05.0 ATI Mobility Radeon HD 4200 Series
      1. 02:00.0 AMD Radeon HD 6300M Series
    
    * - Default adapter
    Code:
    aticonfig --odgc --adapter=all
    
    Adapter 0 - ATI Mobility Radeon HD 4200 Series
                                Core (MHz)    Memory (MHz)
               Current Clocks :    203           400
                 Current Peak :    500           400
      Configurable Peak Range : [200-500]     [400-400]
                     GPU load :    18%
    
    Adapter 1 - AMD Radeon HD 6300M Series
                                Core (MHz)    Memory (MHz)
               Current Clocks :    750           800
                 Current Peak :    750           800
      Configurable Peak Range : [400-750]     [500-800]
                     GPU load :    0%
    I couldn't find a command to change the default adapter. Any other ideas?

    Thanks for all the help

    Comment


    • #12
      BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
      Test signature

      Comment


      • #13
        Looks like a muxless hybrid laptop (called powerXpress) with the VGA and LVDS attached to the integrated GPU and the HDMI port attached to the discrete GPU. The X server currently doesn't handle these types of configurations, although there is work happening to better support them at least for open source drivers. I'm not sure to what extent fglrx supports these. I think you use aticonfig to select the discrete gpu if you want to use it. Something like aticonfig --px-dgpu might work.

        Comment


        • #14
          Give this a whirl too.

          Originally posted by agd5f View Post
          Looks like a muxless hybrid laptop (called powerXpress) with the VGA and LVDS attached to the integrated GPU and the HDMI port attached to the discrete GPU. The X server currently doesn't handle these types of configurations, although there is work happening to better support them at least for open source drivers. I'm not sure to what extent fglrx supports these. I think you use aticonfig to select the discrete gpu if you want to use it. Something like aticonfig --px-dgpu might work.
          Yes I was going say that originally about xorg-server , I was going to tell him to run (if he still wants too for kicks and giggles):

          Code:
          Xorg -configure
          Mind you X server should not be running at all when you do this or you will get an error straight away.. I would run that command with the HDMI plugged in may get lucky
          and see something we've missed.

          He needs to have the Radeon drivers "x11-drivers/xf86-video-ati" installed to do this and mesa configured/built with video_cards_radeon (Should be already if you're using Ubuntu , I'm a Gentoo user so I only build use flags I need into my packages)
          That will make Xorg scan hardware and all connected devices then parse a default xorg.conf in /root as xorg.conf.new then he can:

          Code:
          nano /root/xorg.conf.new or nano ~/xorg.conf.new  (if you're logged in as root)
          You can use vi vim or whatever text editor you like and see how Xorg is detecting is things and or just use "cat" like so.
          Code:
          cat /root/xorg.conf.new  | less
          My guess though after looking through the Xorg.0.Log it will only see the VGA(CRT) and LVDS as it did in the log file.

          I would go with agd5f suggestion first as that seems the easiest to start with and being he's Dev always helps lol.
          Code:
          aticonfig --px-dgpu
          I'm curious you mind? using a paste bin of the output of both:

          Code:
          lspci -v
          and

          Code:
          aticonfig --adapter=all --initial
          Again with the HDMI plugged in( (which I'm sure you've been doing anyway) I'd like to see the xorg.conf in it's entirety

          Comment


          • #15
            BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
            My hardware is a laptop (HP Pavilion dv7-4270us, AMD Phenom II Quad-Core Mobile Processor P960). As far as I know, it has got 1 graphic card labelled ATI Mobility Radeon HD 6370 s, but, yes, there's another GPU wandering about in there (the one identified as Mobility Radeon HD 4200) so it is probably one of those powerXpress hybrid things.

            The problem seems to be that I can only start x with the 4200 GPU. I'm not sure if I'm going the right way here, but I tried an xorg.conf generated with sudo aticonfig --initial --adapter=1 -f. (since the 6300 adapter is listed as 1) and, as I expected Xserver failed to load at startup, but this time I was dumped into a prompt and I managed to get the Xorg log of this error. These are its last lines:

            Code:
            [    79.795] 0: /usr/bin/X (xorg_backtrace+0x26) [0x460566]
            [    79.795] 1: /usr/bin/X (0x400000+0x64b7a) [0x464b7a]
            [    79.795] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffeaa2c4000+0x10060) [0x7ffeaa2d4060]
            [    79.796] 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPxPreInit+0x87) [0x7ffea6c00247]
            [    79.796] 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPreInit+0x205b) [0x7ffea6bd688b]
            [    79.796] 5: /usr/bin/X (InitOutput+0x834) [0x474134]
            [    79.796] 6: /usr/bin/X (0x400000+0x23143) [0x423143]
            [    79.796] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7ffea920030d]
            [    79.796] 8: /usr/bin/X (0x400000+0x235ed) [0x4235ed]
            [    79.796] Segmentation fault at address (nil)
            [    79.796] 
            Caught signal 11 (Segmentation fault). Server aborting
            [    79.796] 
            Please consult the The X.Org Foundation support 
            	 at http://wiki.x.org
             for help. 
            [    79.796] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
            [    79.796] 
            [    79.805]  ddxSigGiveUp: Closing log
            The full log is available at paste.kde.org/194630/

            BTW, when I was dumped into this prompt I ran sudo aticonfig --lsa and the output was the opposite of before, now the 6300 GPU is listed as 0 and as default. No idea how this works.

            I hope this info is of relevance, maybe I'm just messing things up. I haven't tried Acidphase's last suggestion, I will shortly.

            Comment


            • #16
              BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
              My hardware is a laptop (HP Pavilion dv7-4270us, AMD Phenom II Quad-Core Mobile Processor P960). As far as I know, it has got 1 graphic card labelled ATI Mobility Radeon HD 6370 s, but, yes, there's another GPU wandering about in there (the one identified as Mobility Radeon HD 4200) so it is probably one of those powerXpress hybrid things.

              The problem seems to be that I can only start x with the 4200 GPU. I'm not sure if I'm going the right way here, but I tried an xorg.conf generated with sudo aticonfig --initial --adapter=1 -f. (since the 6300 adapter is listed as 1) and, as I expected Xserver failed to load at startup, but this time I was dumped into a prompt and I managed to get the Xorg log of this error. These are its last lines:

              Code:
              [    79.795] 0: /usr/bin/X (xorg_backtrace+0x26) [0x460566]
              [    79.795] 1: /usr/bin/X (0x400000+0x64b7a) [0x464b7a]
              [    79.795] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffeaa2c4000+0x10060) [0x7ffeaa2d4060]
              [    79.796] 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPxPreInit+0x87) [0x7ffea6c00247]
              [    79.796] 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPreInit+0x205b) [0x7ffea6bd688b]
              [    79.796] 5: /usr/bin/X (InitOutput+0x834) [0x474134]
              [    79.796] 6: /usr/bin/X (0x400000+0x23143) [0x423143]
              [    79.796] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7ffea920030d]
              [    79.796] 8: /usr/bin/X (0x400000+0x235ed) [0x4235ed]
              [    79.796] Segmentation fault at address (nil)
              [    79.796] 
              Caught signal 11 (Segmentation fault). Server aborting
              [    79.796] 
              Please consult the The X.Org Foundation support 
              	 at http://wiki.x.org
               for help. 
              [    79.796] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
              [    79.796] 
              [    79.805]  ddxSigGiveUp: Closing log
              The full log is available at (I hope you can figure this link out, since I can't post real ones until a moderator checks) "KDE pastebin" /194630 (A post very similar to this might suddenly appear with the real link)

              BTW, when I was dumped into this prompt I ran sudo aticonfig --lsa and the output was the opposite of before, now the 6300 GPU is listed as 0 and as default. No idea how this works.

              I hope this info is of relevance, maybe I'm just messing things up. I haven't tried Acidphase's last suggestion, I will shortly.

              Comment


              • #17
                BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
                My hardware is a laptop (HP Pavilion dv7-4270us, AMD Phenom II Quad-Core Mobile Processor P960). As far as I know, it has got 1 graphic card labelled ATI Mobility Radeon HD 6370 s, but, yes, there's another GPU wandering about in there (the one identified as Mobility Radeon HD 4200) so it is probably one of those powerXpress hybrid things.

                The problem seems to be that I can only start x with the 4200 GPU. I'm not sure if I'm going the right way here, but I tried an xorg.conf generated with sudo aticonfig --initial --adapter=1 -f. (since the 6300 adapter is listed as 1) and, as I expected Xserver failed to load at startup, but this time I was dumped into a prompt and I managed to get the Xorg log of this error. These are its last lines:

                Code:
                [    79.795] 0: /usr/bin/X (xorg_backtrace+0x26) [0x460566]
                [    79.795] 1: /usr/bin/X (0x400000+0x64b7a) [0x464b7a]
                [    79.795] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffeaa2c4000+0x10060) [0x7ffeaa2d4060]
                [    79.796] 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPxPreInit+0x87) [0x7ffea6c00247]
                [    79.796] 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPreInit+0x205b) [0x7ffea6bd688b]
                [    79.796] 5: /usr/bin/X (InitOutput+0x834) [0x474134]
                [    79.796] 6: /usr/bin/X (0x400000+0x23143) [0x423143]
                [    79.796] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7ffea920030d]
                [    79.796] 8: /usr/bin/X (0x400000+0x235ed) [0x4235ed]
                [    79.796] Segmentation fault at address (nil)
                [    79.796] 
                Caught signal 11 (Segmentation fault). Server aborting
                [    79.796] 
                Please consult the The X.Org Foundation support 
                	 at <edited out>
                 for help. 
                [    79.796] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
                [    79.796] 
                [    79.805]  ddxSigGiveUp: Closing log
                The full log is available at paste.kde.org/194630/

                BTW, when I was dumped into this prompt I ran sudo aticonfig --lsa and the output was the opposite of before, now the 6300 GPU is listed as 0 and as default. No idea how this works.

                I hope this info is of relevance, maybe I'm just messing things up. I haven't tried Acidphase's last suggestion, I will shortly. Sorry that this post might appear thrice, that was because of the <edited out>URL of the log.

                Comment


                • #18
                  BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
                  My hardware is a laptop (HP Pavilion dv7-4270us, AMD Phenom II Quad-Core Mobile Processor P960). As far as I know, it has got 1 graphic card labelled ATI Mobility Radeon HD 6370 s, but, yes, there's another GPU wandering about in there (the one identified as Mobility Radeon HD 4200) so it is probably one of those powerXpress hybrid things.

                  The problem seems to be that I can only start x with the 4200 GPU. I'm not sure if I'm going the right way here, but I tried an xorg.conf generated with sudo aticonfig --initial --adapter=1 -f. (since the 6300 adapter is listed as 1) and, as I expected Xserver failed to load at startup, but this time I was dumped into a prompt and I managed to get the Xorg log of this error. These are its last lines:

                  Code:
                  [    79.795] 0: /usr/bin/X (xorg_backtrace+0x26) [0x460566]
                  [    79.795] 1: /usr/bin/X (0x400000+0x64b7a) [0x464b7a]
                  [    79.795] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffeaa2c4000+0x10060) [0x7ffeaa2d4060]
                  [    79.796] 3: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPxPreInit+0x87) [0x7ffea6c00247]
                  [    79.796] 4: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so (xdl_xs110_atiddxPreInit+0x205b) [0x7ffea6bd688b]
                  [    79.796] 5: /usr/bin/X (InitOutput+0x834) [0x474134]
                  [    79.796] 6: /usr/bin/X (0x400000+0x23143) [0x423143]
                  [    79.796] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7ffea920030d]
                  [    79.796] 8: /usr/bin/X (0x400000+0x235ed) [0x4235ed]
                  [    79.796] Segmentation fault at address (nil)
                  [    79.796] 
                  Caught signal 11 (Segmentation fault). Server aborting
                  [    79.796] 
                  Please consult the The X.Org Foundation support 
                  	 at <edited out>
                   for help. 
                  [    79.796] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
                  [    79.796] 
                  [    79.805]  ddxSigGiveUp: Closing log
                  The full log is available at paste.kde.org/194630

                  BTW, when I was dumped into this prompt I ran sudo aticonfig --lsa and the output was the opposite of before, now the 6300 GPU is listed as 0 and as default. No idea how this works.

                  I hope this info is of relevance, maybe I'm just messing things up. I haven't tried Acidphase's last suggestion, I will shortly. Sorry that this post might appear thrice, that was because of the <edited out>URL of the log.

                  Comment


                  • #19
                    BTW what is your hardware -- is it a desktop system with integrated graphics and a PCIE card plugged in (in which case we're talking about two simultaneously active GPUs) or a hybrid graphics laptop where only one GPU is usually active at a time, or a "two GPU" laptop without hybrid graphics ?
                    My hardware is a laptop (HP Pavilion dv7-4270us, AMD Phenom II Quad-Core Mobile Processor P960). As far as I know, it has got 1 graphic card labelled ATI Mobility Radeon HD 6370 s, but, yes, there's another GPU wandering about in there (the one identified as Mobility Radeon HD 4200) so it is probably one of those powerXpress hybrid things.

                    The problem seems to be that I can only start x with the 4200 GPU. I'm not sure if I'm going the right way here, but I tried an xorg.conf generated with sudo aticonfig --initial --adapter=1 -f. (since the 6300 adapter is listed as 1) and, as I expected Xserver failed to load at startup, but this time I was dumped into a prompt and I managed to get the Xorg log of this error.

                    The full log is available at "KDE pastebin" /194630

                    BTW, when I was dumped into this prompt I ran sudo aticonfig --lsa and the output was the opposite of before, now the 6300 GPU is listed as 0 and as default. No idea how this works.

                    I hope this info is of relevance, maybe I'm just messing things up. I haven't tried Acidphase's last suggestion, I will shortly. Sorry that this post might appear several times (there was some URLs in there, and I can't wait for moderator).

                    Comment


                    • #20
                      I did as Acidphase suggested:

                      Xorg -configure returned error, last lines said:
                      Code:
                      [    35.741] Number of created screens does not match number of detected devices.
                        Configuration failed.
                      Full log at openpaste.org/dEBa1329

                      xorg.conf.new: openpaste.org/cE027C2A

                      About aticonfig --px-dgpu, no use, high performance mode is active and has always been.

                      lspci -v output: openpaste.org/07cb7662

                      finally aticonfig --adapter=all --initial is at openpaste.org/D44E108F

                      Thanks, I gave up trying different configurations. I hope you can still help.

                      Comment

                      Working...
                      X