First run of my live distro based on RR4

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

First run of my live distro based on RR4

Postby doktoreas » Thu Jul 20, 2006 18:55

Thx to Fabio and all RR4 team, i have succesfull run my live distro...All is working fine, except this glxinfo
Code: Select all
r4user@rr4dvd ~ $ glxinfo
name of display: :0.0
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

   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
----------------------------------------------------------------------
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x21 24 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
Xlib:  extension "GLX" missing on display ":0.0".
Xlib:  extension "GLX" missing on display ":0.0".
0x22 24 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


And i don't know if this make distro so slow on visualizing things...For example right clicling to copy the text i just pasted, taked about 3 sec...

Bye
Luca
doktoreas
Baby Hen
 
Posts: 9
Joined: Fri Jun 30, 2006 8:30

Postby lxnay » Thu Jul 20, 2006 23:31

luca, what have you upgraded using my chroot? Something releated to x-setup (from livecd-tools) ?
lxnay
Land Owner
 
Posts: 3405
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Postby doktoreas » Thu Jul 20, 2006 23:52

Hi Fabio!
Nope, i just updated Genkernel (and the genkernel.conf).. The problem come on 3 pc i tested..

Those are the package ( all machine were Nvidia card ):

Code: Select all
* app-misc/livecd-tools
 Installed:           1.0.29

 media-video/nvidia-glx
  Installed:           1.0.8762

* media-video/nvidia-kernel
   Installed:           1.0.8762

Thx for all
Luca
doktoreas
Baby Hen
 
Posts: 9
Joined: Fri Jun 30, 2006 8:30

Postby lxnay » Fri Jul 21, 2006 10:00

Please paste here the content/output of:

lspci
/etc/init.d/x-setup
x-setup bash script (use which x-setup to know where it is)
rc-update show

thanks.
lxnay
Land Owner
 
Posts: 3405
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Postby doktoreas » Fri Jul 21, 2006 10:23

Lspci
Code: Select all
rr4dvd rr4user # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 651 Host (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS962 [MuTIOL Media IO] (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:07.0 Communication controller: Conexant HSF 56k HSFi Modem (rev 01)
00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)


rc-update show
Code: Select all
 * Invalid runlevel entry: /etc/runlevels/single/.keep
 * Invalid runlevel entry: /etc/runlevels/nonetwork/.keep
 * Invalid runlevel entry: /etc/runlevels/default/.keep
 * Invalid runlevel entry: /etc/runlevels/boot/.keep
               acpid | boot
           alsasound |      default
             apache2 |      default
           bluetooth |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
               cupsd |      default
                dbus |      default
              dhcdbd |      default
              esound |      default
                hald |      default
              hdparm | boot
            hostname | boot
             hotplug | boot
               hplip |      default
       internetkiosk | boot
             keymaps | boot default
                lisa |      default
               local |      default nonetwork
             localit |      default
          localmount | boot
               mdnsd |      default
             modules | boot
              net.lo | boot
            netmount |      default
      NetworkManager |      default
             portmap |      default
          postgresql |      default
          powersaved |      default
           rmnologin | boot
               samba |      default
              serial | boot
              splash |      default
                sshd |      default
           syslog-ng |      default
             urandom | boot
                 xdm |      default
             x-setup |      default


x-setup
Code: Select all
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo/src/livecd-tools/x-setup.init,v 1.3 2005/03/01 18:13:51 wolf31o2 Exp $

depend() {
   before xdm local
}

start() {

      # get livecd functions
      source /sbin/livecd-functions.sh

      if [ ! -e /var/cache/edb ]; then
   mkdir /var/cache/edb
   mkdir /var/cache/edb/dep
   chmod 775 /var/cache/edb -R
   chmod 775 /var/cache/edb/dep -R
   chown root:portage /var/cache/edb -R
      fi

      cmdline_onlyvesa_exist=$(cat /proc/cmdline | grep onlyvesa)
      cmdline_noproprietary_exist=$(cat /proc/cmdline | grep noproprietary)

      if [ -n "$cmdline_onlyvesa_exist" ]; then

   return 0
   eend 0

      else

   xen_exists=$(/bin/uname -a | grep 2.6.*-xen*)

   if [ -n "$cmdline_noproprietary_exist" ] || [ -n "$xen_exists" ]; then

      ebegin "OpenGL already configured"
      eend 0

   else

     cmdline_opengl_exists=$(cat /proc/cmdline | grep "opengl=")
     if [ -n "$cmdline_opengl_exists" ]; then

             for word in `cat /proc/cmdline` ; do
                case $word in
                  opengl=*)
                         opengl_toset=$(echo $word | cut -d "=" -f 2)
                    ebegin "Configuring OpenGL for "$opengl_toset
                    /usr/bin/eselect opengl set --dst-prefix=/etc/opengl $opengl_toset
                    eend $?
                  ;;
                esac
              done


     else

       get_video_cards &> /dev/null
       get_current_gl=$(eselect opengl show)

                # Fix for "nVidia Corporation Unknown device"
                if [ -n "`lspci | grep VGA | grep 'nVidia Corporation Unknown device'`" ]; then
                  ebegin "Configuring OpenGL (Unknown nVidia device)"
                  /usr/bin/eselect opengl set --dst-prefix=/etc/opengl nvidia
                  eend $?
                fi

                # Fix for "nVidia Corporation PCI Express Device"
                if [ -n "`lspci | grep VGA | grep nVidia | grep 'PCI Express'`" ]; then
                  ebegin "Configuring OpenGL (PCI Express device)"
                  /usr/bin/eselect opengl set --dst-prefix=/etc/opengl nvidia
                  eend $?
                fi
   
           if [ "$get_current_gl" != "$GLTYPE" ]; then
        ebegin "Configuring OpenGL"
        /usr/sbin/x-setup
        eend $?
      else
        ebegin "OpenGL already configured"
        eend 0
      fi
   
      fi

   fi

     fi
}
doktoreas
Baby Hen
 
Posts: 9
Joined: Fri Jun 30, 2006 8:30

Postby doktoreas » Fri Jul 21, 2006 10:27

Those error is with default genekernel.. i notice that your change something (evdev part for example )..I'll build another version with your genkernel today.

Luca
doktoreas
Baby Hen
 
Posts: 9
Joined: Fri Jun 30, 2006 8:30

Postby lxnay » Sat Jul 29, 2006 16:59

* Invalid runlevel entry: /etc/runlevels/single/.keep
* Invalid runlevel entry: /etc/runlevels/nonetwork/.keep
* Invalid runlevel entry: /etc/runlevels/default/.keep
* Invalid runlevel entry: /etc/runlevels/boot/.keep

First of all, remove these files.

When you've updated livecd-tools you've overwritten openglify with a non-working version, that's the working version for the 32bit RR4:

Code: Select all
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo/src/livecd-tools/openglify,v 1.6 2005/05/31 19:08:28 wolf31o2 Exp $

#This script is designed to tweak the system for opengl-update
#set up our flexible opengl stuff:

#move symlinks to a malleable /etc/opengl directory.
install -d test/lib/modules/extensions

rm /usr/lib/libGL{,core}.{la,a,so}* > /dev/null 2>&1

rm /usr/lib/modules/extensions/libglx* > /dev/null 2>&1
rm /usr/lib/xorg/modules/extensions/libglx* > /dev/null 2>&1

ln -sf /etc/opengl/lib/libGL.so /usr/lib/libGL.so
ln -sf /etc/opengl/lib/libGL.so.1 /usr/lib/libGL.so.1
ln -sf /etc/opengl/lib/libGLcore.so /usr/lib/libGLcore.so
ln -sf /etc/opengl/lib/libGLcore.so.1 /usr/lib/libGLcore.so.1


ln -sf /etc/opengl/lib/modules/extensions/libglx.so /usr/lib/modules/extensions/libglx.so
ln -sf /etc/opengl/lib/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so

ln -sf /etc/opengl/lib/modules/extensions/libglx.a /usr/lib/modules/extensions/libglx.a
ln -sf /etc/opengl/lib/modules/extensions/libglx.a /usr/lib/xorg/modules/extensions/libglx.a

ln -sf /etc/opengl/lib/libGL.la /usr/lib/libGL.la


Put this content into /usr/sbin/openglify and then rebuild the ISO.
lxnay
Land Owner
 
Posts: 3405
Joined: Thu Oct 13, 2005 23:16
Location: Italy


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests