PDA

View Full Version : Opening Beryl Crashes KDE and ends session


OMG a shark
April 27th, 2007, 11:15 PM
I am somewhat new to linux (I've played around with it here & there).
I installed Fedora 6 and beryl but when I try to run beryl the screen flashes black, the top bar from all the windows dissappears and I am logged out of KDE.

I can't run beryl-manager because it crashes in the same fashion, but beryl-settings works.

When I enter beryl --test-only in the terminal it comes up:
[code:833e2]
[travis@localhost ~]$ beryl --test-only
************************************************** ************
* Beryl system compatiblity check *
************************************************** ************

Detected xserver : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : passed
Checking maximum texture size : passed (2048x2048)
[/code:833e2]

The computer I am running this on has (to the best of my memory) a GeForce2 video card with 64MB Video Memory
256MB Ram
2.4 GHz AMD Athlon CPU
(Can't remember the motherboard off hand, I can look it up though if needed)

Any help would be appreciated. Thank you.

Jupiter
April 28th, 2007, 12:06 AM
[quote="OMG a shark":b2e63]
I am somewhat new to linux (I've played around with it here & there).
I installed Fedora 6 and beryl but when I try to run beryl the screen flashes black, the top bar from all the windows dissappears and I am logged out of KDE.

I can't run beryl-manager because it crashes in the same fashion, but beryl-settings works.

When I enter beryl --test-only in the terminal it comes up:
[code:b2e63]
[travis@localhost ~]$ beryl --test-only
************************************************** ************
* Beryl system compatiblity check *
************************************************** ************

Detected xserver : AIGLX

Checking Display :0.0 ...

Checking for XComposite extension : passed (v0.3)
Checking for XDamage extension : passed
Checking for RandR extension : passed
Checking for XSync extension : passed

Checking Screen 0 ...

Checking for GLX_SGIX_fbconfig : passed
Checking for GLX_EXT_texture_from_pixmap : passed
Checking for non power of two texture support : passed
Checking maximum texture size : passed (2048x2048)
[/code:b2e63]

The computer I am running this on has (to the best of my memory) a GeForce2 video card with 64MB Video Memory
256MB Ram
2.4 GHz AMD Athlon CPU
(Can't remember the motherboard off hand, I can look it up though if needed)

Any help would be appreciated. Thank you.
[/quote:b2e63]

you need to use XGL when using legacy nvidia drivers "still may not work with your card"
you can look here for your specific card to see if it is on the working list
http://gentoo-wiki.com/HARDWARE_Video_C ... _Under_XGL (http://gentoo-wiki.com/HARDWARE_Video_Card_Support_Under_XGL)
you also need to make sure and install the dependencies in the proper order
cairo
pango gtk+
glproto libdrm
mesa
xgl
nvidia driver

OMG a shark
April 28th, 2007, 01:16 AM
Thanks. I'll install all of those and see what happens.

adamk
April 28th, 2007, 01:25 AM
I believe your video card is supported by the 1.0-9631 drivers from nvidia. These should support GLX_EXT_texture_from_pixmap directly, so you wouldn't need Xgl after all.

I'd double check the version you have and confirm that it is, in fact, the latest version available for your card.

Adam

OMG a shark
April 28th, 2007, 01:28 AM
(I'm new to linux, is there a way to see which programs are already installed on my system?)

Also:

[quote:9d51a]
I'd double check the version you have and confirm that it is, in fact, the latest version available for your card.
[/quote:9d51a]

sorry, How do I check the version of my drivers?

Jupiter
April 28th, 2007, 03:59 AM
I believe your video card is supported by the 1.0-9631 drivers from nvidia. These should support GLX_EXT_texture_from_pixmap directly, so you wouldn't need Xgl after all.

I'd double check the version you have and confirm that it is, in fact, the latest version available for your card.

Adam


i was trying to figure out how you new that Adam
then i noticed this in his output
[code:64e4f]
Checking for GLX_EXT_texture_from_pixmap : passed
[/code:64e4f]
So ok he must have a GeForce2 Go or GeForce2 Mx all the other
Geforce2 are legacy
the latest none legacy driver is 1.0.9755

you can update your driver through your distro's packager
and for nvidia make sure you have at least this in your xorg.conf
and by the way, not having "Option "AddARGBGLXVisuals" "True""
will make it crash and or lose decorations, as you are experiencing
[code:64e4f]
Section "Module"
Load "glx"

Section "Screen"
...
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
[/code:64e4f]
make sure to comment out any DRI stuff

OMG a shark
April 28th, 2007, 06:03 AM
My video card is legacy I found out after trying to install the drivers, I got the error message saying:
WARNING: The NVIDIA GeForce2 Ti GPU installed in this system is supported
through the NVIDIA 1.0-71xx legacy Linux graphics drivers. Please
visit http://www.nvidia.com/object/unix.html for more information.
The 1.0-9755 NVIDIA Linux graphics driver will ignore this GPU.
So I will try installing the latest Legacy Drivers

<<Edit: I can't figure out how to install the legacy drivers. It says I need to exit the X server. I looked around and saw to press CtrlAltBackspace but from there i don't know what to do to run the .run file>>

<<Edit 2: Ok figured that part out, but when I go to the install for the drivers it says:[quote:b18b9]
No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site?

*click yes*

"No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel

*click ok*

ERROR: Unable to find the development tool 'cc' in your path; please make sure that you have the package 'gcc' installed. If gcc is installed on your system, then please check that 'cc' is in your PATH.

*click ok*

Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at http://www.nvidia.com.
[/quote:b18b9]
>>
Then I am back at the Terminal.

All of that was in my xorg.conf file so maybe it is that my drivers need to be updated. This is the contents of the file though in case there is something I may have missed:

[code:b18b9]# Xorg configuration created by pyxf86config

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

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "GLCore"
Load "dri"
EndSection

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

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

Section "Screen"
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
[/code:b18b9]

Thank you two for all your patience.

adamk
April 28th, 2007, 12:10 PM
Ahhh, well with the 7184 drivers, you will need to use Xgl to run beryl. Unfortunately, I have no idea how to go about setting up Xgl on FC.

Adam

Jupiter
April 28th, 2007, 02:46 PM
you can find the XGL install for FC here
http://wiki.beryl-project.org/wiki/Inst ... _on_Fedora (http://wiki.beryl-project.org/wiki/Install_Beryl_on_Fedora_Core#Installation_of_XGL_o n_Fedora)

you should look in the FC docs website for video driver update/install