Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] how to fix borderless beryl on 915g
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Tue Jan 30, 2007 9:02 am    Post subject: [SOLVED] how to fix borderless beryl on 915g Reply with quote

When I start beryl, it decorates the window, alt-tab menu etc however all the windows lose borders.

I tried google and this forum but couldnt find anything.

I am using AIGLX on 915G graphics and got beryl from portage (0.1.99.2) as well as just now tried 9999 from xeffects overlay. Same result. In the middle of experiment also deleted my ~/.beryl and ~/.emerald directories.

Any ideas?

Here is output from beryl
Quote:

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

Detected xserver : AIGLX

Checking Display :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 ...

libGL warning: 3D driver claims to not support visual 0x5b
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 (2048x2048)

libGL warning: 3D driver claims to not support visual 0x5b
Reloading options


Quote:


USE="X gtk -gnome alsa oss acpi css kde bzip2 cdr dri dvd dvdr dvdread jpeg mpeg mplayer xosd opengl xft xml xmms -gdbm bitmap-fonts truetype-fonts type1-fonts nptl nptlonly xcomposite xine stencil-buffer aac ipod nsplugln encoder nls aiglx glitz svg pdf png dbus"

LINGUAS="hi"

CHOST="i686-pc-linux-gnu"

CFLAGS="-march=pentium-m -O3 -pipe"

CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"

VIDEO_CARDS="i810 vesa i915"
CONFIG_PROTECT="-*"

INPUT_DEVICES="evdev keyboard mouse"
PORTDIR_OVERLAY="/usr/local/layman/xeffects"



Quote:
installed versions

[D] x11-misc/beryl-manager
Available versions: ~0.1.3 ~0.1.4 ~0.1.99.2[1] !9999[1]
Installed versions: 9999(00:45:04 01/30/07)
Homepage: http://beryl-project.org
Description: Beryl Window Decorator Manager (svn)

[D] x11-misc/beryl-settings
Available versions: ~0.1.3 ~0.1.4 ~0.1.99.2[1] !9999[1]
Installed versions: 9999(00:54:02 01/30/07)
Homepage: http://beryl-project.org
Description: Beryl Window Decorator Settings (svn)

[D] x11-misc/beryl-settings-bindings [1]
Available versions: ~0.1.99.2 !9999
Installed versions: 9999(00:53:39 01/30/07)
Homepage: http://beryl-project.org
Description: Beryl Window Decorator Settings Bindings (svn)

[D] x11-plugins/beryl-plugins
Available versions: ~0.1.3 ~0.1.4 ~0.1.99.2[1] !9999[1]
Installed versions: 9999(00:49:38 01/30/07)(dbus -vidcap)
Homepage: http://beryl-project.org
Description: Beryl Window Decorator Plugins (svn)

[D] x11-wm/beryl
Available versions: ~0.1.3 ~0.1.4 ~0.1.99.2[1] !9999[1]
Installed versions: 9999(00:54:06 01/30/07)(-gnome kde)
Homepage: http://beryl-project.org
Description: Beryl window manager for AiGLX and XGL (meta)

[D] x11-wm/beryl-core
Available versions: ~0.1.3 ~0.1.4 ~0.1.99.2[1] !9999[1]
Installed versions: 9999(00:44:33 01/30/07)
Homepage: http://beryl-project.org
Description: Beryl window manager for AIGLX and XGL (svn)




Let me know if you need any more data and thanks for your help!


Last edited by groovy12 on Sun Feb 11, 2007 9:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Tue Jan 30, 2007 3:46 pm    Post subject: Reply with quote

Please post the xorg.conf sections pertaining to your video card. There are certain options you may require for AIGLX portion to work correctly here.

As well, what version of video driver, xorg-server and Mesa are you using?
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Tue Jan 30, 2007 4:53 pm    Post subject: Reply with quote

I'm using

x11-drivers/xf86-video-i810-1.7.4
x11-drivers/xf86-video-vesa-1.3.0
x11-drivers/xf86-video-vga-4.1.0
x11-base/xorg-server-1.2.0
media-libs/mesa-6.5.2

Here is relevant section from my xorg.conf:
Quote:

Section "Module"
Load "dbe" # Double buffer extension
Load "synaptics"
Load "dri"
Load "glx"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
EndSection


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


Section "Monitor"
Identifier "My Monitor"
HorizSync 65-70 #65-70 #55 - 57
VertRefresh 85-90 #85-90 #100-105 #85-90
#DisplaySize 347 260 #75dpi
DisplaySize 271 203 #90dpi
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Intel 915G"
Driver "i810"
# VideoRam 131072
# Insert Clocks lines here if appropriate
Option "NoAccel" "false"
Option "backingstore" "true"
Option "DRI" "true"
Option "PageFlip" "true"
Option "XAANoOffscreenPixmaps" "true"
EndSection


Section "Screen"
Identifier "Screen 1"
Device "Intel 915G"
Monitor "My Monitor"
DefaultDepth 24
# Option "AddARGBGLXVisuals" "True" #removed after Roderrick's advice

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection


Section "DRI"
Group 0
Mode 0666
EndSection


Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "MyPad" "SendCoreEvents"
Option "AIGLX" "true"
Option "BlankTime" "2" # Blank the screen after 5 minutes (Fake)
Option "StandbyTime" "5" # Turn off screen after 10 minutes (DPMS)
Option "SuspendTime" "20" # Full suspend after 20 minutes
Option "OffTime" "30" # Turn off after half an hour
EndSection




Thanks![/quote]


Last edited by groovy12 on Fri Feb 02, 2007 6:53 am; edited 1 time in total
Back to top
View user's profile Send private message
foxbat
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jul 2006
Posts: 77
Location: Washington, DC

PostPosted: Tue Jan 30, 2007 4:55 pm    Post subject: Reply with quote

I just fixed this last night...

Apparently this is an issue with the Emerald theme crashing, not necessarily Beryl. Make sure you have a valid default wm to fall back on. I ended up not using Emerald at all and just staying with Metacity. You still get all the nice Beryl effects, but you're borders will be GTK (if you use gnome).

You can set it up using beryl-manager. Other people have said that they set the Rendering option to "Copy" and that worked for them too.
_________________
Gentoo 2006.1 | AMD X2
Back to top
View user's profile Send private message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Tue Jan 30, 2007 4:59 pm    Post subject: Reply with quote

When emerlad crashes it falls back to kwin as I have set it up but then I dotn see any effects. its plain kwin.

when it doesnt crash I see some effects but no borders.

I tried copy option but didnt help. i also tried indirect rendering, strict binding but to no avail.
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Tue Jan 30, 2007 8:33 pm    Post subject: Reply with quote

I do not believe you have your xorg.conf 100% correct. As well, I have had issues with xf86-video-i810-1.7.4 and have had to use 1.7.2-r2 instead (running glxgears under 1.7.4 caused my display to lock solid).

Anyway, try reverting to 1.7.2-r2 and see if it works then. If not, then try the following changes in your xorg.conf:

If you have not done so, please add Option AIGLX "true" under Section ServerLayout.

Remove Option "AddARGBGLXVisuals" "True" from the Screen Section as this is a nVidia option, and not required/used by Intel (could cause issues).

Heres' the correct wiki to follow to ensure AIGLX is working http://www.gentoo-wiki.com/HOWTO_AIGLX

Hope this helps. If, once you have followed the wiki, and my suggestions, things stil do not work, let me know, I have additional things to potentially try.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Fri Feb 02, 2007 6:46 am    Post subject: Reply with quote

Ok, I followd your advice and reinstalled xorg-server etc.. but nothing helps.

One thing is that version 1.7.2.-42 is not available so I'm using 1.7.4

Quote:
~> eix xf86-video-i810
[D] x11-drivers/xf86-video-i810
Available versions: ~1.6.0 1.6.5 ~1.7.0-r1 ~1.7.2 ~1.7.2-r1 ~1.7.3 ~1.7.4
Installed versions: 1.7.4(23:58:30 01/25/07)(-debug dri)
Homepage: http://xorg.freedesktop.org/
Description: X.Org driver for Intel cards



Another datapoint is that once I am in kde and I statr beryl-manager and choose WM=beryl it crashes and switches back to metacity.. here is what it prints:
Quote:
~> beryl-manager (and then I choose beryl in WM option in system tray)
Window manager warning: Lost connection to the display ':0';
most likely the X server was shut down or you killed/destroyed
the window manager.
**************************************************************
* Beryl system compatiblity check *
**************************************************************

Detected xserver : AIGLX

Checking Display :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 ...

libGL warning: 3D driver claims to not support visual 0x5b
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 (2048x2048)

beryl: Another composite manager is already running on screen: 0
beryl: No manageable screens found on display :0
Window manager warning: Failed to read theme from file /usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml: Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory
Window manager warning: Failed to load theme "Clearlooks": Failed to open file '/usr/share/themes/Clearlooks/metacity-1/metacity-theme-1.xml': No such file or directory



Any ideas what next?

thanks a lot!


Last edited by groovy12 on Fri Feb 02, 2007 6:51 am; edited 1 time in total
Back to top
View user's profile Send private message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Fri Feb 02, 2007 6:50 am    Post subject: Reply with quote

for sake of completeness here is what it prints if I just run beryl

Quote:
~> beryl
libGL warning: 3D driver claims to not support visual 0x5b
**************************************************************
* Beryl system compatiblity check *
**************************************************************

Detected xserver : AIGLX

Checking Display :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 (2048x2048)

libGL warning: 3D driver claims to not support visual 0x5b


(beryl running; no borders)
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Fri Feb 02, 2007 2:29 pm    Post subject: Reply with quote

groovy12 wrote:
Ok, I followd your advice and reinstalled xorg-server etc.. but nothing helps.

One thing is that version 1.7.2.-42 is not available so I'm using 1.7.4




Sorry, I should have said 1.7.2-r1 (1.7.3 and 1.7.4 have a new memory manager and it is NOT 100% there yet).

If you must use 1.7.4, then you should set Option "Legacy3D" in your xorg.conf. Read the man page for i810 and it will provide the details on this.

That may help.

Just to let you know I just tested 1.7.4 with the Legacy3D option and I have Beryl-manager running and can select aquamarine as my borders (WM decoration).
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Sun Feb 11, 2007 9:16 pm    Post subject: Reply with quote

thanks, that did the trick!
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
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