LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Black frame in Beryl - Debian Etch i810 AIGLX (http://www.linuxquestions.org/questions/linux-desktop-74/black-frame-in-beryl-debian-etch-i810-aiglx-565259/)

Denham2010 06-28-2007 11:04 PM

Black frame in Beryl - Debian Etch i810 AIGLX
 
Hi,

I have a very frustrating problem. I have recently installed Beryl on my Debian Etch system. It installed without any problems, and runs fine - effects all work etc.

My problem, as you can see from the below screenshot, is every window, menu, tooltip, dialogue etc. is surrounded by a black frame.

Screenshot

It seems to me to be an issue with the screen buffers. When a window is created, it clears and stores an area of the screen below (eg 400 x 400 pixels) and then when the window is displayed, it is actually smaller (eg 380 x 380 pixels) leaving a black frame around the window.

Of course when I switch back over to Metacity, all is fine. This only happens with Beryl set as my window manager.

I know it just has to be something so simple, as when I was running Ubuntu 6.10 Beryl worked flawlessly.

Any ideas? I have googled and forumed and all I can find is the NVidia Black Window bug.....

Running Debian Etch - Gnome - AIGLX - Intel i810.

All help greatly appreciated!

Denham2010 06-29-2007 03:39 AM

Ok,

I have discovered the problem, just not sure how to fix it.

The black frames are actually the shadows set in the beryl themes.

They are supposed to be transparent to some degree.

I tested this by turning on the cube transparency effects and also setting windows to fade in and out on minimize and maximize.

My problem is transparency is not working!

Does anyone have any idea how to fix this?

Here is my xorg.conf (irrelevant sections removed) - I think the problem may lie here!

Code:

Section "Module"
        Load        "i2c"
        Load        "bitmap"
        Load        "ddc"
        Load        "dbe"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "Device"
        Identifier        "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
        Driver                "i810"
        BusID                "PCI:0:2:0"
        Option                "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
        Identifier        "DELL E172FP"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
        Monitor                "DELL E172FP"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

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

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option        "Composite" "Enable"
EndSection


Denham2010 06-30-2007 05:12 PM

Bug Maybe?
 
Ok, I never did find a solution to my problem.

It could quite possibly have been a bug (installed beryl from the Debian Unstable repository).

But I am happy now, removed beryl and i am now running an XFCE4 desktop which has compositing built in, and all transparency effects are working perfectly.

And no need to install AWN (I suffered major dependency problems anyway) as the XFCE4 panels work exactly the way I want them.

Score XFCE 1 : Beryl + Awn 0.

alexander_bosakov 07-02-2007 06:13 AM

Try this:
Section "Screen"
...
Option "AddARGBGLXVisuals" "True"
Option "AddARGBVisuals" "True"
...
EndSection

Or maybe these options should be in section "Device", I'd met both variants while googling. Mine are in "Screen", I'm using Compiz 0.5 with KDE. It does make problems sometimes, but overall it works fine, even on my relatively old hardware.

Denham2010 07-03-2007 05:28 AM

Thanks
 
Thanks for your reply.

I have tried a combination of many different options in my xorg.conf, and none make a difference....

I'm putting it down to installing at the wrong time - I did install from unstable, so maybe there was not something quite right with compositing in the version I had.

Anyway, I am now very happy with my XFCE install.....I finally have the desktop I've been looking for.


It is odd though how things that work in one desktop don't in another.

Just an example, my iPod worked flawlessly with Amarok under Gnome, but refuses to work in Amarok with XFCE.....yet in XFCE it is good with gtkpod.....and this is all on exactly the same Debian install, just a different desktop......go figure....

Anyway...problem solved with XFCE....this thread can be closed!

gundumfx 07-06-2007 10:56 PM

Quote:

Originally Posted by Denham2010
Ok,

I have discovered the problem, just not sure how to fix it.

The black frames are actually the shadows set in the beryl themes.

They are supposed to be transparent to some degree.

I tested this by turning on the cube transparency effects and also setting windows to fade in and out on minimize and maximize.

My problem is transparency is not working!

Does anyone have any idea how to fix this?

Here is my xorg.conf (irrelevant sections removed) - I think the problem may lie here!

Code:

Section "Module"
        Load        "i2c"
        Load        "bitmap"
        Load        "ddc"
        Load        "dbe"
        Load        "dri"
        Load        "extmod"
        Load        "freetype"
        Load        "glx"
        Load        "int10"
        Load        "type1"
        Load        "vbe"
EndSection

Section "Device"
        Identifier        "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
        Driver                "i810"
        BusID                "PCI:0:2:0"
        Option                "XAANoOffscreenPixmaps"
EndSection

Section "Monitor"
        Identifier        "DELL E172FP"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
        Monitor                "DELL E172FP"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

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

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option        "Composite" "Enable"
EndSection


YUP HE IS RITE I USE FEDORA CORE 7 AN THE BLACK OUTLINE OYU SEE IDS THE SHADOW ACYTULY

reddazz 07-10-2007 12:27 AM

Quote:

Originally Posted by gundumfx
YUP HE IS RITE I USE FEDORA CORE 7 AN THE BLACK OUTLINE OYU SEE IDS THE SHADOW ACYTULY

Do you know that using all caps is considered as shouting. :)


All times are GMT -5. The time now is 01:58 AM.