Dobrodošli, Gost. Molim vas prijavite se ili se registrujte.

Prijavite se sa korisničkim imenom, lozinkom i dužinom sesije

Linuxo Forumi

Stranice: [1]   Idi dole
  Štampaj  
Autor Tema: XGL/Compiz (nVIDIA)  (Pročitano 1795 puta)
0 članova i 1 posetilac pregledaju ovu temu.
BrokeBody
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 2231



« poslato: 29 Септембар 2006, 14:22:21 »

Naravno, driver vec treba da vam je instaliran. Smiley

Kod:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
gksudo gedit /etc/X11/xorg.conf

pronadjite module section

Kod:
Section "Module"
Load "i2c"
Load "bitmap"
...
Load "type1"
Load "vbe"
EndSection

Dekomentarisite dri i GLcore (ako ih ima)

Kod:
# Load "dri"
# Load "GLcore"

Proverite da li je glx modul ucitan

Kod:
Load "glx"

Pronadjite device section

Kod:
Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
BusID "PCI:1:0:0"

ispod busid dodajte

Kod:
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

to bi ovako trebalo da izgleda

Kod:
Section "Device"
Identifier "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

proverite u screen section da li je default depth na 24

Kod:
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 440]"
Monitor "Generic Monitor"
DefaultDepth 24

Snimite fajl

Kod:
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome
sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup
gksudo gedit /etc/gdm/gdm.conf-custom

Obrisite sve sto pise u tom fajlu i unesite ovo

Kod:
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration.   If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration.  Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below.  Refer to the comments in the
# gdm.conf file for information about each option.  Also refer to the reference
# documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change.  Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# For example, the "Enable" key in the "[debug]" section would be specified by
# "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings.  You can also restart GDM by sending
# a HUP or USR1 signal to the daemon.  HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category.  You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

[security]

[xdmcp]

[gui]

[greeter]

[chooser]

[debug]

[servers]# Override display 1 to use Xgl
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true

Napravite scriptu koja ce da pokrece XGL/Compiz pri podizanju sistema

Kod:
gksudo gedit /usr/bin/thefuture

Unesite sledece u novokreirani fajl

Kod:
#!/bin/bash
gnome-window-decorator &  compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher &
xmodmap /usr/share/xmodmap/xmodmap.us

Snimite fajl

Kod:
sudo chmod 755 /usr/bin/thefuture

unesite u terminalu

Kod:
thefuture

Da bi se Compiz ucitavao pri podizanju sistema

      System -> Preferences -> Sessions
      Startup Programs -> Add
Kod:
/usr/bin/thefuture

Idite na OK i zatvorite

Komande

    * Switch windows = Alt + Tab
    * Arrange and View All Windows = F12 turns on or off; clicking a window will zoom it to the front
    * Switch desktops on cube = Ctrl + Alt + Left/Right Arrow
    * Switch desktops on cube - with active window following = Ctrl + Shift + Alt + Left/Right Arrow
    * Rotate cube manually = Ctrl + Alt + left-click
    * Make window translucent/opaque = currently only possible with the "transset" utility
    * Zoom-in once = Super-key right-click
    * Zoom-in manually = Super-key + wheel mouse up
    * Zoom-out manually = Super-key + wheel mouse down
    * Move window = Alt + left-click
    * Snap Move window (will stick to borders) = Ctrl + Alt + left-click
    * Resize window = Alt + right-click
Prijavi uredniku   Sačuvana

acko
Newbie
*
Van mreže Van mreže

Poruke: 26


« Odgovor #1 poslato: 26 Децембар 2006, 23:19:26 »

A za KDE
Prijavi uredniku   Sačuvana
GoranSTX
The inevitable...
Global Moderator
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 1232


Autoportret autostopera


« Odgovor #2 poslato: 27 Децембар 2006, 07:50:25 »

jeste, a za KDE?
Prijavi uredniku   Sačuvana

http://autostoper.blogspot.com
Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. (Einstein)
Registered Linux User #411782
http://counter.li.org/
Александар Урошевић
ГНУ Шумадинац
Hero Member
*****
Van mreže Van mreže

Pol: Muškarac
Poruke: 527


Proprietary hater


WWW
« Odgovor #3 poslato: 27 Децембар 2006, 08:27:21 »

A za KDE, koristite Fedora Core 6, dodajte beryl, pokrenute beryl-manager i gotovo Cheesy
Prijavi uredniku   Sačuvana

Pacy
Newbie
*
Van mreže Van mreže

Poruke: 10



« Odgovor #4 poslato: 24 Јануар 2007, 11:32:35 »

Evo kako bi trebalo da izgleda, uz istalciju Baryl Manager-a

 grin Afro :Smiley
« Poslednja izmena: 24 Јануар 2007, 11:34:23 od Pacy » Prijavi uredniku   Sačuvana
djux
Full Member
***
Van mreže Van mreže

Poruke: 210



« Odgovor #5 poslato: 24 Јануар 2007, 11:43:27 »

Po meni je mnogo bolja varijanta AIGLX, naravno uz  Xorg 7.1/Nvidia 9xxx. Dobija se 3D desktop bez gubljenja akceleracije uz pomoc OpenGL-a, korisno npr. za cedegu Smiley
Prijavi uredniku   Sačuvana
Pacy
Newbie
*
Van mreže Van mreže

Poruke: 10



« Odgovor #6 poslato: 24 Јануар 2007, 13:54:12 »

Po meni je mnogo bolja varijanta AIGLX, naravno uz  Xorg 7.1/Nvidia 9xxx. Dobija se 3D desktop bez gubljenja akceleracije uz pomoc OpenGL-a, korisno npr. za cedegu Smiley
Mozemo li to i da vidimo kako izgleda kod tebe? Afro
Prijavi uredniku   Sačuvana
djux
Full Member
***
Van mreže Van mreže

Poruke: 210



« Odgovor #7 poslato: 24 Јануар 2007, 14:17:33 »

Na zalost koristim slackware 11.0 - Xorg 6.9, tako da nista od AIGLX. Probao sam i na prvi pogled isto ti je kao XGL. AIGLX je implementiran u xorg i u stvari koristi indirect rendering, tako da ne moras da koristis dva X server-a kao sa XGL-om.
Prijavi uredniku   Sačuvana
Stranice: [1]   Idi gore
  Štampaj  
 
Prebaci se na: