PDA

View Full Version : Beryl



clifweb
4th April 2007, 01:42 PM
I installed berly to use the feature of xgl and when I run the Beryl maneger my system logs out and I have to login again. Do i need to run that app in order to use the cool features to turn the screen ecc?

offcenter77
4th April 2007, 03:12 PM
Sounds like your X server is crashing. There are plenty of helpful posts and how-tos all over this board. Search for Beryl and you will find tons of help.

h*klown
5th April 2007, 04:17 AM
what kind of graphix card you running?

clifweb
5th April 2007, 06:37 AM
Nvidia Gefore Fx 5200
AMD XP 3000+
512MB Ram

glennzo
5th April 2007, 09:34 AM
I have the Nvidia GeForce FX5200 and am using Beryl with apparent success. (FC6). Did you install kmod-nvidia? Here's what I have going on here:

[glenn@dad ~]$ uname -ra
Linux dad 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 i686 i686 i386 GNU/Linux

[glenn@dad ~]$ rpm -q kmod-nvidia
kmod-nvidia-1.0.9755-2.2.6.20_1.2925.fc6
kmod-nvidia-1.0.9755-2.2.6.20_1.2933.fc6

[glenn@dad ~]$ rpm -q beryl
beryl-0.2.0-1.fc6

Here's my xorg.conf

[glenn@dad ~]$ cat /etc/X11/xorg.conf

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Pretty short file. Now, regardless of whether this is all right or wrong Beryl works beautifully. I have all the effects including the cube, so I post the above info in an effort to help you get your's working. May I suggest that you run 'beryl-manager' from a terminal? That way, as you're using it to make changes you can see the output that the program creates. This is sometimes very useful for diagnostics.

clifweb
5th April 2007, 09:54 AM
What I typed and the output
[clifton@localhost ~]$ uname -ra
Linux localhost.localdomain 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 10:42:48 EDT 2007 i686 athlon i386 GNU/Linux
[clifton@localhost ~]$ rpm -q kmod-nvidia
package kmod-nvidia is not installed

clifweb
5th April 2007, 09:57 AM
[clifton@localhost ~]$ cat /etc/X11/xorg.conf
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

leigh123linux
5th April 2007, 10:09 AM
What I typed and the output
[clifton@localhost ~]$ uname -ra
Linux localhost.localdomain 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 10:42:48 EDT 2007 i686 athlon i386 GNU/Linux
[clifton@localhost ~]$ rpm -q kmod-nvidia
package kmod-nvidia is not installed

uname -a wont show the snakebite kernel error

clifweb
5th April 2007, 10:28 AM
[root@localhost ~]# desktop-effects
gtk-window-decorator: Could not acquire decoration manager selection on screen 0 display ":0.0"
compiz: No GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0

igknighted
5th April 2007, 10:41 AM
[clifton@localhost ~]$ cat /etc/X11/xorg.conf
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nv"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

You are using the default nvidia drivers that do not support 3d, hence beryl crashes your system. You need to either install the drivers from nvidia's site (make sure you have the kernel-devel package), or enable livna and install the drivers via yum. Once the drivers are installed you should see an nvidia splash screen before you get to the login screen. Once you get this, when you run beryl-manager it should all start up fine.

Notice how glennzo's xorg.conf has the driver listed as "nvidia" while yours is "nv". You need to install the proprietary nvidia driver to be able to switch it to "nvidia".

leigh123linux
5th April 2007, 10:43 AM
[root@localhost ~]# desktop-effects
gtk-window-decorator: Could not acquire decoration manager selection on screen 0 display ":0.0"
compiz: No GLXFBConfig for default depth, this isn't going to work.
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0


You need a i686 kernel for the nvidia driver to work to check use this command

rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

if it lists a i586 kernel try this link to swap the kernel

http://forum.fedoraforum.org/showthread.php?t=139751

And you also need to install the livna kmod-nvidia driver to get 3D acceleration working

Nvidia howto

http://www.fedoraforum.org/forum/showthread.php?t=99285

and your xorg.conf is missing some sections , here a copy of my working nvidia xorg.conf


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Fri Dec 15 10:12:14 PST 2006

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "extmod"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Philips"
ModelName "Philips 190V"
# HorizSync 30.0 - 83.0
# VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
Option "XAANoOffscreenPixmaps"
Option "AddARGBGLXVisuals" "true"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
Option "AIGLX" "true"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

igknighted
5th April 2007, 10:47 AM
check out wiki.beryl-project.org for instructions on installing/using beryl, theres a lot to it. You should read up thoroughly before attempting to install it. It is very easy to hose your system trying to install it properly, especially if you haven't read up on it.

EDIT: Man that wiki page sucks... check the nvidia troubleshooting section too, not just the fedora one.

clifweb
5th April 2007, 11:33 AM
Can I install the nivdia driver using yum install kmod-nvidia

If yes the following error is being produced:
Transaction Check Error:

package kernel-2.6.20-1.2933.fc6 is already installed
file /boot/System.map-2.6.20-1.2933.fc6 from install of kernel-2.6.20-1.2933.fc6 conflicts with file from package kernel-2.6.20-1.2933.fc6
file /boot/config-2.6.20-1.2933.fc6 from install of kernel-2.6.20-1.2933.fc6 conflicts with file from package kernel-2.6.20-1.2933.fc6
file /boot/symvers-2.6.20-1.2933.fc6.gz from install of kernel-2.6.20-1.2933.fc6 conflicts with file from package kernel-2.6.20-1.2933.fc6
file /boot/vmlinuz-2.6.20-1.2933.fc6 from install of kernel-2.6.20-1.2933.fc6 conflicts with file from package kernel-2.6.20-1.2933.fc6

Error Summary
-------------

clifweb
5th April 2007, 11:42 AM
[clifton@localhost ~]$ rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

kernel-2.6.18-1.2798.fc6.i586
kernel-2.6.20-1.2933.fc6.i586
kernel-devel-2.6.18-1.2798.fc6.i586
kernel-devel-2.6.20-1.2933.fc6.i586
kernel-headers-2.6.20-1.2933.fc6.i386

clifweb
5th April 2007, 11:45 AM
I done it how do I remove the ole kernel
[clifton@localhost ~]$ yum list installed kernelLoading "installonlyn" plugin
Installed Packages
kernel.i586 2.6.18-1.2798.fc6 installed (Need to remove this if it doesn;t do any harm)
kernel.i686 2.6.20-1.2933.fc6 installed

clifweb
5th April 2007, 11:55 AM
[root@localhost ~]# rpm -Uhv http://rpm.livna.org/livna-release-6.rpm
Retrieving http://rpm.livna.org/livna-release-6.rpm
Preparing... ########################################### [100%]
package livna-release-6-1 is already installed
[root@localhost ~]# yum install kmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs-32bit
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package kmod-nvidia.i686 0:1.0.9755-2.2.6.20_1.2933.fc6 set to be installed
---> Package xorg-x11-drv-nvidia.i386 0:1.0.9755-3.lvn6 set to be updated
--> Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
kmod-nvidia i686 1.0.9755-2.2.6.20_1.2933.fc6 livna 2.3 M
xorg-x11-drv-nvidia i386 1.0.9755-3.lvn6 livna 4.9 M

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 7.2 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: kmod-nvidia ######################### [1/2]
Installing: xorg-x11-drv-nvidia ######################### [2/2]
FATAL: Error inserting nvidia (/lib/modules/2.6.20-1.2933.fc6/extra/nvidia/nvidia.ko): Invalid module format

Installed: kmod-nvidia.i686 0:1.0.9755-2.2.6.20_1.2933.fc6 xorg-x11-drv-nvidia.i386 0:1.0.9755-3.lvn6
Complete!

clifweb
5th April 2007, 12:04 PM
Ok it only required a restart: Desktop effetc is working now

fedorachina
5th April 2007, 04:51 PM
There is two websites for you:
http://rpm.livna.org/
http://beryl-project.org/
download nvidia driver for your kernel version

leigh123linux
5th April 2007, 06:40 PM
Ok it only required a restart: Desktop effetc is working now

Do you like the 3D beryl effects? :cool: