![]() |
|
|
|
#1 | |
|
Registered User
Join Date: Oct 2006
Posts: 5
|
I am trying to run AIGLX with Beryl using dual screens (dual-head).
As soon as I start beryl-manager, my second screen becomes blacked out, although the first screen is working fine with the fx. Beryl complains about "glXCreateContext failed" Code:
user@local ~ $ XGL Absent, checking for NVIDIA Nvidia Present Relaunching beryl with __GL_YIELD="NOTHING" XGL Absent, checking for NVIDIA Nvidia Present beryl: glXCreateContext failed beryl: Failed to manage screen: 1 Initiating splash |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Oct 2006
Posts: 5
|
Anyone?
![]() |
|
|
|
|
| Sponsored Ads - Guests Only | ||
|
|
|
|
#3 |
|
Registered User
Join Date: Nov 2006
Posts: 1
|
I had the same problem on a GeForce 7600. I didn't end up getting it to work with 2 separate X screens (with or without xinerama enabled), but when I turned on NVidia's twinview through nvidia-settings it works. Make sure you add the following to your xorg.conf (see howto: http://www.ubuntuforums.org/showthread.php?t=263851):
Code:
...
Section "ServerLayout"
...
Option "AIGLX" "on"
EndSection
...
Section "Screen"
...
Option "AddARGBGLXVisuals" "True"
EndSection
Let me know if you did end up getting it working with 2 X screens as opposed to twinview as I think I prefer that configuration. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Nov 2006
Posts: 2
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Dec 2006
Posts: 1
|
I seem to be in a similar position. I'm using FC6 and when I have kde autostart beryl-manager I get a normal beryl managed kde screen on my crt, but my lcd becomes black and unresponsive. So I disabled beryl-manager at kde startup and instead tried to start beryl in a terminal:
$beryl --screen 0 & $beryl --screen 1 & This successfully starts beryl for each display and both are functional. However, the window decorator is not working. If I then start beryl-manager, the display on which I start the manager will receive full decorations, but not the other display. If I then select Reload Window Decorator from the beryl menu in the display without window decorations, this display will now have the window decorations and the other display will lose its decorations. I don't know how to get window decorations working for both displays simultaneously. Any ideas? |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Dec 2006
Posts: 1
|
Here's a stupid workaround for dual screens (NOT Twinview). It'll enable beryl on the first screen, but not on the second.
mv /usr/bin/beryl /usr/bin/beryl.orig vi /usr/bin/beryl and put in it: #!/bin/bash /usr/bin/beryl.orig --screen 0 $1 $2 $3 $4 $5 $6 $7 $8 $9 save and exit chmod +x /usr/bin/beryl now, run beryl-manager. You'll probably have to rerun test steps everytime you upgrade beryl. Thanks to the previous poster for the --screen trick idea. mike |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan 2007
Posts: 2
|
I have the solution! This enables both monitors to run emerald and display one big screen simular to xinerama. Emerald is also able to detect this and allows you to use some of the more fancy versions of cube animation for multiple desktops. This was tested on a 6600 Nvidia card with XORG 7.1 and Beryl 1.4 and involves shifting the handling of multiple monitors off of the xorg backend and more towards the nvidia driver.
ServerLayout Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # Standard Single screen Layout!!
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Code:
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL E773p"
# HorizSync 30.0 - 70.0
# VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Flat Panel"
ModelName "LCD Flat Panel 1280x1024"
## HorizSync 31.0 - 79.0
## VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Device Code:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600"
BusID "PCI:2:0:0"
## Rendering Tweaks I have used! Fixes some beryl problems
Option "RenderAccel" "true"
Option "DisableGLXRootClipping" "true" #Fix Black windows
Option "RenderAccel" "true"
Option "BackStoring" "true"
Option "AllowGLXWithComposite" "True"
## Add the secont monitor
Option "TwinView" "true"
Option "ConnectedMonitor" "DFP, CRT"
Option "TwinViewOrientation" "LeftOf"
Option "SecondMonitorHorizSync" "30.0 - 70.0"
Option "SecondMonitorVertRefresh" "50.0 - 160.0"
Option "HWCursor" "On"
Option "MetaModes" "1280x1024,1280x1024"
## VNC Side project Ignore!
Option "rfbauth" "/root/.vnc/passwd"
Option "rfbport" "5900"
Option "usevnc"
EndSection
Code:
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 Option "AddARGBGLXVisuals" "true" Option "Composite" "Enable" SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection Note!! Switching on both monitors doubles the work load!! There for some older graphics cards might stuggle! Tip install Nvidia-Settings. Load it do not alter any X settings in here as it will overwrite your loverly xorg.conf and beryl will stop working! However this program interface directly to the nvidia garhipcs cards and you can set performance settings for OpenGL! This is my first helpguide for nvnews! Hope this helps!!! Last edited by cragdor; 01-04-07 at 07:59 AM. |
|
|
|
![]() |
| Shop Online | |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|