Results 1 to 7 of 7

Thread: My xorg.conf gets overwritten on reboot.

  1. #1
    Join Date
    Oct 2012
    Beans
    11

    My xorg.conf gets overwritten on reboot.

    Since I updated to 14.04 (from 13.10) something have started to overwrites my xorg.conf on every boot. I use aticonfig to configure my monitors the way I want them


    Code:
    sudo aticonfig --initial --adapter=1 --heads=2

    and inspecting xorg.conf shows something that looks like what I want. Don't know enough xorg.conf-ish to understand the details, but it's a pretty big file. I'll paste the content at the end of the post. However, I have to reboot for the changes to apply, but once I've rebooted the config file suddenly contains the following instead.


    Code:
    Section "Device"    Identifier "Default Card 0"
        BusID "PCI:0@0:1:0"
    EndSection
    
    
    Section "Device"
        Identifier "Default Card 1"
        BusID "PCI:1@0:0:0"
    EndSection

    The effect of this is that I can only get my desktop on the built-in Trinity GPU, while my main GPU, a 7950, displays the BIOS/POST stuff and then just the kubuntu logo.

    How can I get the desktop on my 7950?




    Code:
    ~$ sudo aticonfig --list-adapters
    * 0. 00:01.0 AMD Radeon HD 7660D                                                                                                                                                   
      1. 01:00.0 AMD Radeon HD 7900 Series                                                                                                                                             
                                                                                                                                                                                       
    * - Default adapter
    xorg.conf produced by aticonfig:


    Code:
    Section "ServerLayout"
            Identifier     "aticonfig Layout"
            Screen      0  "aticonfig-Screen[1]-0" 0 0
            Screen         "aticonfig-Screen[1]-1" RightOf "aticonfig-Screen[1]-0"
    EndSection
    
    
    Section "Module"
    EndSection
    
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]-0"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]-1"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    
    Section "Device"
            Identifier  "aticonfig-Device[1]-0"
            Driver      "fglrx"
            BusID       "PCI:1:0:0"
    EndSection
    
    
    Section "Device"
            Identifier  "aticonfig-Device[1]-1"
            Driver      "fglrx"
            BusID       "PCI:1:0:0"
            Screen      1
    EndSection
    
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]-0"
            Device     "aticonfig-Device[1]-0"
            Monitor    "aticonfig-Monitor[1]-0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
            EndSubSection
    EndSection
    
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]-1"
            Device     "aticonfig-Device[1]-1"
            Monitor    "aticonfig-Monitor[1]-1"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
            EndSubSection
    EndSection

  2. #2
    Join Date
    Sep 2012
    Beans
    5,003

    Re: My xorg.conf gets overwritten on reboot.

    gpu-manager.conf?

    A bug with a work-a-round.

    https://bugs.launchpad.net/ubuntu/+s...g/+bug/1310489


  3. #3
    Join Date
    Oct 2012
    Beans
    11

    Re: My xorg.conf gets overwritten on reboot.

    Seems related. So gpu-manager takes precedence over aticonfig? I tried to figure out how to use gpu-manager to get everything configured the way I want, but it wasn't very helpful:

    Code:
    ~$man gpu-manager
    No manual entry for gpu-manager
    ~$gpu-manager --help
    gpu-manager: unrecognized option '--help'
    ~$gpu-manager -h
    gpu-manager: invalid option -- 'h'
    Will comment out some lines from gpu-manager.conf, as suggested in the bug report, but the mention of system freezes worries me a bit...


    edit: It works. Got my desktop the way I want it. But i wonder for how long. I can already see the system updates icon tempting me to let it prod about violently among my packages and configuration files. What if the dreaded gpu-manger gets an update, and along with it a new gpu-manager.conf? I'd be stumped. My xorg.conf would be defiled and aticonfig violated yet again.
    Last edited by ibbles; April 29th, 2014 at 05:02 PM. Reason: I survived.

  4. #4
    Join Date
    Sep 2010
    Beans
    13

    Angry Re: My xorg.conf gets overwritten on reboot.

    I have the same problem.

    gpu-manager resets xorg.conf file which causes X11 to fail to start !

    have you tried removing ubuntu-drivers-common package ?

  5. #5
    Join Date
    Sep 2010
    Beans
    13

    Re: My xorg.conf gets overwritten on reboot.

    why did someone write a code that breaks linux config ?

  6. #6
    Join Date
    Oct 2012
    Beans
    11

    Re: My xorg.conf gets overwritten on reboot.

    Quote Originally Posted by MarisO View Post
    have you tried removing ubuntu-drivers-common package ?
    No. That sounds like a bad idea. I added a bunch of '#'s to /etc/init/gpu-manager.conf so that it now contains

    Code:
    #start on (starting lightdm
    #          or starting kdm
    #          or starting xdm
    #          or starting lxdm)
    task
    exec gpu-manager --log /var/log/gpu-manager.log
    Everything works the way I expect it to now.

  7. #7
    Join Date
    Sep 2012
    Beans
    5,003

    Re: My xorg.conf gets overwritten on reboot.



Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •