Pagina 1 di 1

Rendering usando beryl[?]/compiz con nvidia su current.

Inviato: sab 31 mar 2007, 10:01
da gianco
Ciao,
stimolato dal post su compiz viewtopic.php?t=18172, ho provato a lanciare lo script che conteneva i comandi consigliati da JohnnyMnemonic:

Codice: Seleziona tutto

compiz --replace decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
kde-window-decorator --replace &
Però il rendering era pessimo, il cursore un quadratone enorme e il DE inusabile.

Allora ho spulciato la documentazione del driver nvidia 9755 e ho trovato questo:
Option "AllowGLXWithComposite" "boolean"

Enables GLX even when the Composite X extension is loaded. ENABLE AT YOUR OWN RISK. OpenGL applications will not display correctly in many circumstances with this setting enabled.

This option is intended for use on X.Org X servers older than X11R6.9.0. On X11R6.9.0 or newer X servers, NVIDIA's OpenGL implementation interacts properly by default with the Composite X extension and this option should not be needed. However, on X11R6.9.0 or newer X servers, support for GLX with Composite can be disabled by setting this option to False.

Default: false (GLX is disabled when Composite is enabled on X servers older than X11R6.9.0).


Option "AddARGBGLXVisuals" "boolean"

Adds a 32-bit ARGB visual for each supported OpenGL configuration. This allows applications to use OpenGL to render with alpha transparency into 32-bit windows and pixmaps. This option requires the Composite extension. ENABLE AT YOUR OWN RISK. Some OpenGL applications may display incorrectly when this setting is enabled. Default: No visuals are added.


Option "DisableGLXRootClipping" "boolean"

If enabled, no clipping will be performed on rendering done by OpenGL in the root window. This option is deprecated. It is needed by older versions of OpenGL-based composite managers that draw the contents of redirected windows directly into the root window using OpenGL. Most OpenGL-based composite managers have been updated to support the Composite Overlay Window, a feature introduced in Xorg release 7.1. Using the Composite Overlay Window is the preferred method for performing OpenGL-based compositing.
Allora ho provato a disabilitare tali opzioni in xorg.conf, e i problemi sono spariti del tutto e compiz funziona come deve, a parte il fatto che kde-window-decorator mi dice

Codice: Seleziona tutto

kde-window-decorator: Could not acquire decoration manager selection on screen 0 display ":0.0"
e le finestre rimangono "nude".
[EDIT] Questo problema si presentava anche prima di disabilitare le opzioni in xorg.conf[/EDIT]
Ho deciso di aprire un nuovo topic perchè tali opzioni per il driver nvidia sono richieste anche per beryl e chi ha lo stesso problema di rendering magari può risolvere così.

Ciao.

Inviato: dom 29 apr 2007, 4:51
da algol
Interessanti considerazioni, debbo provare...
anche se il mio problema era solo quello da te citato delle finestre "nude", per il resto più o meno...


ciao

Inviato: dom 29 apr 2007, 11:43
da gnubit
io con nvidia (9755) uso

Codice: Seleziona tutto

#!/bin/sh
compiz --indirect-rendering --use-cow --replace dbus png svg decoration wobbly fade move resize minimize cube rotate switcher thumbnail ring 3d scale place zoom &
kde-window-decorator --replace &
A parte qualche sporadico crash per il resto mi funziona tutto.