Gentoo Forums
Gentoo Forums
Quick Search: in
No emerald as window decorator [SOLVED]
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
ruivilela
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 181
Location: Łódź

PostPosted: Fri May 04, 2007 8:07 pm    Post subject: No emerald as window decorator [SOLVED] Reply with quote

Hi

I've a laptop with a nvidia GForce4 420go with the 9631-r1 driver (97* are not supported).
GLX, and later beryl seems to work. But emerald freezes when called from cmdline, and no output. And it never started.
I just tried all configurations i saw in previous forum posts about beryl and emerald.

If i change the rendering path to copy, this will result on graphics garbling.

This problems comes already from version 1.4, and both emerald and beryl are version 2.1 compiled with emerald USE flag

Xorg configuration:
Code:

...

Section "Device"
   Identifier   "Generic Video Card"
   Driver      "nvidia"
   BusID      "PCI:01:00:0"
   Option      "NoLogo" "true"
   Option       "RenderAccel" "true"
   # Avoid initial Lock
   Option   "IgnoreEDID"      "true"
        # Some Pointer Eyecandy
        Option           "CursorShadow" "1"
        Option           "CursorShadowAlpha" "63"
        Option           "CursorShadowYOffset" "1"
        Option           "CursorShadowXOffset" "2"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   HorizSync   28-49
   VertRefresh   43-72
   Option      "DPMS"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   16

        Option      "AddARGBGLXVisuals" "true"
        Option      "DisableGLXRootClipping" "True"

   SubSection "Display"
      Depth      8
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Generic Mouse"

EndSection

Section "DRI"
   Mode   0666
EndSection

Section "Extensions"
        Option      "Composite"   "enable"
EndSection



This is beryl-manager / beryl starting from cmdline
Quote:

****
* Beryl system compatiblity check *
**************************************************************

Detected xserver : NVIDIA

Checking Display :0.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : passed
Checking maximum texture size : passed (2046x2046)

Relaunching beryl with __GL_YIELD="NOTHING"
**************************************************************
* Beryl system compatiblity check *
**************************************************************

Detected xserver : NVIDIA

Checking Display :0.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : passed
Checking maximum texture size : passed (2046x2046)

Reloading options
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2400086 to texture
beryl: No GLXFBConfig for depth 32
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2400086 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2400086 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2400086 to texture
beryl: No GLXFBConfig for depth 32
beryl: Couldn't bind redirected window 0x2400086 to texture


Notice that the last output happens when I try to switch window with alt+tab.


Last edited by ruivilela on Sat May 05, 2007 6:53 am; edited 1 time in total
Back to top
View user's profile Send private message
dR0PS
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2005
Posts: 113
Location: DE/Hamburg

PostPosted: Sat May 05, 2007 5:17 am    Post subject: Reply with quote

Code:
Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   16

        Option      "AddARGBGLXVisuals" "true"
        Option      "DisableGLXRootClipping" "True"

   SubSection "Display"
      Depth      8
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768"
   EndSubSection
EndSection


i believe u have to use at least 24bit
Quote:
DefaultDepth 24
instead of
Quote:
DefaultDepth 16


Here is mine for refference - beware, it uses 1600x1200@100Hz=130kHz - so don't copy blindly !!

DRI extension should/could be removed

cheers, dR0PS
_________________

AthlonXP-3200 / AsusA7N8X-E(NForce2) / ~Gentoo / 2.6.25-zen2
desktop-effects=compiz-fusion on kde3.5
Back to top
View user's profile Send private message
ruivilela
Apprentice
Apprentice


Joined: 05 Oct 2004
Posts: 181
Location: Łódź

PostPosted: Sat May 05, 2007 6:52 am    Post subject: Reply with quote

Well, that's it. Emerald only works with >=24 bits of color.

This solves my problem. I also removed DRI extension thus it seems I don't need it.

Emerald and Beryl are working.

Many thanks and regards
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum