PDA

View Full Version : Emerald Theme problems with ATi fglrx and Xgl


CalcProgrammer1
April 25th, 2007, 09:56 PM
I installed Beryl on my computer, it has an ATi Radeon X1600Pro 512MB AGP 4x card with fglrx drivers. I installed Xgl, and have Beryl running. The wobbly windows works, the cube works, the transparency, scale, zoom, etc all work, but the Emerald Themes don't work. I get a missing title bar when I run it (using Beryl manager system tray thing):

[url:86cd0]http://img89.imageshack.us/my.php?image=berylerrorhn4.jpg[/url:86cd0]

adamk
April 27th, 2007, 09:50 AM
What happens if you try to run emerald from a terminal.

Adam

CalcProgrammer1
April 27th, 2007, 09:12 PM
What command would I enter to do this?

I tried 'emerald' and got the following message:

emerald: Could not acquire decoration manager selection on screen 0 display ":1.0"

I tried 'emerald --replace 0' and my title bars disappeared like they do with beryl-manager. The corners show but not the bar or the border.

The corners work, and are transparent like they should be, the shadows work too, it's just that the main title bar doesn't show up. Is this the result of a bad setting or a video card issue?

CalcProgrammer1
April 29th, 2007, 04:32 PM
I've reinstalled Emerald a few times, still doesn't work. Heliodor and Gnome decorators work fine though...

CalcProgrammer1
April 29th, 2007, 04:41 PM
[quote:61121]
If you do have your xorg.conf file setup properly, or your not using an nvidia card, try selecting "Reload Window Decorator" in the beryl manager icon in your system tray. If that fails, please try launching emerald (or aquamarine or heliodor) from a terminal with:

$ emerald --replace &

Check the error message and, if necessary, post it on the forums for help.
[/quote:61121]

This is what I did, no error message but still missing title bar.

[url=http://img409.imageshack.us/my.php?image=errorex8.png:61121]http://img409.imageshack.us/img409/5218/errorex8.th.png[/url:61121]

adamk
April 29th, 2007, 04:45 PM
Try 'mv $HOME/.emerald $HOME/.emerald.orig'

And then restart emerald. See if it makes a difference.

If you're still not getting title bar, are you absolutely sure that emerald is still running (ie. it shows up in 'ps ax | grep emerald')?

Adam

CalcProgrammer1
April 29th, 2007, 04:51 PM
Still not working, I did both of those commands and now the corners didn't show up either. I did the ps ax | grep emerald thing and it didn't show up on the list.

I used emerald from the beryl_manager, got this:


ps ax | grep emerald
395 pts/1 S+ 0:00 grep emerald
9078 ? S 0:00 emerald --replace
15235 pts/2 R+ 0:00 grep emerald

adamk
April 29th, 2007, 04:53 PM
Maybe there's something wrong with the emerald/beryl packages you are using. Have you tried beryl + emerald from another repository?

Adam

CalcProgrammer1
April 29th, 2007, 04:57 PM
I'm using the repository:

http://ubuntu.beryl-project.org feisty main

I tried the SVN ones, but I don't think I uninstalled everything from my existing installation, and it white-screened when I started Beryl window manager, so I reverted to this one.

I installed Beryl using this tutorial:

http://lhansen.blogspot.com/2006/10/3d- ... -edgy.html (http://lhansen.blogspot.com/2006/10/3d-desktop-beryl-and-xgl-on-ubuntu-edgy.html)

ianni67
April 29th, 2007, 04:59 PM
*OOps sorry wrong message*
didn't see the new output from ps aux.

emerald is there, alive and kicking.

Just one question: could you run a top command
[code:ef714]top[/code:ef714]
and tell us if some application is taking a lot of cpu?

I happened to me with the package coming from the "universe" repository that the decorator could not start whit Xgl. I had to revert to 0.2.0 to solve the problem.

CalcProgrammer1
April 29th, 2007, 05:01 PM
Looking back at it, I think emerald is still there (I was running it from terminal and killed it without thinking before seeing if it was there, that's why I tried again and found it was still there)

adamk
April 29th, 2007, 05:12 PM
Have you tried reinstalling all of beryl and emerald? Or just emerald?

Adam

CalcProgrammer1
April 29th, 2007, 05:46 PM
Both, it happened before when I used the Feisty developer preview, then I reformatted and installed the final Feisty version when it came out, and it has the same problem. I've reinstalled Emerald since then as well, and reinstalled Beryl after the SVN versions didn't work.

CalcProgrammer1
April 30th, 2007, 03:36 AM
Hmm now this is strange. It seems that Beryl never was running, only Compiz. Because 7.04 includes Compiz by default, I selected Compiz, and the window effects came up, then I switched to Beryl. It didn't seem to make a difference because all the features seemed to work, but I tried to give the cube a skybox and it wasn't working. I then checked my System Processes thing, and couldn't find Beryl on the list, only Compiz (compiz and compiz.real) and when I moved a window, the compiz.real showed as using CPU. When I start beryl:


adam@adam-ubuntu:~$ beryl
************************************************** ************
* Beryl system compatiblity check *
************************************************** ************

Detected xserver : XGL

Checking Display :1.0 ...

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

beryl: GLX_EXT_texture_from_pixmap is missing
beryl: Using non-tfp mode
beryl: GLX_SGIX_fbconfig is missing
beryl: Failed to manage screen: 0
beryl: No manageable screens found on display :1.0


Then it lagged a bunch and it took almost a minute to switch to Compiz again.

Is the ATi Radeon X1600 Pro just that terribly unsupported, or is there anything I can do to fix it? The card runs great in games and stuff so I see no reason why it shouldn't be able to handle a cube with transparency and some window effects, unless ATi's fglrx drivers are just that awful (they don't perform anywhere as well as the Windows ones, as opposed to my old GeForce4 which actually performed much better in Linux than Windows).

I checked the 'DISPLAY=:0 LIBGL_DEBUG=verbose glxinfo' list and both of those extensions were in the list. I did this for display :1 as well, here's the output:


adam@adam-ubuntu:~$ DISPLAY=:1 LIBGL_DEBUG=verbose glxinfo
name of display: :1.0
Xlib: extension "XFree86-DRI" missing on display ":1.0".
libGL error: XF86DRIQueryDirectRenderingCapable failed
display: :1 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1600 Series
OpenGL version string: 1.2 (2.0.6334 (8.34.8))
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_transpose_matrix, GL_EXT_abgr,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon
adam@adam-ubuntu:~$

adamk
April 30th, 2007, 09:24 AM
Do you have a beryl-xgl binary on your system?

Adam

CalcProgrammer1
April 30th, 2007, 09:13 PM
[quote:ff05f]
adam@adam-ubuntu:~$ beryl-xgl
bash: beryl-xgl: command not found
[/quote:ff05f]

I guess not, is it just 'apt-get install beryl-xgl'? I'll try to find it.

Tried that, and it wasn't there (in the apt-get list), where might I find one? Is it in a repository or do I have to install it manually?

adamk
April 30th, 2007, 09:16 PM
It *should* be part of the beryl-core package. Unfortunately, the package maintainers for Feisty chose not to include it in their package in the universe repo. If you don't have /usr/bin/beryl-xgl, create one with the following lines:

#!/bin/sh
LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa beryl $@ &

Make it executable, and then try to rerun 'beryl --replace &' from a terminal.

Adam

CalcProgrammer1
April 30th, 2007, 09:39 PM
ah, installed it with a tutorial on google, it works now, but beryl-manager causes it to black-screen. I set it to just run beryl-xgl and emerald at startup since beryl-manager seems to crash beryl. Is there a way to keep the manager without black-screening?