You are not logged in.

#1 2006-09-22 17:14:30

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

http://www.nzone.com/object/nzone_downl … -9625.html

To get AIGLX + compiz with nvidia:
· If your compiz crashes or show white screen under aiglx, update compiz to 0.0.13.57_0ubuntu1-3 (already in my repository).
· xorg.conf, section "Device":

    Option      "AddARGBGLXVisuals"     "true"

· xorg.conf, section "ServerLayout":

    Option "AIGLX" "true"

Now you need to solve a very annoying bug in nvidia driver that makes 3D unresponsive/freeze under heavy load (patch copied from Xgl): · Create a file named sched.c:

int sched_yield() {return 0;}

· Execute gcc -rdynamic -shared -fPIC -o sched.so sched.c
· su to root, copy sched.so to /usr/local/lib, and change the file owner to root.
· preload this /usr/local/lib/sched.so for Xorg. Since LD_PRELOAD can't work for setuid programs, you must start Xorg as root. Here is the script I use (replace startx/xinit):

#!/bin/bash
if [ -e /tmp/.X0-lock ]; then
  echo "/tmp/.X0-lock" already exists
else
  su -c "LD_PRELOAD=/usr/local/lib/sched.so X :0 -dpi 96 &"
  DISPLAY=:0 ~/.xinitrc
fi

(At startup you have to enter root password)

There isn't any simpler method until we put this patch into X itself (which Xgl already does).

Offline

#2 2006-09-22 17:59:22

thaswiftness
Member
Registered: 2006-05-05
Posts: 42

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Cool. GLX_EXT_texture_from_pixmap. About time big_smile

Offline

#3 2006-09-22 18:18:58

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Damn you are too fast smile

> glxinfo  | grep -i pixm
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,

Wow smile

Xgl/Compiz seems really faster!

Offline

#4 2006-09-22 18:43:47

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

great! (although i didn't manage to get it to work with abs) I got it to work with official installer so yeah! now how do i test out this aiglx crap...


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#5 2006-09-22 19:31:39

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

test1000 wrote:

great! (although i didn't manage to get it to work with abs) I got it to work with official installer so yeah! now how do i test out this aiglx crap...

· Update compiz to 0.0.13.57_0ubuntu1-3 (already in my repository)
· xorg.conf, section "Device":

    Option      "AddARGBGLXVisuals"     "true"

· xorg.conf, section "ServerLayout":

    Option "AIGLX" "true"

Cheers!

Offline

#6 2006-09-22 19:33:44

Cagnulein
Member
From: Modena, Italy
Registered: 2006-04-03
Posts: 260
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Update compiz to 0.0.13.57_0ubuntu1-3 (already in my repository)

rep's url?
Thanks

Offline

#7 2006-09-22 19:50:05

kamituel
Member
From: Poland
Registered: 2006-09-14
Posts: 47
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Cagnulein wrote:

rep's url?

it's in AUR
http://aur.archlinux.org/packages.php?d … =1&ID=6545


I tried, I failed, no matter. Try again, fail again, fail better.

Offline

#8 2006-09-22 20:03:28

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

I can't wait until Beryl is ready to use without the GNOME depends. It's going to be kick ass :!:

Offline

#9 2006-09-22 23:04:54

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

i got it working with compiz-aiglx newest from 22. sept. which i commented out all patches from..

works great, except maximizing windows maximimizes them over both my monitors and I don't have my old keybindings and don't know where to configure the compiz ones HALP!


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#10 2006-09-22 23:23:43

thaswiftness
Member
Registered: 2006-05-05
Posts: 42

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

I thought that XGL and AIGLX were around to give us the GLX_EXT_texture_from_pixmap that was lacking in the video drivers? So we should be able to run compiz with a normal Xorg server now without either of them. Or have I gotten confused again  :oops:

Offline

#11 2006-09-22 23:43:11

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

No, AIGLX and Xgl don't provide texture_from_pixmap. This is a driver thing.

What that extension is doing is permit the "translation" between a pixmap which is what the X server displays, and a texture, which is a OpenGL thing that can be processed by Xgl/AIGLX-Compiz to do fancy effects.

Since today, that extension was provided only by MESA. That means that the processing that this extension required was done in the CPU. Now that the nvidia driver support the extenison, the processing can be fully done by the GPU (graphic card processor).

For compiz to work you still need one of AIGLX or Xgl. GLX_EXT_texture_from_pixmap in the driver should speed thing up.

Offline

#12 2006-09-23 04:18:01

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

test1000 wrote:

i got it working with compiz-aiglx newest from 22. sept. which i commented out all patches from..

works great, except maximizing windows maximimizes them over both my monitors and I don't have my old keybindings and don't know where to configure the compiz ones HALP!

compiz-aiglx has been replaced by quinn's compiz for a long time smile

Offline

#13 2006-09-23 09:48:08

baze
Member
Registered: 2005-10-30
Posts: 393

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

iBertus wrote:

I can't wait until Beryl is ready to use without the GNOME depends. It's going to be kick ass :!:

i made PKGBUILDs for beryl-svn yesterday and brain0 and me got it running.
i think brain0 is putting the PKGBUILDs into AUR..

Offline

#14 2006-09-23 11:08:22

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

I put beryl-svn in the AUR. Binary packages are available at

[brain0]
Server = http://www-users.rwth-aachen.de/thomas.baechler/arch/brain0/os/i686

Install them all using "pacman -S beryl-svn" (beryl-svn is a package group).

Offline

#15 2006-09-23 13:33:00

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 269

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

brain0 wrote:

I put beryl-svn in the AUR. Binary packages are available at

[brain0]
Server = http://www-users.rwth-aachen.de/thomas.baechler/arch/brain0/os/i686

Install them all using "pacman -S beryl-svn" (beryl-svn is a package group).

how to install emerald theme after pacmaned?
emerald theme manager is empty.

Offline

#16 2006-09-23 13:58:55

baze
Member
Registered: 2005-10-30
Posts: 393

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

emerald doesn't come with default themes. you can use any compiz theme (cwdg or sth like that), rename the theme to .emerald and then import it with the theme manager.

Offline

#17 2006-09-23 19:14:26

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

I added a emerald-themes-cvs packages with the cgwd themes copied in the right directory.

Offline

#18 2006-09-23 23:52:56

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

i can't manage emerald to work.

I have installed beryl-svn and emerald with themes from the repo posted here, then i run beryl and the windows will move as xgl dows but withous decos!

So i start emerald but nothing happenes, except when i run themes i get

** (emerald:6135): WARNING **: Cannot open pixmap: shade

** (emerald:6135): WARNING **: Cannot open pixmap: unshade

** (emerald:6135): WARNING **: Cannot open pixmap: above

** (emerald:6135): WARNING **: Cannot open pixmap: unabove

** (emerald:6135): WARNING **: Cannot open pixmap: sticky

** (emerald:6135): WARNING **: Cannot open pixmap: unsticky

but still nothing happenes...


Murrine Creator - GNOME Developer

Offline

#19 2006-09-23 23:58:40

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 269

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Cimi wrote:

** (emerald:6135): WARNING **: Cannot open pixmap: shade

** (emerald:6135): WARNING **: Cannot open pixmap: unshade

** (emerald:6135): WARNING **: Cannot open pixmap: above

** (emerald:6135): WARNING **: Cannot open pixmap: unabove

** (emerald:6135): WARNING **: Cannot open pixmap: sticky

** (emerald:6135): WARNING **: Cannot open pixmap: unsticky

but still nothing happenes...

same problem here :idea:

Offline

#20 2006-09-24 10:12:13

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Is there a way to get beryl running with KDE withour using "dbus-launch"? I have the dbus-daemon running and my user is member of the dbus-group. But I allways get:

beryl: dbus_bus_get error: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
beryl: Plugin 'dbus':initDisplay failed
beryl: Couldn't activate plugin 'dbus'
beryl: 'settings' plugin must be loaded after 'dbus' plugin
beryl: Can't activate 'settings' plugin due to dependency problems

Offline

#21 2006-09-24 11:57:46

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Now it works with addargb bla bla bla.

Yesterday I have added it with nvidia-xsettings, but it din't work.

Added manually and eevrything OK. No need of Option AIGLX


Murrine Creator - GNOME Developer

Offline

#22 2006-09-24 16:13:28

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

Pierre wrote:

Is there a way to get beryl running with KDE withour using "dbus-launch"? I have the dbus-daemon running and my user is member of the dbus-group. But I allways get:

beryl: dbus_bus_get error: Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)
beryl: Plugin 'dbus':initDisplay failed
beryl: Couldn't activate plugin 'dbus'
beryl: 'settings' plugin must be loaded after 'dbus' plugin
beryl: Can't activate 'settings' plugin due to dependency problems

dbus-group and /etc/rc.d/dbus are for system dbus, not session dbus.

Modify your .xsession or .xinitrc, add before startkde and beryl:

kill `pidof dbus-daemon` >/dev/null 2>&1
eval `dbus-launch --sh-syntax`

Offline

#23 2006-09-24 22:07:01

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

This wiki article aims to describe beryl and accelerated X setup, as well as problems and solutions. please contribute:
http://wiki.archlinux.org/index.php/Beryl

Offline

#24 2006-09-25 01:57:42

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 269

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

once wrote:
Cimi wrote:

** (emerald:6135): WARNING **: Cannot open pixmap: shade

** (emerald:6135): WARNING **: Cannot open pixmap: unshade

** (emerald:6135): WARNING **: Cannot open pixmap: above

** (emerald:6135): WARNING **: Cannot open pixmap: unabove

** (emerald:6135): WARNING **: Cannot open pixmap: sticky

** (emerald:6135): WARNING **: Cannot open pixmap: unsticky

but still nothing happenes...

same problem here :idea:

@Cimi
are you fixed this?

Offline

#25 2006-09-25 03:03:04

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: beta NVIDIA driver 1.0.9625! (aiglx+compiz works!)

once wrote:
once wrote:
Cimi wrote:

** (emerald:6135): WARNING **: Cannot open pixmap: shade

** (emerald:6135): WARNING **: Cannot open pixmap: unshade

** (emerald:6135): WARNING **: Cannot open pixmap: above

** (emerald:6135): WARNING **: Cannot open pixmap: unabove

** (emerald:6135): WARNING **: Cannot open pixmap: sticky

** (emerald:6135): WARNING **: Cannot open pixmap: unsticky

but still nothing happenes...

same problem here :idea:

@Cimi
are you fixed this?

It doesn't need to be fixed tongue

Offline

Board footer

Powered by FluxBB