Public bug reported:

This happens on Ubuntu 8.10:

I have an ATI X1600 connected to a large LCD TV. Initially the image had
a black border around it, so after googling around I found that this
little script solves the problem:

#!/bin/bash
m=`aticonfig --query-monitor | grep -i "enabled monitors" | cut -d ':' -f 2 | 
sed "s/^ \+//"`
if [ ! -z "${m}" ]
then
        aticonfig --set-dispattrib=$m,positionX:0
        aticonfig --set-dispattrib=$m,positionY:0
        aticonfig --set-dispattrib=$m,sizeX:1920
        aticonfig --set-dispattrib=$m,sizeY:1080
fi

Everything so far is very good. The black borders dissappeared.
However, if I restart the X server or reboot the machine, xorg does not start 
(complains about low resolution).

I found that the reason for that are the following lines which fglrx
writes to /etc/ati/amdpcsdb:

# diff amdpcsdb.ok amdpcsdb.faulty
127a128,132
> [AMDPCSROOT/SYSTEM/DDX/tmds1/attribute]
> positionX=V0
> positionY=V0
> sizeX=V1920
> sizeY=V1080

amdpcsdb.ok has been available by restarting xorg, without running the above 
script.
amdpcsdb.faulty has been available by restarting xorg, after running the above 
script.

With the "faulty" version of the file, xorg does this:

# Xorg
X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-19-server i686 Ubuntu
Current Operating System: Linux media-center 2.6.27-7-generic #1 SMP Tue Nov 4 
19:33:20 UTC 2008 i686
Build Date: 24 October 2008  08:00:16AM
xorg-server 2:1.5.2-2ubuntu3 ([EMAIL PROTECTED])
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 13 18:54:57 2008
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:[EMAIL 
PROTECTED]:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:[EMAIL 
PROTECTED]:0:1) found
Aborted

And Xorg.0.log ends with:

(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0x5f000
(II) fglrx(0): [drm] mapped SAREA 0x5f000 to 0xb7f14000
(II) fglrx(0): [drm] framebuffer handle = 0x60000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 8.54.3
(II) fglrx(0):     Date: Oct 10 2008
(II) fglrx(0):     Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.27-7-generic
(II) fglrx(0):     Build-Kernel MODVERSIONS:        yes
(II) fglrx(0):     Build-Kernel __SMP__:            yes
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0x00061000
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x0100e000
(II) fglrx(0): FBMM initialized for area (0,0)-(1920,2192)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1920,1080) (front color buffer - 
assumption)
(II) fglrx(0): Largest offscreen area available: 1920 x 1112

The only workaround for the moment is to delete /etc/ati/amdpcsdb.
Is there a place I could put "rm /etc/ati/amdpcsdb", so that xorg will restart 
without doing it by hand all the time?

Other information:
# apt-cache policy xorg-driver-fglrx
xorg-driver-fglrx:
  Installed: 2:8.543-0ubuntu4
  Candidate: 2:8.543-0ubuntu4
  Version table:
 *** 2:8.543-0ubuntu4 0
        500 http://gr.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status

# lsb_release -rd
Description:    Ubuntu 8.10
Release:        8.10

** Affects: fglrx-installer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
fglrx will not restart (amdpcsdb)
https://bugs.launchpad.net/bugs/297741
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to