PDA

View Full Version : beryl - multiple screens


aamy
June 10th, 2007, 04:32 AM
Today is my first day with ubuntu. After installing ubuntu, installed beryl right away using the ubuntuguide.com instructions. I have three monitors...set up with 2 X screens (one X screen spans two monitors, the other one if for the third monitor).

When I run beryl, it works fine on the first X screen (the one that spans two monitors) but the other screen does not take any input at all i.e. i cannot interact with it at all.

i'm a linux newbie, so forgive me if i used any incorrect terminology.

appreciate any help that I can get.

Below is a copy-and-paste from the console:
2 screens detected.
Currently we cannot guarantee that Beryl will work correctly with multiple X screens.
Using the --no-context-share command line option can help.
Please report any success to the beryl developer mailing list. The list can be found at lists.beryl-project.org
Reloading options
beryl: glXCreateContext failed
beryl: Failed to manage screen: 1


Thanks.

Amy

adamk
June 10th, 2007, 12:24 PM
Well, given the warning "we cannot guarantee that beryl will work correctly with multiple X screens" I think this is to be expected.

There was some code in place in the latest SVN versions of beryl (before it started to merge with compiz) to support multiple screens, but I've never actually heard of anyone getting it to work recently. I think your best bet is to wait for this to officially be supported in compcomm.

Adam

adamk
June 10th, 2007, 01:06 PM
Take a look here for a suggestion to try:

viewtopic.php?f=12 (http://forums.opencompositing.org/viewtopic.php?f=12)

aamy
June 10th, 2007, 07:35 PM
How can I get the latest code out of SVN and install it on my machine? Do instructions exist for this? Is it still possible now that Beryl is merging with Compiz? I read some posts about people successfully running Beryl on multiple screens using the latest code out of SVN but I didn't know how to do that...

adamk
June 10th, 2007, 07:58 PM
beryl isn't even in SVN anymore. Beryl migrated to git, and then the merge started to happen (still in git). I really do suggest running beryl on one of those screens with the following options:

--display=:0.0 --only-current-screen

And then running a different window manager on the other screen.

Adam

aamy
June 11th, 2007, 02:12 AM
didn't know about this option, this will work out for me. where do I specify this option? when I run beryl-manager through the console? thanks a bunch for your help.

Deciare
June 11th, 2007, 02:41 AM
I don't think there's any way to set those options using beryl-manager... The options suggested by Adam have to be given to the beryl executable:
[code:e86a3]beryl --display=:0.0 --only-current-screen[/code:e86a3]

If you're currently using beryl-manager to apply any startup settings to beryl (via the Advanced Beryl options menu), you can find the equivalents to those options by typing:
[code:e86a3]beryl --help[/code:e86a3]

You can run beryl-manager without auto-starting Beryl (so you can start it yourself) with the following command:
[code:e86a3]beryl-manager --no-force-window-manager[/code:e86a3]

aamy
June 11th, 2007, 02:53 AM
okay, i started beryl-manager using the following code:

[code:084e6]
beryl-manager --no-force-window-manager
[/code:084e6]

then i started beryl with the following code:

[code:084e6]
beryl --force-nvidia --display=:0.0
[/code:084e6]

didn't work, beryl still disables my second screen such that it doesn't take any input. ideas?

aamy
June 11th, 2007, 03:15 AM
okay, got it to work. the correct option was screen.

this works:

[code:5c092]beryl --screen 0 --force-nvidia[/code:5c092]

Thanks for all the help!

aamy
June 11th, 2007, 03:33 AM
okay, everything was working correctly until i added beryl-manager and beryl (with the correct options ) to the startup programs list. now when beryl starts up, the top and bottom panels on the second screen disappear. this doesn't happen if i start up beryl and beryl-manager manually from the console. any ideas on how to fix this?