sidux.com
Menu

News

Give back
Last 3 Contributions
30-06-2009 50.00
20-06-2009 30.00
16-06-2009 100.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
cobra
19 Post subject: Beryl Installation Script  PostPosted: Dec 30, 2006 - 06:23 AM
Team Member


Joined: Dec 04, 2006
Posts: 158

Status: Offline
This Thread will be updated daily to keep you up to date

Now here's my beryl-install-repair script.
it can be used for quick installation or repair installation of beryl and emerald.

so give it a try Wink

changes and suggestions are always welcome

NOTE:Please always use: berylscript_v<version> -e or -g to see if new functions are available or something changed
This script is only tested with NVIDIA graphics adapters not ATI

EDIT:
Changelog:
08.01.2007: .command 1 is now active, so Repos are added automatically to sources.list.
09.01.2007: new plugins will be installed automatically if metapackages is chosen
09.01.2007: completely rewrote the script, so now it has improved error management, and beryl-repair mode Wink
10.01.2007: included some beta fix to keep the script running cause there are some problems with the repo which have to be cleared.
11.01.07: script is running now normally. deleted unstable
12.01.07: repos updated the newest plugins will install now, seems to work stable.
16.01.2007: script updated, added german translation, added gpg function
18.01.2007: Plugins are not longer available as seperate packages, so the installation routine changed
21.01.2007: fixed "cannot execute binary file" error
25.01.2007: Updated script with new plugins "beryl-plugins-extra beryl-settings-simple
beryl-plugins-vidcap"
03.02.07: renamed beryl-plugins-extra with beryl-plugins-unsupported
17.02.07: minor fixes
22.02.07: fixed amd error message
23.02.07: added libberylsettings0-gconf
21.05.07: included changes suggested by op4latino "Thanks for that op4latino"

edit: i deleted this script because it's not useable anymore, sorry

_________________
SUPPORT sidux
sidux e.V. join and enjoy
"Sir, we are surrounded!" - "Great - we can attack in any direction."


Last edited by cobra on Feb 08, 2008 - 02:06 PM; edited 35 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
gmx99
Post subject: Beryl Installation Script  PostPosted: Dec 30, 2006 - 02:19 PM



Joined: Dec 03, 2006
Posts: 162

Status: Offline
Hi cobra,
inzwischen vielen Dank, werde das gleich probieren!
Bis dann,
gmx99
 
 View user's profile Send private message  
Reply with quote Back to top
gmx99
Post subject: Beryl Installation Script  PostPosted: Dec 30, 2006 - 03:21 PM



Joined: Dec 03, 2006
Posts: 162

Status: Offline
sorry for the german post......
cobra, i tried the script and it works perfectly. but my problem is persistent...... white screen..... Sad
have you any ideas for help...?
greets
 
 View user's profile Send private message  
Reply with quote Back to top
shame
Post subject:   PostPosted: Dec 30, 2006 - 06:40 PM



Joined: Dec 04, 2006
Posts: 1628
Location: England
Status: Offline
I don't see the script anywhere, am I missing something?

<EDIT>
O, I see, attachments only appear when I'm logged in.

_________________
sidux 32 & 64 | Parsix | Mandriva Cooker

repository of shame - compiz fusion repo for sidux/debian | 32-bit | 64-bit
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
frockert
Post subject:   PostPosted: Dec 30, 2006 - 08:48 PM



Joined: Dec 02, 2006
Posts: 23

Status: Offline
Hi,
i have the same problem -> white cube
I used h2-script to get the system up to date.

Now i'm not able to get --> direct rendering: YES
I think this one problem to solve before giong on with beryl, isn't it?


uname -a
Linux AMD64 2.6.18.5-slh-up-1 #1 PREEMPT Mon Dec 4 12:31:39 CET 2006 i686 GNU/Linux

glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6600 GT/PCI/SSE2/3DNOW!
OpenGL version string: 1.2 (2.1.0 NVIDIA 96.31)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_window_pos, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_program,
GL_ARB_fragment_program, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_ATI_texture_mirror_once, GL_HP_occlusion_test,
GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_NV_texture_rectangle,
GL_NV_texture_env_combine4, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x2c 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1684632935 746015819 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 1966029422 1768042348 None
0x2e 32 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon
0x2f 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon

glxinfo | grep direct
direct rendering: No


greets
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
shame
Post subject:   PostPosted: Dec 30, 2006 - 09:42 PM



Joined: Dec 04, 2006
Posts: 1628
Location: England
Status: Offline
I'm using the same driver as you and I have direct rendering. You may not have the needed lines in xorg.conf.
This is what I do with every distro to get my xorg.conf right.
Go to init 3 (type init 3 in a terminal) then I type each of these lines one at a time .
      Code:
nvidia-xconfig --composite
nvidia-xconfig --allow-glx-with-composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals

_________________
sidux 32 & 64 | Parsix | Mandriva Cooker

repository of shame - compiz fusion repo for sidux/debian | 32-bit | 64-bit
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
damentz
Post subject:   PostPosted: Dec 30, 2006 - 11:11 PM



Joined: Dec 01, 2006
Posts: 898

Status: Offline
Do we really need a script for beryl?? If you use Kano's scripts for graphics drivers, it adds options for aiglx, then you just run 'beryl-manager' in X.

_________________
"Cool was never cool until the cool guys at Cool industries developed a cool new product: Cool."
 
 View user's profile Send private message  
Reply with quote Back to top
piper
Post subject:   PostPosted: Dec 31, 2006 - 12:30 AM
Team Member


Joined: Nov 27, 2006
Posts: 2034
Location: buffalo, ny
Status: Offline
Do we really need scripts period ?

Scripts help in many ways (some don't like scripts period)

If someone wants to write a script on beryl or taking a piss or whatever, let them, just don't use it or ask why, different strokes for different folks. Not to be mean or rude but why question someones work or someones way of making a repair or install of beryl (or any app) easier for people. Last time I looked at kano's script, it does not repair beryl. my 2 cents

EDIT: how does it add options for aiglx which is built into xorg ?

_________________
.... _
... (0)>
... / / \
.. / / . )
.. V_/_sidux powered

You can check out any time you like ... but you can never leave


Last edited by piper on Dec 31, 2006 - 04:26 AM; edited 1 time in total
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
Ironwalker
Post subject:   PostPosted: Dec 31, 2006 - 01:40 AM



Joined: Dec 01, 2006
Posts: 481
Location: NYC/NJ Shore area
Status: Offline
True indeed piper and not mean at all.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
cobra
Post subject:   PostPosted: Dec 31, 2006 - 07:34 AM
Team Member


Joined: Dec 04, 2006
Posts: 158

Status: Offline
i have no problems since i use this options on graphics driver install:
      Code:
install-nvidia-debian.sh -cfv 9631

the white screen can be fixed by this script.
just remove the settings and then install fresh beryl. it worked fine for me when i had this problem.

@gmx99
1)install nvidia driver with the options mentioned here before
2)use script to remove settings.
3)install beryl with the script, this will install fresh settings.
4)when you see the small beryl icon in system tray, right click on it.
5)set all 'advanced options for beryl' to AUTOMATIC.

that should solve your white screen



@damentz: i wrote this script to help people with their problems and also for the beginners, to have an easy entry to beryl.
If you don't like it, just don't use it.
it's your choice Wink

_________________
SUPPORT sidux
sidux e.V. join and enjoy
"Sir, we are surrounded!" - "Great - we can attack in any direction."


Last edited by cobra on Mar 07, 2007 - 12:01 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
frockert
Post subject:   PostPosted: Dec 31, 2006 - 10:20 AM



Joined: Dec 02, 2006
Posts: 23

Status: Offline
      shame wrote:
I'm using the same driver as you and I have direct rendering. You may not have the needed lines in xorg.conf.
This is what I do with every distro to get my xorg.conf right.
Go to init 3 (type init 3 in a terminal) then I type each of these lines one at a time .
      Code:
nvidia-xconfig --composite
nvidia-xconfig --allow-glx-with-composite
nvidia-xconfig --render-accel
nvidia-xconfig --add-argb-glx-visuals



I tried this, but i don't noticed any changes.

I don't find my mistake...perhaps you can find my mistake in the xorg.conf?
Thanks for help

glxinfo | grep direct
direct rendering: No

greets
frockert
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
piper
Post subject:   PostPosted: Dec 31, 2006 - 11:52 AM
Team Member


Joined: Nov 27, 2006
Posts: 2034
Location: buffalo, ny
Status: Offline
What my xorg looks like, if you want to use to compare

      Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
   # path to defoma fonts
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/100dpi:unscaled"
    FontPath    "/usr/share/fonts/X11/75dpi:unscaled"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/local/share/fonts"
EndSection

Section "Module"
   Load   "i2c"
   Load   "bitmap"
   Load   "ddc"
#   Load  "dri"
   Load   "extmod"
   Load   "freetype"
   Load  "glx"
   Load   "int10"
   Load   "vbe"
EndSection

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "CoreKeyboard"
   Option      "XkbRules"   "xorg"
   Option      "XkbModel"   "pc104"
   Option      "XkbLayout"   "us"
EndSection

Section "InputDevice"
   Identifier  "Configured Mouse"
   Driver      "mouse"
   Option      "Protocol" "ExplorerPS/2"
Option          "ZAxisMapping"          "4 5"
   Option      "Device" "/dev/psaux"
   Option      "Emulate3Buttons" "true"
   Option      "Emulate3Timeout" "70"
   Option       "SendCoreEvents"  "true"
EndSection

Section "Device"
   Identifier   "Generic Video Card"
   Driver      "nvidia"
   Option      "RenderAccel"   "1"
   Option      "AllowGLXWithComposite"   "1"
   Option      "RandRRotation"   "1"
   Option      "AddARGBGLXVisuals"   "1"
   Option      "DisableGLXRootClipping"   "1"
   Option      "TripleBuffer"   "1"
   Option      "UseEDID"   "1"
   Option      "UseEdidFreqs"   "1"
   Option      "DynamicTwinView"   "0"
   Option      "IgnoreDisplayDevices"   "TV"
   Option      "Coolbits"   "1"
   BusID      "PCI:0:13:0"
EndSection

Section "Monitor"
   Identifier   "Generic Monitor"
   Option      "DPMS"
   HorizSync   28-51
   VertRefresh   43-60
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Device      "Generic Video Card"
   Monitor      "Generic Monitor"
   DefaultDepth   24
   SubSection "Display"
      Depth      1
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      4
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      8
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      15
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      16
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth      24
      Modes      "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Generic Keyboard"
   InputDevice   "Configured Mouse"
EndSection

Section "DRI"
   Mode   0666
EndSection

Section "Extensions"
   Option   "Composite"   "1"
#   Option   "RENDER"   "1"
EndSection

_________________
.... _
... (0)>
... / / \
.. / / . )
.. V_/_sidux powered

You can check out any time you like ... but you can never leave
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
gmx99
Post subject:   PostPosted: Dec 31, 2006 - 03:36 PM



Joined: Dec 03, 2006
Posts: 162

Status: Offline
Hi cobra,
my problem is always the same. Starting beryl-manager i have no access to the little icon.

do i need xgl? how can i remove it?

thanks,
gmx99
 
 View user's profile Send private message  
Reply with quote Back to top
cobra
Post subject:   PostPosted: Dec 31, 2006 - 04:05 PM
Team Member


Joined: Dec 04, 2006
Posts: 158

Status: Offline
Maybe you should try it like that:
      Code:
su
init 3
chmod +x berylscript.sh
berylscript.sh
#Remove settings and re-install beryl with the script.
init 5

Then type beryl-settings, not beryl-manager, into console.
Have a look at the png and svg plugins.
Make sure you have one of them active.
Otherwise i'll post my settings file here, which is proved to work very well.

EDIT:The problem is compiz, just remove whole compiz stuff with:
      Code:
apt-get remove --purge compiz*

That sure will work cause you don't need compiz to run beryl.

_________________
SUPPORT sidux
sidux e.V. join and enjoy
"Sir, we are surrounded!" - "Great - we can attack in any direction."


Last edited by cobra on Dec 31, 2006 - 04:22 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
gmx99
Post subject:   PostPosted: Dec 31, 2006 - 04:17 PM



Joined: Dec 03, 2006
Posts: 162

Status: Offline
many thanks, i will try it now!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2009 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio