Re: [compiz] Dual-screen compiz mostly working

2007-08-07 Thread Mick Semb Wever

 Most of these problems are all the same problem, from the look of it.
 Your screen resolution is higher than your video card's maximum texture
 size. This is simply a hardware limitation.

You were absolutely right after all.
The strange limitations i was seeing was because i was changing between 
screen resolutions w/ xrandr while compiz was running.
If i use xrandr to set the total resolution of both screens to 1400x1818 
and *then* start compiz it works beautifully.

Some of the other oddities were fixed by xorg.conf tweaking.
thank you everyone for the valuable help.
~mck

-- 
Buddhism has the characteristics of what would be expected in a cosmic
religion for the future: It transcends a personal God, avoids dogmas and
theology; it covers both the natural and the spiritual, and it is based on
a religious sense aspiring from the experience of all things, natural and
spiritual, as a meaningful unity. Albert Einstein
Homepage - www.wever.org | Sesam Search Engine - www.sesam.no

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-06 Thread Michel Dänzer
On Sun, 2007-08-05 at 12:30 +, Mick Semb Wever wrote:
 
 Option  BackingStore true

This is generally a bad idea, does disabling it make any difference?

 Option  ExaNoOffscreenPixmaps true

No such option, though Option FBTexPercent 100 should have more or
less the same effect as XaaNoOffscreenPixmaps.


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

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-05 Thread Mick Semb Wever
On Fri, 03 Aug 2007 05:24:55 -0500, Travis Watkins wrote:

 Increase the memory for the video chip in your BIOS.

My laptop has X600 that uses PCI-Express.
I cannot find anyway of increasing memory.
My xorg.conf radeon settings are:

Section Device
Identifier  ATI Graphics Adapter connector 0
Driver  radeon

Option  DynamicClocks on
Option  BIOSHotkeys true

Option  MergedFB  true
Option  MonitorLayout LVDS, TMDS
Option  CRT2Position  RightOf
#   Option  CRT2Position  Above
Option  MergedXinerama on

# This allows X to use MergedFB if the external monitor is not connected
# when I start X.  The ranges are taken from DDC values of the CTX monitor
# I use at the office; as listed in Xorg.log.
Option  CRT2HSync 30-81
Option  CRT2VRefresh  56-60

# The next line lets me switch between dual-head and several clone modes
# of varying resolutions with xrandr.
Option  MetaModes 1400x1050-1600x1200 1400x1050-1200x900 
1400x1050-1024x768 1024x768-1024x768 1400x1050 1200x900 1024x768

# A newer version of the radeon driver has an option that disables vertical
# scrolling for the 1024x768 part.
Option  MergedNonRectangular  true

# In 1024x768-1280x1024 mode the DPI is correct (100), but in all other
# modes it is weird.  Try to override
Option  MergedDPI 100 100

# 
http://gentoo-wiki.com/HOWTO_XGL/Troubleshooting#Flickering_on_compiz_effects_after_a_VT_switch
#   Option EnablePageFlip true
Option EnablePageFlip false

Option DRItrue

# http://gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers
#   Option AGPMode 4
#   Option AGPFastWrite on
Option ColorTiling on
Option RenderAccel on
Option AccelMethod EXA # EXA or XXA

Option  BackingStore true
Option  XAANoOffscreenPixmaps true
Option  ExaNoOffscreenPixmaps true

BusID PCIE:1:0:0# vendor=1002, device=3150
Screen 0
EndSection


~mck

-- 
Listen, or your tongue will make you deaf. Cherokee saying
Homepage - www.wever.org | Sesam Search Engine - www.sesam.no

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-05 Thread Mick Semb Wever
On Sun, 05 Aug 2007 12:30:40 +, Mick Semb Wever wrote:

 BusID PCIE:1:0:0# vendor=1002, device=3150

My mistake. It should read

BusID PCI:1:0:0# vendor=1002, device=3150

~mck

-- 
Buddhism has the characteristics of what would be expected in a cosmic
religion for the future: It transcends a personal God, avoids dogmas and
theology; it covers both the natural and the spiritual, and it is based on
a religious sense aspiring from the experience of all things, natural and
spiritual, as a meaningful unity. Albert Einstein
Homepage - www.wever.org | Sesam Search Engine - www.sesam.no

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-03 Thread Mick Semb Wever
On Wed, 01 Aug 2007 12:03:30 +0200, Michel Dänzer wrote:

  - my second screen doesn't render properly. Compiz events cause it to
 redraw but application events do not cause a redraw! This is a
 showstopper for me so i'm still using metacity when in dual- screen
 setup.
 
 That sounds weird, can you create screenshots or something to illustrate
 the problem?

I've got some video captures of the problem:
http://wever.org/compiz-dualscreen-horizontal-3000x1200.ogg  
http://wever.org/compiz-dualscreen-vertical-1600x2250.ogg
http://wever.org/compiz-dualscreen-vertical-1400x1818.ogg  

For horizontal-3000x1200, you can see the both compiz and applications 
events are accurately redrawn on the first monitor, but only compiz 
events are redrawn on the second monitor.

For vertical-1600x2250, which also exceeds the 2048x2048 texture 
limitation, the same is true although a part of the second monitor 
redraws both ok.

For vertical-1400x1818, which should be within the texture limitation, a 
similar result to vertical-1600x2250 occurs where only a part of the 
second monitor is redrawn. 

Some extra oddities:
 - this texture buffer, or atleast the rectangle covering both screens 
that redraws correctly, seems to change depending on the screen 
resolutions, ie it isn't fixed to 2048x2048,
 - never in dual-screen is my nautilus background rendered, except 
through the application-transparency of the gterm window,
 - even in single-screen sometimes the desktop background (infact 
everything but the current window) flashes black, i've seen this happen 
when an icon in gnome's system tray is blinking,
 - even in single-screen sometimes windows (more often maximised windows) 
just appear black or with the full desktop's background rendered within 
the window. When the background is rendered in the window instead of the 
application's contents the background is live regarding any changes to 
the real desktop background.

~mck


-- 
Traveller, there are no paths. Paths are made by walking. Australian
Aboriginal saying
Homepage - www.wever.org | Sesam Search Engine - www.sesam.no

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-03 Thread Travis Watkins
On 8/3/07, Mick Semb Wever [EMAIL PROTECTED] wrote:
 On Wed, 01 Aug 2007 12:03:30 +0200, Michel Dänzer wrote:

   - my second screen doesn't render properly. Compiz events cause it to
  redraw but application events do not cause a redraw! This is a
  showstopper for me so i'm still using metacity when in dual- screen
  setup.
 
  That sounds weird, can you create screenshots or something to illustrate
  the problem?

 I've got some video captures of the problem:
 http://wever.org/compiz-dualscreen-horizontal-3000x1200.ogg
 http://wever.org/compiz-dualscreen-vertical-1600x2250.ogg
 http://wever.org/compiz-dualscreen-vertical-1400x1818.ogg

 For horizontal-3000x1200, you can see the both compiz and applications
 events are accurately redrawn on the first monitor, but only compiz
 events are redrawn on the second monitor.

 For vertical-1600x2250, which also exceeds the 2048x2048 texture
 limitation, the same is true although a part of the second monitor
 redraws both ok.

 For vertical-1400x1818, which should be within the texture limitation, a
 similar result to vertical-1600x2250 occurs where only a part of the
 second monitor is redrawn.

 Some extra oddities:
  - this texture buffer, or atleast the rectangle covering both screens
 that redraws correctly, seems to change depending on the screen
 resolutions, ie it isn't fixed to 2048x2048,
  - never in dual-screen is my nautilus background rendered, except
 through the application-transparency of the gterm window,
  - even in single-screen sometimes the desktop background (infact
 everything but the current window) flashes black, i've seen this happen
 when an icon in gnome's system tray is blinking,
  - even in single-screen sometimes windows (more often maximised windows)
 just appear black or with the full desktop's background rendered within
 the window. When the background is rendered in the window instead of the
 application's contents the background is live regarding any changes to
 the real desktop background.

 ~mck



Increase the memory for the video chip in your BIOS.

-- 
Travis Watkins
http://www.realistanew.com
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-02 Thread David Reveman
On Wed, 2007-08-01 at 12:03 +0200, Michel Dänzer wrote:
 On Wed, 2007-08-01 at 07:50 +, Mick Semb Wever wrote:
  
   - my second screen doesn't render properly. Compiz events cause it to 
  redraw but application events do not cause a redraw!
  This is a showstopper for me so i'm still using metacity when in dual-
  screen setup.
 
 That sounds weird, can you create screenshots or something to illustrate
 the problem?
 
 
   - my screens must be vertically positioned. Compiz doesn't render the 
  full width when the screens are side by side. Even when vertically 
  position i cannot have the second screen at 1600x1400 for the same reason.
  Is this a limitation of compiz? Are there plans to fix/improve it?
 
 This is most likely due to the coordinate limits of the hardware 3D
 engine. That could be worked around in the Mesa driver, but there would
 still be the texture size limit others pointed out, and that can't be
 worked around in the drivers with the current
 GLX_EXT_texture_from_pixmap API so it would have to worked around by
 different means by compiz.
 
 
   - my fonts are not nearly as clean and crisp under compiz as they are 
  under metacity. It's like the fonts are thick and fuzzy under compiz. 
 
 I've seen this before, I think it happened
 when /apps/compiz/general/allscreens/options/texture_filter is set to 2
 (maybe also 1)
 and /apps/compiz/plugins/cube/screen0/options/inactive_opacity was set
 to less than 100 (which I think is a bad idea in general).

compiz will always use NEAREST filter when windows aren't transformed
and the texture_filter option will only change the filter that is used
for transformed windows. Anyhow, if the BILINEAR filter happens to be
used when a window isn't transformed, a decent OpenGL implementation
should provide BILINEAR texture filtering that is accurate enough to not
produce a visible difference between NEAREST and BILINEAR filters in the
non-transformed case.

-David

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


[compiz] Dual-screen compiz mostly working

2007-08-01 Thread Mick Semb Wever
I have dual-screen compiz-fusion finally working on my ATI Radeon 
Mobility X600.
AIGLX was the way to go using MergedFB.

gentoo linux-2.6.22
x11-base/xorg-server-1.2.0-r3  
x11-base/xorg-x11-7.2 
media-libs/mesa-6.5.2-r1 
x11-wm/compiz-  
x11-wm/compiz-fusion- 


But a number of remaining issues:

 - my second screen doesn't render properly. Compiz events cause it to 
redraw but application events do not cause a redraw!
This is a showstopper for me so i'm still using metacity when in dual-
screen setup.
I tried all sorts of tweaks onto my xorg.conf but nothing seemed to work.
I thought it was maybe DynamicClocks but turning it to off didn't help.
Do any of the compiz gurus know what might be at fault here or what i 
might do to provide better information on the bug?

 - my screens must be vertically positioned. Compiz doesn't render the 
full width when the screens are side by side. Even when vertically 
position i cannot have the second screen at 1600x1400 for the same reason.
Is this a limitation of compiz? Are there plans to fix/improve it?

 - my nautilus background ( desktop icons) disappear replaced with the 
partially transparent cube. I haven't quite pinned down what causes this 
but it does very rarely also occur on single-screen setup. Opening more 
applications seems to aggravate it occurring, and so does the Reflection 
plugin.

 - my fonts are not nearly as clean and crisp under compiz as they are 
under metacity. It's like the fonts are thick and fuzzy under compiz. 
(I'm sure there's a correct terminology for that but i'm no expert).

any help would be greatly appreciated!

~mck


-- 
The possibility that we may fail in the struggle should not deter us from
supporting a cause we believe to be just. Abraham Lincoln
Homepage - www.wever.org | Sesam Search Engine - www.sesam.no

___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-01 Thread Travis Watkins
On 8/1/07, Mick Semb Wever [EMAIL PROTECTED] wrote:
 I have dual-screen compiz-fusion finally working on my ATI Radeon
 Mobility X600.
 AIGLX was the way to go using MergedFB.

 gentoo linux-2.6.22
 x11-base/xorg-server-1.2.0-r3
 x11-base/xorg-x11-7.2
 media-libs/mesa-6.5.2-r1
 x11-wm/compiz-
 x11-wm/compiz-fusion-


 But a number of remaining issues:

  - my second screen doesn't render properly. Compiz events cause it to
 redraw but application events do not cause a redraw!
 This is a showstopper for me so i'm still using metacity when in dual-
 screen setup.
 I tried all sorts of tweaks onto my xorg.conf but nothing seemed to work.
 I thought it was maybe DynamicClocks but turning it to off didn't help.
 Do any of the compiz gurus know what might be at fault here or what i
 might do to provide better information on the bug?

  - my screens must be vertically positioned. Compiz doesn't render the
 full width when the screens are side by side. Even when vertically
 position i cannot have the second screen at 1600x1400 for the same reason.
 Is this a limitation of compiz? Are there plans to fix/improve it?

  - my nautilus background ( desktop icons) disappear replaced with the
 partially transparent cube. I haven't quite pinned down what causes this
 but it does very rarely also occur on single-screen setup. Opening more
 applications seems to aggravate it occurring, and so does the Reflection
 plugin.

  - my fonts are not nearly as clean and crisp under compiz as they are
 under metacity. It's like the fonts are thick and fuzzy under compiz.
 (I'm sure there's a correct terminology for that but i'm no expert).

 any help would be greatly appreciated!

 ~mck



Most of these problems are all the same problem, from the look of it.
Your screen resolution is higher than your video card's maximum
texture size. This is simply a hardware limitation. Compiz could do a
workaround for it but it'd be slow.

-- 
Travis Watkins
http://www.realistanew.com
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz


Re: [compiz] Dual-screen compiz mostly working

2007-08-01 Thread Christopher Halse Rogers
On 8/1/07, Mick Semb Wever [EMAIL PROTECTED] wrote:
 On Wed, 01 Aug 2007 03:01:45 -0500, Travis Watkins wrote:

 Thanks Travis  Christopher!

- my screens must be vertically positioned. Compiz doesn't render the
   full width when the screens are side by side. Even when vertically
   position i cannot have the second screen at 1600x1400 for the same
  reason.
   Is this a limitation of compiz? Are there plans to fix/improve it?

  Is a hardware/driver limitation.  You can't have textures larger than
  2048x2048, and your (total) desktop has to be one texture.

  I think that it is technically possible for Compiz to work around this
  limitation; there was a patch for a copy-mode rendering plugin that
  theoretically could allow a graceful fallback for textures larger than
  the hardware maximum.  I'm not sure if the patch actually had that
  behaviour, and no-one seems to be trying to implement it.

 Where can i find this patch or copy-mode rendering plugin?
 (I'd like to atleast give it a try).

A quick search of the archives gives:
http://lists.freedesktop.org/archives/compiz/2007-May/002165.html as
the link you are after.  Read the warning :).
___
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz