Tagged: ubuntu Toggle Comment Threads | Keyboard Shortcuts

  • MD1032 1:46 am on October 10, 2010 Permalink
    Tags: ati, fglrx, , radeon, ubuntu   

    fglrx in Ubuntu 10.10: disable underscan 

    Do you see black borders on your TV when you connect your Linux HTPC with ATI Radeon chipset/card? Usually you would be able to change overscan/underscan settings in the graphical ATI tool – but my plasma is detected as a projector, some underscan is applied and the slider to correct it is missing.

    The solution lies in the command-line tool aticonfig. It allows you to set the relative screen position and the absolute screen size. Create a new file containing this script:

    aticonfig --set-dispattrib=dfp1,positionX:0
    aticonfig --set-dispattrib=dfp1,positionY:0
    aticonfig --set-dispattrib=dfp1,sizeX:1920
    aticonfig --set-dispattrib=dfp1,sizeY:1080

    and make it executable. Now configure it as a “startup application” in the Ubuntu preferences. There’s a catch though: you need to find out the name of your display device first. Mine is called “dfp1”. Have a look at your /var/log/Xorg.0.log and find the line similar to

    [    25.483] (II) fglrx(0): Connected Display0: DFP1

    and insert the correct name into the script. Also make sure you set the correct display resolution. Run the script or log off and back on, and the black borders should be gone.

    • frans 3:21 pm on January 10, 2012 Permalink

      Thanks for this fix, Works great.

    • kevin 2:28 am on December 22, 2012 Permalink

      this fixed my projector as well… why isnt the default to not over/underscan the damn screen? the edid info has proper hz and res in the rest of the tools. wtf ati?

  • MD1032 7:47 pm on October 8, 2010 Permalink
    Tags: hack, , ubuntu, udev   

    Disable automatic udev rules for network interfaces in Ubuntu 

    If you want to deploy a Ubuntu image across different hosts, each time you boot it on a new machine, a new udev rule for its network card will be created. You will then end up with eth1, eth2, and so on. There are different ways to work around this problem. Here is a simple approach that will completely disable the automatic rule file generation:

    1. rm /etc/udev/rules.d/70-persistent-net.rules
    2. mkdir /etc/udev/rules.d/70-persistent-net.rules

    It’s a hack, it’s not pretty, but it works.

Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc