You are not logged in.

#1 2007-04-15 16:56:12

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

RESOLVED: (Workaround)Need help with beryl

I recently reinstalled Arch, (though I had no reason to, other than the challenge of getting everything to work again.)
I am using the nvidia drivers, with a 7600gt card. I followed the wiki instructions, and and am getting this error when I run beryl-manager:

[misfit@myhost ~]$ beryl-manager
[misfit@myhost ~]$ No window manager. Waiting...
New Window Manager
Found not compatible window manager. Waiting...

I can hear my video card's fan kick into high gear, as if it is gearing up for 3d, but the terminal will just sit there in that state. I do get the red beryl gem in the panel, but no 3d desktop.
I installed "beryl-kde" and "beryl" and "beryl-extras"
I have beryl working on another distro, and have compared and borrowed xorg options, from the mounted partition, with no success.
Here is my xorg:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:38:46 PST 2007

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Evdev Mouse" "CorePointer"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
#    Load           "dri"
EndSection

Section "InputDevice"
  Identifier      "Evdev Mouse"
  Driver          "evdev"
  Option          "Name" "Logitech USB-PS/2 Optical Mouse"
  Option          "CorePointer"
EndSection


Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "TripleBuffer" "True"
    Option         "AllowGLXWithComposite" "true"
    Option "DRI" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "DPMS"
    Option "AddARGBGLXVisuals"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1280x1024" "1024x768" "800x600" "640x480"
  
    EndSubSection
EndSection

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

Any help would be appreciated very much, as I have struggled with this for days now.
Thank you.

Last edited by Misfit138 (2007-04-15 23:35:43)

Offline

#2 2007-04-15 17:12:40

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: RESOLVED: (Workaround)Need help with beryl

Hi

Here is my Device section:

"Device"
    Identifier    "** NVIDIA (generic)                   [nv]"
    Driver        "nvidia"
    VendorName     "NVIDIA Corporation"
    #VideoRam      65536
    Option        "UseEDID" "True"
    Option        "RenderAccel"                "true"
    Option        "AllowGLXWithComposite" "true"
    Option        "TripleBuffer"      "True"
    Option        "AddARGBGLXVisuals"
EndSection

The differences seem to be the AddARGBGLXVisuals is in this section rather than the Screen one, and the RenderAccel. 

Good luck.

Also, you have the dri module commented out and then option true in the device section.

Last edited by colnago (2007-04-15 17:15:12)

Offline

#3 2007-04-15 18:06:39

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: RESOLVED: (Workaround)Need help with beryl

Thanks for the reply.
I seem to have gotten the 3d desktop now, by doing:

beryl --use-tfp

It works, however clumsily, for now. I don't seem to have any antialiasing on the screen edges, though I have "best" quality checked in the beryl settings manager.
I also created a link in my .kde/Autoastart to start beryl-manager on kde start.....
Is there a way I can execute "beryl --use-tfp" right after kde startup, automatically?
The 3d desktop will not start without that command.

Thanks.

Last edited by Misfit138 (2007-04-15 18:07:39)

Offline

#4 2007-04-15 21:59:52

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: RESOLVED: (Workaround)Need help with beryl

you can always put the command "beryl --use-tfp" in your .bashrc file.

Offline

#5 2007-04-15 22:39:06

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: RESOLVED: (Workaround)Need help with beryl

ralvez wrote:

you can always put the command "beryl --use-tfp" in your .bashrc file.

Hmmm.. I tried this but, it must be executing this command before my kde autostart "beryl-manager" command..which is too soon. It needs to execute after it.
Adding beryl --use-tfp to my kde autostart does not work; I suspect a syntax error. Is there  a way to add it to the autostart properly?
In the meantime I created a link to application on my panel which I can press to activate Beryl.

Last edited by Misfit138 (2007-04-15 22:40:53)

Offline

#6 2007-04-15 23:01:47

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: RESOLVED: (Workaround)Need help with beryl

To add the command to the .kde/Autostart you have to do the following:
1. create a script (say you call it berylftp)
2. inside the berylftp you put :

#!/bin/bash
beryl --use-tfp

3. save the script somewhere in you home directory and make the file executable (chmod 700 berylftp)
4. create a symlink to the file in ./kde/Autostart by doing: ln -s path_to/berylftp berylftp

Now when you start KDE it will run after KDE is running.

R.

Offline

#7 2007-04-15 23:34:51

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: RESOLVED: (Workaround)Need help with beryl

Ralvez, thank you so much! That works beautifully! cool

Offline

#8 2007-04-16 00:39:36

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: RESOLVED: (Workaround)Need help with beryl

Glad to be of help.
BTW you may want to mark the thread as "solved".
R

Edit:  roll never mind me ... you already did

Last edited by ralvez (2007-04-16 00:43:40)

Offline

Board footer

Powered by FluxBB