Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-09 Thread Wil Reichert
On Sat, May 9, 2009 at 12:40 AM, David C. Rankin, J.D.,P.E.
 wrote:
> On Friday 08 May 2009 23:23:57 you wrote:
>> On Fri, May 8, 2009 at 9:09 PM, David C. Rankin, J.D.,P.E.
>>
>>  wrote:
>> > On Friday 08 May 2009 10:59:26 Adam K Kirchhoff wrote:
>> >> On Fri, 8 May 2009 08:25:49 -0500
>> >>
>> >> "David C. Rankin, J.D.,P.E."  wrote:
>> >> > Sam, Danny, J., all
>> >> >
>> >> >     I am working with the radeon and radeonhd drivers seeing if I can
>> >> > get them to work with compiz 0.8.2.1 on my radeon x1200 laptop. My
>> >> > xorg .conf is:
>> >> >
>> >> > Section "Device"
>> >> >   BoardName    "RV350 NP"
>> >> > #  Driver       "radeon"
>> >> >   Driver       "radeonhd"
>> >> >   Identifier   "Device[0]"
>> >> >   VendorName   "ATI"
>> >> > EndSection
>> >> >
>> >> >     I have tried both the radeon and radeon hd driver with same
>> >> > results. Upon Compiz start, the display behaves exactly like it is
>> >> > going to work. The display goes blank, sequentially erasing and
>> >> > redrawing each window, but then it never actually  starts. The windows
>> >> > are just left there with no decor. You can sill provide in put to
>> >> > them, but you cannot move or resize them. Issuing kwin --replace
>> >> > causes the reverse to happen (windows destroyed, black screen, windows
>> >> > then redrawn with kde decor.
>> >> >
>> >> >     Does anybody have and idea what's happening and how to fix it?
>> >> > Thanks.
>> >>
>> >> Assuming you have the Mesa 3D drivers installed and working properly,
>> >> then yes, compiz will work just fine.
>> >>
>> >> What distribution is this, and how are you trying to start compiz?
>> >> What's the output of 'glxinfo'?
>> >>
>> >> Adam
>> >> ___
>> >
>> > Adam,
>> >
>> >        I mesa is loaded, but I'm not sure what you mean by Mesa 3D. I
>> > just know it as Mesa. Here is what is loaded:
>> >
>> > (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
>> > (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
>> >
>> >        Do I need something else?
>>
>> I had a problem similar to this on Gentoo.  I'd kick off compiz and no
>> borders, no errors, nothing.  Then I realized everything was working
>> fine, compiz just wasn't configured at all.  Figured it was just
>> stupid defaults on Gentoo, perhaps its more global that that.  Try
>> this - launch compiz however you do form a terminal, then run ccsm.
>> Start enabling stuff.  under window management make sure you get 'move
>> window' and 'resize window' and application switcher at the very
>> least.  for image loading, select everything.  Under effects select
>> 'window decorations'.  Under utility select 'dbus', 'glib' &
>> 'inotify'.  Try that, it should get you basic functionality.  Beyond
>> that, its all however much bling you want.  Most of the shiny comes
>> from 'wobbly windows', '3d windows' and 'animations' tho.
>>
>> How that helps.
>>
>> Wil
>
> Wil,
>
>        You are a genious! I never would have believed it. The current install 
> is on
> archlinux. Most of my other installs are opensuse (where a fglrx driver is
> available). All I did was rsync my .config/compiz/compizconfig from an
> opensuse box over to my archlinux box, started compiz again and Presto! All
> was well in the world -- well almost ;-)
>
>        Man this was strange?? Is the default config distro specific or is it a
> compiz generic issues that could be tweaked here?
>
>        Only other strange issues for compiz with the radeonhd driver is that 
> when I
> run glxgears, the background for the gears is completely transparent (100%
> gone). Additionally, shift switcher does not erase the original windows
> before drawing the shift switch windows (the gradient draws correctly though)
> See:
>
> http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/shiftswitch.jpg
>
>        After closing all apps and restarting them shiftswitch seems ok??
>
> http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/shiftswitch.jpg
>
>        Only real downside so far with the radeonhd driver is the frame-rates 
> in
> glxgears is about 1/5 what it was with the fglrx driver (Current: 188 FPS,
> w/fglrx: 1000 FPS). But the desktop effects work smoothly, etc.. The only
> noticeable lag is with rotate cube and on window resize, but it isn't that
> bad either.
>
>        Thanks again!
>
> cc: [email protected]
>
>        Guys see also, the glxinfo output and Xorg.0.log:
>
> http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/glxinfo-radeonhd
>
> http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/Xorg.0.log

Cool.  I suspect this is the just the compiz default, why I have no idea.

The fglrx driver is typically faster than either open source drivers
in 3D, but I'll take the performance hit over a binary blob any day.
I noticed in your logs you are using XAA, you can see if switching to
EXA makes any of the issues go away.  Alternately, theres the
xf86-video-ati driver you can try 

Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-09 Thread Adam K Kirchhoff
On Fri, 8 May 2009 23:09:55 -0500
"David C. Rankin, J.D.,P.E."  wrote:

> On Friday 08 May 2009 10:59:26 Adam K Kirchhoff wrote:
> > On Fri, 8 May 2009 08:25:49 -0500
> >
> > "David C. Rankin, J.D.,P.E."  wrote:
> > > Sam, Danny, J., all
> > >
> > >   I am working with the radeon and radeonhd drivers seeing if I can get
> > > them to work with compiz 0.8.2.1 on my radeon x1200 laptop. My xorg .conf
> > > is:
> > >
> > > Section "Device"
> > >   BoardName"RV350 NP"
> > > #  Driver   "radeon"
> > >   Driver   "radeonhd"
> > >   Identifier   "Device[0]"
> > >   VendorName   "ATI"
> > > EndSection
> > >
> > >   I have tried both the radeon and radeon hd driver with same results.
> > > Upon Compiz start, the display behaves exactly like it is going to work.
> > > The display goes blank, sequentially erasing and redrawing each window,
> > > but then it never actually  starts. The windows are just left there with
> > > no decor. You can sill provide in put to them, but you cannot move or
> > > resize them. Issuing kwin --replace causes the reverse to happen (windows
> > > destroyed, black screen, windows then redrawn with kde decor.
> > >
> > >   Does anybody have and idea what's happening and how to fix it? Thanks.
> >
> > Assuming you have the Mesa 3D drivers installed and working properly,
> > then yes, compiz will work just fine.
> >
> > What distribution is this, and how are you trying to start compiz?
> > What's the output of 'glxinfo'?
> >
> > Adam
> > ___
> > compiz mailing list
> > [email protected]
> > http://lists.freedesktop.org/mailman/listinfo/compiz
> 
> 
> Adam,
> 
>   I mesa is loaded, but I'm not sure what you mean by Mesa 3D. I just 
> know it 
> as Mesa. Here is what is loaded:
> 
> (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> 
>   Do I need something else?

You still need to say what distribution you are using and how you are
trying to start compiz.

Adam
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-09 Thread David C. Rankin, J.D.,P.E.
On Friday 08 May 2009 23:23:57 you wrote:
> On Fri, May 8, 2009 at 9:09 PM, David C. Rankin, J.D.,P.E.
>
>  wrote:
> > On Friday 08 May 2009 10:59:26 Adam K Kirchhoff wrote:
> >> On Fri, 8 May 2009 08:25:49 -0500
> >>
> >> "David C. Rankin, J.D.,P.E."  wrote:
> >> > Sam, Danny, J., all
> >> >
> >> >     I am working with the radeon and radeonhd drivers seeing if I can
> >> > get them to work with compiz 0.8.2.1 on my radeon x1200 laptop. My
> >> > xorg .conf is:
> >> >
> >> > Section "Device"
> >> >   BoardName    "RV350 NP"
> >> > #  Driver       "radeon"
> >> >   Driver       "radeonhd"
> >> >   Identifier   "Device[0]"
> >> >   VendorName   "ATI"
> >> > EndSection
> >> >
> >> >     I have tried both the radeon and radeon hd driver with same
> >> > results. Upon Compiz start, the display behaves exactly like it is
> >> > going to work. The display goes blank, sequentially erasing and
> >> > redrawing each window, but then it never actually  starts. The windows
> >> > are just left there with no decor. You can sill provide in put to
> >> > them, but you cannot move or resize them. Issuing kwin --replace
> >> > causes the reverse to happen (windows destroyed, black screen, windows
> >> > then redrawn with kde decor.
> >> >
> >> >     Does anybody have and idea what's happening and how to fix it?
> >> > Thanks.
> >>
> >> Assuming you have the Mesa 3D drivers installed and working properly,
> >> then yes, compiz will work just fine.
> >>
> >> What distribution is this, and how are you trying to start compiz?
> >> What's the output of 'glxinfo'?
> >>
> >> Adam
> >> ___
> >
> > Adam,
> >
> >        I mesa is loaded, but I'm not sure what you mean by Mesa 3D. I
> > just know it as Mesa. Here is what is loaded:
> >
> > (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> > (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
> >
> >        Do I need something else?
>
> I had a problem similar to this on Gentoo.  I'd kick off compiz and no
> borders, no errors, nothing.  Then I realized everything was working
> fine, compiz just wasn't configured at all.  Figured it was just
> stupid defaults on Gentoo, perhaps its more global that that.  Try
> this - launch compiz however you do form a terminal, then run ccsm.
> Start enabling stuff.  under window management make sure you get 'move
> window' and 'resize window' and application switcher at the very
> least.  for image loading, select everything.  Under effects select
> 'window decorations'.  Under utility select 'dbus', 'glib' &
> 'inotify'.  Try that, it should get you basic functionality.  Beyond
> that, its all however much bling you want.  Most of the shiny comes
> from 'wobbly windows', '3d windows' and 'animations' tho.
>
> How that helps.
>
> Wil

Wil,

You are a genious! I never would have believed it. The current install 
is on 
archlinux. Most of my other installs are opensuse (where a fglrx driver is 
available). All I did was rsync my .config/compiz/compizconfig from an 
opensuse box over to my archlinux box, started compiz again and Presto! All 
was well in the world -- well almost ;-)

Man this was strange?? Is the default config distro specific or is it a 
compiz generic issues that could be tweaked here?

Only other strange issues for compiz with the radeonhd driver is that 
when I 
run glxgears, the background for the gears is completely transparent (100% 
gone). Additionally, shift switcher does not erase the original windows 
before drawing the shift switch windows (the gradient draws correctly though) 
See:

http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/shiftswitch.jpg

After closing all apps and restarting them shiftswitch seems ok??

http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/shiftswitch.jpg

Only real downside so far with the radeonhd driver is the frame-rates 
in 
glxgears is about 1/5 what it was with the fglrx driver (Current: 188 FPS, 
w/fglrx: 1000 FPS). But the desktop effects work smoothly, etc.. The only 
noticeable lag is with rotate cube and on window resize, but it isn't that 
bad either.

Thanks again!

cc: [email protected]

Guys see also, the glxinfo output and Xorg.0.log:

http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/glxinfo-radeonhd

http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/Xorg.0.log

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-08 Thread Wil Reichert
On Fri, May 8, 2009 at 9:09 PM, David C. Rankin, J.D.,P.E.
 wrote:
> On Friday 08 May 2009 10:59:26 Adam K Kirchhoff wrote:
>> On Fri, 8 May 2009 08:25:49 -0500
>>
>> "David C. Rankin, J.D.,P.E."  wrote:
>> > Sam, Danny, J., all
>> >
>> >     I am working with the radeon and radeonhd drivers seeing if I can get
>> > them to work with compiz 0.8.2.1 on my radeon x1200 laptop. My xorg .conf
>> > is:
>> >
>> > Section "Device"
>> >   BoardName    "RV350 NP"
>> > #  Driver       "radeon"
>> >   Driver       "radeonhd"
>> >   Identifier   "Device[0]"
>> >   VendorName   "ATI"
>> > EndSection
>> >
>> >     I have tried both the radeon and radeon hd driver with same results.
>> > Upon Compiz start, the display behaves exactly like it is going to work.
>> > The display goes blank, sequentially erasing and redrawing each window,
>> > but then it never actually  starts. The windows are just left there with
>> > no decor. You can sill provide in put to them, but you cannot move or
>> > resize them. Issuing kwin --replace causes the reverse to happen (windows
>> > destroyed, black screen, windows then redrawn with kde decor.
>> >
>> >     Does anybody have and idea what's happening and how to fix it? Thanks.
>>
>> Assuming you have the Mesa 3D drivers installed and working properly,
>> then yes, compiz will work just fine.
>>
>> What distribution is this, and how are you trying to start compiz?
>> What's the output of 'glxinfo'?
>>
>> Adam
>> ___
>> compiz mailing list
>> [email protected]
>> http://lists.freedesktop.org/mailman/listinfo/compiz
>
>
> Adam,
>
>        I mesa is loaded, but I'm not sure what you mean by Mesa 3D. I just 
> know it
> as Mesa. Here is what is loaded:
>
> (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
> (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
>
>        Do I need something else?

I had a problem similar to this on Gentoo.  I'd kick off compiz and no
borders, no errors, nothing.  Then I realized everything was working
fine, compiz just wasn't configured at all.  Figured it was just
stupid defaults on Gentoo, perhaps its more global that that.  Try
this - launch compiz however you do form a terminal, then run ccsm.
Start enabling stuff.  under window management make sure you get 'move
window' and 'resize window' and application switcher at the very
least.  for image loading, select everything.  Under effects select
'window decorations'.  Under utility select 'dbus', 'glib' &
'inotify'.  Try that, it should get you basic functionality.  Beyond
that, its all however much bling you want.  Most of the shiny comes
from 'wobbly windows', '3d windows' and 'animations' tho.

How that helps.

Wil
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-08 Thread David C. Rankin, J.D.,P.E.
On Friday 08 May 2009 10:59:26 Adam K Kirchhoff wrote:
> On Fri, 8 May 2009 08:25:49 -0500
>
> "David C. Rankin, J.D.,P.E."  wrote:
> > Sam, Danny, J., all
> >
> > I am working with the radeon and radeonhd drivers seeing if I can get
> > them to work with compiz 0.8.2.1 on my radeon x1200 laptop. My xorg .conf
> > is:
> >
> > Section "Device"
> >   BoardName"RV350 NP"
> > #  Driver   "radeon"
> >   Driver   "radeonhd"
> >   Identifier   "Device[0]"
> >   VendorName   "ATI"
> > EndSection
> >
> > I have tried both the radeon and radeon hd driver with same results.
> > Upon Compiz start, the display behaves exactly like it is going to work.
> > The display goes blank, sequentially erasing and redrawing each window,
> > but then it never actually  starts. The windows are just left there with
> > no decor. You can sill provide in put to them, but you cannot move or
> > resize them. Issuing kwin --replace causes the reverse to happen (windows
> > destroyed, black screen, windows then redrawn with kde decor.
> >
> > Does anybody have and idea what's happening and how to fix it? Thanks.
>
> Assuming you have the Mesa 3D drivers installed and working properly,
> then yes, compiz will work just fine.
>
> What distribution is this, and how are you trying to start compiz?
> What's the output of 'glxinfo'?
>
> Adam
> ___
> compiz mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/compiz


Adam,

I mesa is loaded, but I'm not sure what you mean by Mesa 3D. I just 
know it 
as Mesa. Here is what is loaded:

(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control

Do I need something else?

-- 
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-08 Thread David C. Rankin, J.D.,P.E.
On Friday 08 May 2009 10:37:25 you wrote:
> Try adding
>
> Option  "DRI"   "on"
>

Pierpaolo,

Thanks, sorry I forgot to include that information, but DRI is loaded:

[09:23 alchemy:/home/david] # grep -i dri /var/log/Xorg.0.log
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' 
will be disabled.
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
(II) "dri" will be loaded. This was enabled by default and also specified in 
the config file.
(II) "dri2" will be loaded by default.
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
(II) Loading extension DRI2
(II) Loading /usr/lib/xorg/modules/drivers//radeonhd_drv.so
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD: X driver for the following AMD GPG (ATI) graphics devices:
(**) RADEONHD(0): Option "NoDRI" "no"
(II) RADEONHD(0): Found libdri 5.4.0.
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
ABI class: X.Org Video Driver, version 5.0
(II) RADEONHD(0): FB: Allocated DRI Back Buffer at offset 0x025D3000 (size = 
0x0190)
(II) RADEONHD(0): FB: Allocated DRI Depth Buffer at offset 0x03ED3000 (size = 
0x0190)
(II) RADEONHD(0): FB: Allocated DRI Textures at offset 0x057D3000 (size = 
0x0280)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) RADEONHD(0): [dri] Visual configs initialized
(II) RADEONHD(0): [DRI] installation complete
(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) AIGLX: enabled GLX_texture_from_pixmap with driver support
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/r300_dri.so
(II) GLX: Initialized DRI GL provider for screen 0

The full Xorg.0.log is here:

http://www.3111skyline.com/download/Archlinux/compiz/radeonhd/Xorg.0.log

-- 
David C. Rankin, J.D., P.E.
3111 Skyline Drive
Nacogdoches, Texas 75965
Telephone: (936) 564-4707
Facsimile: (936) 560-3860
www.3111skyline.com
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-08 Thread Adam K Kirchhoff
On Fri, 8 May 2009 08:25:49 -0500
"David C. Rankin, J.D.,P.E."  wrote:

> Sam, Danny, J., all
> 
>   I am working with the radeon and radeonhd drivers seeing if I can get 
> them to 
> work with compiz 0.8.2.1 on my radeon x1200 laptop. My xorg .conf is:
> 
> Section "Device"
>   BoardName"RV350 NP"
> #  Driver   "radeon"
>   Driver   "radeonhd"
>   Identifier   "Device[0]"
>   VendorName   "ATI"
> EndSection
> 
>   I have tried both the radeon and radeon hd driver with same results. 
> Upon 
> Compiz start, the display behaves exactly like it is going to work. The 
> display goes blank, sequentially erasing and redrawing each window, but then 
> it never actually  starts. The windows are just left there with no decor. You 
> can sill provide in put to them, but you cannot move or resize them. Issuing 
> kwin --replace causes the reverse to happen (windows destroyed, black screen, 
> windows then redrawn with kde decor.
> 
>   Does anybody have and idea what's happening and how to fix it? Thanks.

Assuming you have the Mesa 3D drivers installed and working properly,
then yes, compiz will work just fine.

What distribution is this, and how are you trying to start compiz?
What's the output of 'glxinfo'?

Adam
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Will radeon or radeonhd work with compiz?

2009-05-08 Thread Pierpaolo Follia
Try adding

Option  "DRI"   "on"

Regards,
Pierpaolo

On Fri, May 8, 2009 at 15:25, David C. Rankin, J.D.,P.E.
 wrote:
> Sam, Danny, J., all
>
>        I am working with the radeon and radeonhd drivers seeing if I can get 
> them to
> work with compiz 0.8.2.1 on my radeon x1200 laptop. My xorg .conf is:
>
> Section "Device"
>  BoardName    "RV350 NP"
> #  Driver       "radeon"
>  Driver       "radeonhd"
>  Identifier   "Device[0]"
>  VendorName   "ATI"
> EndSection
>
>        I have tried both the radeon and radeon hd driver with same results. 
> Upon
> Compiz start, the display behaves exactly like it is going to work. The
> display goes blank, sequentially erasing and redrawing each window, but then
> it never actually  starts. The windows are just left there with no decor. You
> can sill provide in put to them, but you cannot move or resize them. Issuing
> kwin --replace causes the reverse to happen (windows destroyed, black screen,
> windows then redrawn with kde decor.
>
>        Does anybody have and idea what's happening and how to fix it? Thanks.
>
> --
> David C. Rankin, J.D.,P.E.
> Rankin Law Firm, PLLC
> 510 Ochiltree Street
> Nacogdoches, Texas 75961
> Telephone: (936) 715-9333
> Facsimile: (936) 715-9339
> www.rankinlawfirm.com
> ___
> compiz mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/compiz
>



-- 
Pierpaolo Follia
http://madchicken.altervista.org/tech
___
compiz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/compiz