[ltp] Re: radeon tv-out - same here
Alex Deucher
linux-thinkpad@linux-thinkpad.org
Fri, 10 Aug 2007 19:17:28 -0400
On 8/10/07, Leon Brokken <leon.brokken@med.lu.se> wrote:
> Alex Deucher wrote:
> > On 8/10/07, Leon Brokken <leon.brokken@med.lu.se> wrote:
> >
> >> Alex Deucher wrote:
> >>
> >>> On 8/10/07, Nils <linuxuser@knabber.homelinux.net> wrote:
> >>>
> >>>
> >>>>> You are not using the randr-1.2 branch of the ati git tree, you are
> >>>>> using master. Once you've grabbed the ati git tree do:
> >>>>>
> >>>>> git checkout randr-1.2
> >>>>>
> >>>>> to switch to the randr branch. then build as before.
> >>>>>
> >>>>>
> >>>> I think it's too complex for me :-(
> >>>>
> >>>>
> >>> It's not too bad.
> >>>
> >>> 1. First make sure you back up the existing radeon (radeon_drv.so) and
> >>> ati (ati_drv.so) drivers.
> >>> 2. install the xorg-dev, mesa-dev, and xserver-dev packages for your distro
> >>> 3. git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
> >>> 4. cd xf86-video-ati
> >>> 5. git checkout randr-1.2
> >>> or
> >>> git checkout origin randr-1.2
> >>> depending on what version of git you are using
> >>> 6. ./autogen.sh --prefix=/usr
> >>> 7. make
> >>> 8. sudo make install
> >>> or
> >>> make install as root
> >>>
> >>>
> >> I'm following this thread with great interest ;-)
> >>
> >> And facing the same difficulties:
> >>
> >> leon@shpritsz:~/build/git$ git-clone
> >> git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
> >> Initialized empty Git repository in
> >> /home/leon/build/git/xf86-video-ati/.git/
> >> remote: Generating pack...
> >> remote: Done counting 5705 objects.
> >> remote: Deltifying 5705 objects.
> >> remote: 100% (5705/5705) done
> >> Indexing 5705 objects...
> >> remote: Total 5705 (delta 4513), reused 0 (delta 0)
> >> 100% (5705/5705) done
> >> Resolving 4513 deltas...
> >> 100% (4513/4513) done
> >>
> >> leon@shpritsz:~/build/git$ cd xf86-video-ati/
> >> leon@shpritsz:~/build/git/xf86-video-ati$ git checkout randr-1.2
> >> error: pathspec 'randr-1.2' did not match any file(s) known to git.
> >> Did you forget to 'git add'?
> >> leon@shpritsz:~/build/git/xf86-video-ati$ git checkout origin randr-1.2
> >> error: pathspec 'randr-1.2' did not match any file(s) known to git.
> >> Did you forget to 'git add'?
> >> leon@shpritsz:~/build/git/xf86-video-ati$
> >>
> >
> > Argh! stupid git 1.5 (I'm still using 1.4). I think this should work:
> >
> > git checkout origin/randr-1.2
> >
> > Alex
> >
>
> Thanks!! That fixed building and installing.
>
> Next question: is this supported by my card (rv200)
> lspci |grep -i rad
> 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility
> M7 LW [Radeon Mobility 7500]
> ?
>
> Because I get the following:
>
> leon@shpritsz:~/build/git/xf86-video-ati$ xrandr --addmode S-video 800x600
> usage: xrandr [options]
> where options are:
> -display <display> or -d <display>
> -help
> -o <normal,inverted,left,right,0,1,2,3>
> or --orientation <normal,inverted,left,right,0,1,2,3>
> -q or --query
> -s <size>/<width>x<height> or --size <size>/<width>x<height>
> -r <rate> or --rate <rate> or --refresh <rate>
> -v or --version
> -x (reflect in x)
> -y (reflect in y)
> --screen <screen>
> --verbose
> --dryrun
> --prop or --properties
> --fb <width>x<height>
> --fbmm <width>x<height>
> --dpi <dpi>/<output>
> --output <output>
> --auto
> --mode <mode>
> --preferred
> --pos <x>x<y>
> --rate <rate> or --refresh <rate>
> --reflect normal,x,y,xy
> --rotate normal,inverted,left,right
> --left-of <output>
> --right-of <output>
> --above <output>
> --below <output>
> --off
> --crtc <crtc>
Looks like your xrandr app is too old. grab the latest like so:
git clone git://anongit.freedesktop.org/git/xorg/app/xrandr
./autogen.sh --prefix=/usr
make
make install
> leon@shpritsz:~/build/git/xf86-video-ati$
>
> More info, I get the following warnings:
>
> leon@shpritsz:~$ cat /var/log/Xorg.0.log|grep WW
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (WW) RADEON(0): DDC2/I2C is not properly initialized
> (WW) RADEON(0): DDC2/I2C is not properly initialized
> (WW) RADEON(0): DDC2/I2C is not properly initialized
> (WW) RADEON(0): No crtc mode list for crtc 1,continuing with desired mode
> (WW) RADEON(0): DRI init changed memory map, adjusting ...
> (WW) RADEON(0): MC_FB_LOCATION was: 0xe3ffe000 is: 0xe3ffe000
> (WW) RADEON(0): MC_AGP_LOCATION was: 0xffffffc0 is: 0xd1ffd000
> (WW) AIGLX: 3D driver claims to not support visual 0x23
> (WW) AIGLX: 3D driver claims to not support visual 0x24
> (WW) AIGLX: 3D driver claims to not support visual 0x25
> (WW) AIGLX: 3D driver claims to not support visual 0x26
> (WW) AIGLX: 3D driver claims to not support visual 0x27
> (WW) AIGLX: 3D driver claims to not support visual 0x28
> (WW) AIGLX: 3D driver claims to not support visual 0x29
> (WW) AIGLX: 3D driver claims to not support visual 0x2a
> (WW) AIGLX: 3D driver claims to not support visual 0x2b
> (WW) AIGLX: 3D driver claims to not support visual 0x2c
> (WW) AIGLX: 3D driver claims to not support visual 0x2d
> (WW) AIGLX: 3D driver claims to not support visual 0x2e
> (WW) AIGLX: 3D driver claims to not support visual 0x2f
> (WW) AIGLX: 3D driver claims to not support visual 0x30
> (WW) AIGLX: 3D driver claims to not support visual 0x31
> (WW) AIGLX: 3D driver claims to not support visual 0x32
> (WW) RADEON(0): DDC2/I2C is not properly initialized
> (WW) RADEON(0): DDC2/I2C is not properly initialized
>
>
> Do I need to add some options to /etc/X11/xorg.conf?
No.
>
> I switch successfully to tv-out when I use atitvout and lower resolution
> 600x800 in alternative xorg.conf.
atitvout just uses the bios to program the hardware directly.
>
> Thanks for your help!
>
No problem.
Alex