Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-28 Thread Bin Zhang
On Nov 29, 2007 1:04 AM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> Hi Bin, Hi All
>
> To compile the radeon driver, what's the correct way if
> I need radeon on a alubook 5,8:
>
> something like this:
> ---
> git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
> cd xf86-video-ati
> ./autogen.sh
> make

I tested this, using ./autogen.sh --prefix=/usr
But I had a problem : fvwm can't remember window size changes for applications.
So back to debian experimental package + two paches from git.

> [from http://bugs.freedesktop.org/show_bug.cgi?id=12552]
> -
>
>
> or better that one:
> -
> 3. git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
> 4. cd xf86-video-ati
> 5. git checkout origin/randr-1.2  (Git-Version 1.5)
> git checkout randr-1.2 (Git-Version 1.4)

This means you use randr-1.2 branch (last change 3 months ago) .
See http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=summary
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-ati.git;a=shortlog;h=randr-1.2

> 6. ./autogen.sh --prefix=/usr (or any home-directory, but then you have to
> copy the files manual to the correct directory)
> 7. make
> [from http://www.nabble.com/radeon-tv-out-tf4221095.html#a12103267]
> 
>
> What's the difference between the 2 methods above, i.e. what does this
> 'checkout origin/randr-1.2' ('checkout randr-1.2') snippet make
> different, compared to the first way of compiling ... ?

man git-checkout

Best regards,
Bin

>
> Best Regards, and Thanks in anticipation
>
> Wolfgang
>
> --
> Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
> http://profiles.yahoo.com/wolfgangpfeiffer
>
> Key: 0xE3037113
> http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-28 Thread Wolfgang Pfeiffer
Hi Bin, Hi All

To compile the radeon driver, what's the correct way if
I need radeon on a alubook 5,8:

something like this:
---
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
cd xf86-video-ati
./autogen.sh
make
[from http://bugs.freedesktop.org/show_bug.cgi?id=12552]
-


or better that one:
-
3. git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati 
4. cd xf86-video-ati 
5. git checkout origin/randr-1.2  (Git-Version 1.5) 
git checkout randr-1.2 (Git-Version 1.4) 
6. ./autogen.sh --prefix=/usr (or any home-directory, but then you have to 
copy the files manual to the correct directory) 
7. make
[from http://www.nabble.com/radeon-tv-out-tf4221095.html#a12103267]


What's the difference between the 2 methods above, i.e. what does this
'checkout origin/randr-1.2' ('checkout randr-1.2') snippet make
different, compared to the first way of compiling ... ?

Best Regards, and Thanks in anticipation
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-27 Thread Bin Zhang
On Nov 27, 2007 1:38 PM, Bin Zhang <[EMAIL PROTECTED]> wrote:
> On Nov 24, 2007 10:49 AM, Michel Dänzer <[EMAIL PROTECTED]> wrote:
> >
> > On Sat, 2007-11-24 at 02:47 +0100, Wolfgang Pfeiffer wrote:
> > > $ xrandr --output DVI-0 --auto
> > > xrandr: cannot find crtc for output DVI-0
> >
> > This is probably related to S-video, try something like
> >
> > xrandr --output S-video --off --output DVI-0 --auto
>
> I see the same problem for VGA-0 using today's git tree xf86-video-ati.
> But  version 6.7.196 doesn't has this problem.
>

Sorry. Just restart X again, it works fine now.

Bin

> Best regards,
> Bin
>


Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-27 Thread Bin Zhang
On Nov 24, 2007 10:49 AM, Michel Dänzer <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-11-24 at 02:47 +0100, Wolfgang Pfeiffer wrote:
> > $ xrandr --output DVI-0 --auto
> > xrandr: cannot find crtc for output DVI-0
>
> This is probably related to S-video, try something like
>
> xrandr --output S-video --off --output DVI-0 --auto

I see the same problem for VGA-0 using today's git tree xf86-video-ati.
But  version 6.7.196 doesn't has this problem.

Best regards,
Bin


Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-26 Thread Bin Zhang
On Nov 24, 2007 10:49 AM, Michel Dänzer <[EMAIL PROTECTED]> wrote:
>
> On Sat, 2007-11-24 at 02:47 +0100, Wolfgang Pfeiffer wrote:
> >
> > On Fri, Nov 23 2007, at 18:58 +0100, Bin Zhang wrote:
> > > On Nov 23, 2007 2:54 PM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> > > > On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:
> > > >
> > > > > Sidenotes:
> > > > >
> > > > > Since installing the new driver some artifacts are visible around the
> > > > > mouse-pointer in its default "arrow" image ...  Please let me know if
> > > >
> > > > This last line should have been saying:
> > > > "mouse-pointer on X in its default "arrow" image [ ... ]"
> > > >
> > > >
> > > > > a photo from that might help ...
> > > > >
> > > > > And the mouse is completely gone on the console .. haven't had time,
> > > > > yet, to google/explore that ...
> > >
> > > Try adding a line
> > > Option  "SWcursor" "on"
> > > in Section "Device" of your xorg.conf.
>
> That's a rather heavy-handed workaround - in particular, the SW cursor
> interacts badly with 3D acceleration and XVideo.
>
> > The problem seems being gone for the moment, without having changed
> > xorg.conf here ...
>
> Only legacy two-colour cursors are affected, not modern 32 bit ARGB
> cursors.

Thanks.

Bin
>
>
> > S-video unknown connection 800x600+0+0 (normal left inverted right x axis y 
> > axis
> > ) 0mm x 0mm
> >800x60060.3*
> >
> > ## Note: There was no S-video connection that I knew about
>
> It can't be detected reliably, hence 'unknown connection'.
>
> > $ xrandr --output DVI-0 --auto
> > xrandr: cannot find crtc for output DVI-0
>
> This is probably related to S-video, try something like
>
> xrandr --output S-video --off --output DVI-0 --auto
>
> If you think this could be handled better, please bring it up on the
> [EMAIL PROTECTED] list.
>
>
> > And this: I saw this
> > https://bugs.freedesktop.org/show_bug.cgi?id=11796
> > This was the main reason I compiled the fresh xf86-video-ati sources:
> > I thought the patch mentioned on this page would solve the scrambled
> > mouse image on X: it didn't, IIRC ...
>
> Both the xserver and xf86-video-ati workaround hacks are needed.
>
>
> --
> Earthling Michel Dänzer   |  http://tungstengraphics.com
> Libre software enthusiast |  Debian, X and DRI developer
>


Re: Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-24 Thread Michel Dänzer

On Sat, 2007-11-24 at 02:47 +0100, Wolfgang Pfeiffer wrote:
> 
> On Fri, Nov 23 2007, at 18:58 +0100, Bin Zhang wrote:
> > On Nov 23, 2007 2:54 PM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> > > On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:
> > >
> > > > Sidenotes:
> > > >
> > > > Since installing the new driver some artifacts are visible around the
> > > > mouse-pointer in its default "arrow" image ...  Please let me know if
> > >
> > > This last line should have been saying:
> > > "mouse-pointer on X in its default "arrow" image [ ... ]"
> > >
> > >
> > > > a photo from that might help ...
> > > >
> > > > And the mouse is completely gone on the console .. haven't had time,
> > > > yet, to google/explore that ...
> > 
> > Try adding a line
> > Option  "SWcursor" "on"
> > in Section "Device" of your xorg.conf.

That's a rather heavy-handed workaround - in particular, the SW cursor
interacts badly with 3D acceleration and XVideo.

> The problem seems being gone for the moment, without having changed
> xorg.conf here ...

Only legacy two-colour cursors are affected, not modern 32 bit ARGB
cursors.


> S-video unknown connection 800x600+0+0 (normal left inverted right x axis y 
> axis
> ) 0mm x 0mm
>800x60060.3* 
> 
> ## Note: There was no S-video connection that I knew about

It can't be detected reliably, hence 'unknown connection'.

> $ xrandr --output DVI-0 --auto
> xrandr: cannot find crtc for output DVI-0

This is probably related to S-video, try something like

xrandr --output S-video --off --output DVI-0 --auto

If you think this could be handled better, please bring it up on the
[EMAIL PROTECTED] list.


> And this: I saw this
> https://bugs.freedesktop.org/show_bug.cgi?id=11796
> This was the main reason I compiled the fresh xf86-video-ati sources:
> I thought the patch mentioned on this page would solve the scrambled
> mouse image on X: it didn't, IIRC ... 

Both the xserver and xf86-video-ati workaround hacks are needed.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Hotplugging: VGA to alubook 5,8 [was: Re: getting wireless and dvi out [ ... ]]

2007-11-23 Thread Wolfgang Pfeiffer
Hi Bin, Everyone,

I'm starting a new thread: I do not want to hijack the one
where this ati-driver topic started ... 

On Fri, Nov 23 2007, at 18:58 +0100, Bin Zhang wrote:
> On Nov 23, 2007 2:54 PM, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote:
> > On Fri, Nov 23 2007, at 14:49 +0100, Wolfgang Pfeiffer wrote:
> >
> > > Sidenotes:
> > >
> > > Since installing the new driver some artifacts are visible around the
> > > mouse-pointer in its default "arrow" image ...  Please let me know if
> >
> > This last line should have been saying:
> > "mouse-pointer on X in its default "arrow" image [ ... ]"
> >
> >
> > > a photo from that might help ...
> > >
> > > And the mouse is completely gone on the console .. haven't had time,
> > > yet, to google/explore that ...
> 
> Try adding a line
> Option  "SWcursor" "on"
> in Section "Device" of your xorg.conf.

The problem seems being gone for the moment, without having changed
xorg.conf here ... But I'll have a look into the "SWcursor" "on"
option .. Thanks for the hint, Bin ...
The problem I reported a few hours ago about the missing mouse pointer
on console probably was due to a crashed gpm server ... Perhaps it
went belly up after restarting X a few times in a row ... not being
sure .. :)


Then this:

BTW: Anyone out there who compiled today's (Friday, Nov 23) radeon
sources received via
'git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-ati' ?

I compiled them this evening, overwrote the drivers in the
xserver-xorg-video-ati package from experimental, and got errors like
those when I connected the VGA mentioned in the previous thread:

--

First a newly compiled xrandr (got the sources via
git-clone git://anongit.freedesktop.org/git/xorg/app/xrandr
 .. IINM):

./downloads/radeon/xrandr/xrandr/xrandr -q
Screen 0: minimum 320 x 200, current 1440 x 960, maximum 1440 x 1200
LVDS connected 1440x960+0+0 (normal left inverted right x axis y axis) 321mm x 2
14mm
   1440x960   59.9*+
   1280x800   60.0  
   1280x768   60.0  
   1024x768   60.0  
   800x60060.3  
   640x48059.9  
DVI-0 connected (normal left inverted right x axis y axis)
   1440x960   60.0  
   1280x800   59.8 60.0  
   1280x768   60.0  
   1152x720   60.0  
   1024x768   60.0 59.9  
   1024x640   59.9  
   800x60060.3  
   800x50059.5  
   720x48059.7  
   640x48059.9  
S-video unknown connection 800x600+0+0 (normal left inverted right x axis y axis
) 0mm x 0mm
   800x60060.3* 

## Note: There was no S-video connection that I knew about
--

Then using the old xrandr from
x11-xserver-utils 7.3+1:

$ xrandr --output DVI-0 --auto
xrandr: cannot find crtc for output DVI-0

-
The new xrandr compiled from sources I got via
git-clone git://anongit.freedesktop.org/git/xorg/app/xrandr

./downloads/radeon/xrandr/xrandr/xrandr --output DVI-0 --auto
./downloads/radeon/xrandr/xrandr/xrandr: cannot find crtc for output DVI-0
-

Going back to xserver-xorg-video-ati_6.7.196-1 solved these issues,
and I could successfully connect the old VGA as I already described a
few hours ago ...

Anything I missed?

And this: I saw this
https://bugs.freedesktop.org/show_bug.cgi?id=11796
This was the main reason I compiled the fresh xf86-video-ati sources:
I thought the patch mentioned on this page would solve the scrambled
mouse image on X: it didn't, IIRC ... 

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key: 0xE3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]