beryl a xgl

Sekcia: Aplikácie & Desktop 20.06.2007 | 01:27
ja..   Návštevník
zdravi, som len zaciatocnik a mam problemi rozbehat beryl na Ubuntu 7.04 x64. Mam Ati X1600 a instaloval som Beryl podla navodu co som nasiel na http://www.ubuntu.kayle.sk/ (54-ta strana z manualu co je dole). Zpravil som vsetko podla navodu a ked prepnem sedenie na XGL tak sa mi vypise nieco taketo :
Xsession:unable to lunch "/usr/bin/startxgl" X session ---"/
usr/bin/startxgl" not found; falling back to default session

a potom nabehne defaultne sedenie. Neviete co s tym, alebo ako mam rozbehat beryla lebo uz som skusal rozne navody a akosi nic .... dik
    • Re: beryl a xgl 20.06.2007 | 11:07
      Avatar Tommy Angelo   Používateľ
      a ako si nainstaloval grafiku? Ked sa prihlasis na normalne sedenia a zadas
      fglrxinfo
      alebo
      glxinfo | grep direct
      co ti vypise?
      • Re: beryl a xgl 20.06.2007 | 13:44
        ja..   Návštevník
        no takze po zadani prikazu fglrxinfo mi vypise
        Xlib: extension "XFree86-DRI" missing on display ":0.0".
        display: :0.0 screen: 0
        OpenGL vendor string: Mesa project: www.mesa3d.org
        OpenGL renderer string: Mesa GLX Indirect
        OpenGL version string: 1.4 (1.5 Mesa 6.5.2)

        takze mam asi zle nainstalovanu grafiku :( instaloval som ju podla tohto navodu http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide ale stale som ostal vysiet v casti Configure the Driver kde po zadani prveho prikazu mi vypise
        Warning: Could not find configuration file
        Please copy configuration file template to /etc/X11

        a neviem co s tym ... dik
        • Re: beryl a xgl 20.06.2007 | 14:03
          Avatar Tommy Angelo   Používateľ
          jj je to grafikou. Prikaz sudo aticonfig --initial by ti mal najst subor xorg.conf a prepisat v nom riadok obsahujuci nazov driver z vesa na na fglrx.
          sudo nano /etc/X11/xorg.conf

          no a v nom najdi tuto sekciu::
          Section "Device"
          Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Grap$
          Driver "i810"
          BusID "PCI:0:2:0"
          EndSection



          ked si skusal davat ten prvy prikaz, tak skus aj tento aticonfig --initial --force mozno zaberie a prepise ti ten ovladac nasilu. Ak nezabere, tak rucna konfiguracia.

          P.S. uvedeny priklad je z grafiky Intel
          • Re: beryl a xgl 20.06.2007 | 15:07
            ja..   Návštevník
            no a tu je problem, lebo ja tam subor xorg.conf vobec nemam, ale mam tam tri subory
            xorg.conf.fglrx-0
            xorg.conf.fglrx-1
            xorg.conf.fglrx-2 a nepomaha ani prikaz aticonfig --initial --force
        • Re: beryl a xgl 20.06.2007 | 15:11
          Avatar Tomáš Hanzel Slackware  Používateľ
          :-D

          Xlib: extension "XFree86-DRI" missing on display ":0.0".
          display: :0.0 screen: 0
          XFree86-DR

          Ja mám nápad...hod nám sem výpis tvojho konfiguračného súboru od X-iek...

          Pokiaľ príspevok nevhodný...ráčim prosim vymazať :-D
          Close the Windows Open The Source
          • Re: beryl a xgl 20.06.2007 | 15:13
            Avatar Tomáš Hanzel Slackware  Používateľ
            doplním


            prepíš si Xorg.cong.flgrx.0....blabla

            na xorg.conf

            a skús ak nič tak prepíš dvojku a pak trojku
            Close the Windows Open The Source
            • Re: beryl a xgl 20.06.2007 | 15:43
              ja..   Návštevník
              skusal som prepisovanie a nic, a aky vypis chces .... ?
    • Re: beryl a xgl 20.06.2007 | 16:17
      Avatar Tommy Angelo   Používateľ
      Skopiruj si moj xorg.conf a daj ho do /etc/X11/

      # **********************************************************************
      # Refer to the xorg.conf(5) man page for details about the format of
      # this file.
      # **********************************************************************

      # **********************************************************************
      # Module section -- this section is used to specify
      # which dynamically loadable modules to load.
      # **********************************************************************
      #
      Section "Module"

      # This loads the DBE extension module.

      Load "dbe" # Double buffer extension

      # This loads the miscellaneous extensions module, and disables
      # initialisation of the XFree86-DGA extension within that module.
      SubSection "extmod"
      Option "omit xfree86-dga" # don't initialise the DGA extension
      EndSubSection

      # This loads the font modules
      # Load "type1"
      Load "freetype"
      # Load "xtt"

      # This loads the GLX module
      Load "glx"
      # This loads the DRI module
      Load "dri"
      Load "drm"

      EndSection

      # **********************************************************************
      # Files section. This allows default font and rgb paths to be set
      # **********************************************************************

      Section "Files"

      FontPath "/usr/share/fonts/misc"
      FontPath "/usr/share/fonts/100dpi:unscaled"
      FontPath "/usr/share/fonts/75dpi:unscaled"
      # FontPath "/usr/share/fonts/TTF"
      # FontPath "/usr/share/fonts/Type1"
      # FontPath "/usr/lib/X11/fonts/local/"
      # FontPath "/usr/lib/X11/fonts/misc/"
      # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
      # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
      # FontPath "/usr/lib/X11/fonts/Speedo/"
      # FontPath "/usr/lib/X11/fonts/Type1/"
      # FontPath "/usr/lib/X11/fonts/TrueType/"
      # FontPath "/usr/lib/X11/fonts/freefont/"
      # FontPath "/usr/lib/X11/fonts/75dpi/"
      # FontPath "/usr/lib/X11/fonts/100dpi/"

      # The module search path. The default path is shown here.

      # ModulePath "/usr/lib/modules"

      EndSection


      # **********************************************************************
      # Core keyboard's InputDevice section
      # **********************************************************************

      Section "InputDevice"

      Identifier "Keyboard1"
      Driver "kbd"

      # For most OSs the protocol can be omitted (it defaults to "Standard").
      # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
      # uncomment the following line.

      # Option "Protocol" "Xqueue"

      Option "AutoRepeat" "500 30"

      Option "XkbRules" "xorg"
      Option "XkbModel" "pc104"
      Option "XkbLayout" "sk"
      Option "XkbVariant" "qwerty"

      EndSection


      # **********************************************************************
      # Core Pointer's InputDevice section
      # **********************************************************************

      Section "InputDevice"

      # Identifier and driver

      Identifier "Mouse1"
      Driver "mouse"
      Option "Protocol" "Auto" # Auto detect
      Option "Device" "/dev/input/mice"

      # When using XQUEUE, comment out the above two lines, and uncomment
      # the following line.

      # Option "Protocol" "Xqueue"

      # Mouse-speed setting for PS/2 mouse.

      # Option "Resolution" "256"

      # Baudrate and SampleRate are only for some Logitech mice. In
      # almost every case these lines should be omitted.

      # Option "BaudRate" "9600"
      # Option "SampleRate" "150"

      # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
      # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
      # 3 buttons and you need to map the wheel to different button ids to avoid
      # conflicts.

      Option "ZAxisMapping" "4 5 6 7"

      EndSection
      • Re: beryl a xgl 20.06.2007 | 16:18
        Avatar Tommy Angelo   Používateľ
        # **********************************************************************
        # Monitor section
        # **********************************************************************

        # Any number of monitor sections may be present

        Section "Monitor"

        Identifier "Xerox"

        HorizSync 31.5 - 64.3

        # HorizSync 30-64 # multisync
        # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
        # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

        VertRefresh 50-70

        EndSection


        # **********************************************************************
        # Graphics device section
        # **********************************************************************

        # Any number of graphics device sections may be present

        # Standard VGA Device:

        Section "Device"
        Identifier "Standard VGA"
        VendorName "Unknown"
        BoardName "Unknown"

        # The chipset line is optional in most cases. It can be used to override
        # the driver's chipset detection, and should not normally be specified.

        # Chipset "generic"

        # The Driver line must be present. When using run-time loadable driver
        # modules, this line instructs the server to load the specified driver
        # module. Even when not using loadable driver modules, this line
        # indicates which driver should interpret the information in this section.

        Driver "vga"
        # The BusID line is used to specify which of possibly multiple devices
        # this section is intended for. When this line isn't present, a device
        # section can only match up with the primary video device. For PCI
        # devices a line like the following could be used. This line should not
        # normally be included unless there is more than one video device
        # intalled.

        # BusID "PCI:0:10:0"

        # VideoRam 256

        # Clocks 25.2 28.3

        EndSection

        # Device configured by xorgconfig:

        Section "Device"
        Identifier "ATI Radeon 9000 Pro"
        Driver "radeon"
        VideoRam 65536
        Option "AGPMode" "4"
        Option "AGPFastWrite" "yes"
        Option "RenderAccel" "true"
        Option "ColorTiling" "on"
        Option "EnablePageFlip" "on"
        # pre spolupracu s AIGLX
        Option "XAANoOFFscreenPixmaps" "true"
        # Option "backingstore" "true"
        EndSection


        # **********************************************************************
        # Screen sections
        # **********************************************************************

        # Any number of screen sections may be present. Each describes
        # the configuration of a single screen. A single specific screen section
        # may be specified from the X server command line with the "-screen"
        # option.
        Section "Screen"
        Identifier "Screen 1"
        Device "ATI Radeon 9000 Pro"
        Monitor "Xerox"
        DefaultDepth 24

        Subsection "Display"
        Depth 8
        Modes "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort 0 0
        EndSubsection
        Subsection "Display"
        Depth 16
        Modes "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort 0 0
        EndSubsection
        Subsection "Display"
        Depth 24
        Modes "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort 0 0
        EndSubsection
        EndSection

        # **********************************************************************
        # ServerLayout sections.
        # **********************************************************************

        # Any number of ServerLayout sections may be present. Each describes
        # the way multiple screens are organised. A specific ServerLayout
        # section may be specified from the X server command line with the
        # "-layout" option. In the absence of this, the first section is used.
        # When now ServerLayout section is present, the first Screen section
        # is used alone.

        Section "ServerLayout"

        # The Identifier line must be present
        Identifier "Simple Layout"

        # Each Screen line specifies a Screen section name, and optionally
        # the relative position of other screens. The four names after
        # primary screen name are the screens to the top, bottom, left and right
        # of the primary screen. In this example, screen 2 is located to the
        # right of screen 1.

        Screen "Screen 1"

        # Each InputDevice line specifies an InputDevice section name and
        # optionally some options to specify the way the device is to be
        # used. Those options include "CorePointer", "CoreKeyboard" and
        # "SendCoreEvents".

        InputDevice "Mouse1" "CorePointer"
        InputDevice "Keyboard1" "CoreKeyboard"

        EndSection

        Section "DRI"
        Mode 0666
        EndSection

        #Section "Extensions"
        # Option "Composite" "Enable"
        #EndSection
        xorg.con by ti mal vygenerovat nejaky prikaz, len si teraz neviem spomenut aky to je v Ubuntu...
        • Re: beryl a xgl 20.06.2007 | 23:33
          Avatar samox86 arch, debian  Administrátor
          mno v *buntu sa ati instaluje najjednoduchsie z repozitarov
          sudo apt-get update
          sudo apt-get upgrade
          sudo apt-get install xorg-driver-fglrx

          tebe ta grafika fici na zavretom ovladaci ?
          bo vidim tam len:
          ...
          Driver "vga"
          ...

          ...
          Driver "radeon"
          ...

          a nikde Driver "fglrx"
          lnx.sk - virtualne servery; Lnx@Lnx.sk
          • Re: beryl a xgl 21.06.2007 | 01:54
            Avatar Dávid Sokol Ubuntu 7.04 Desktop/NB  Používateľ
            ahoj, no ja som Ati Xpress 200M inštalol v 7.04 tak že som v Restricted Drivers (System -> Správa -> Restricted Drivers) iba odfajkol že Enabled a ono si to samo stiahlo drivery a nainštalovalo potom som reštartol a 3d šlo ... skús takto ... (inak rovnako ako to šlo s tou Atinou na NB to šlo aj na Desktope s Nvidiou GeForce4)
            ta ... JA .. resp. moja maličkosť... ;)
          • Re: beryl a xgl 21.06.2007 | 12:49
            Avatar Tommy Angelo   Používateľ
            no tak nejak...IDE. A to je hlavne. Dokonca mi slape prostredie XGL rychlejsie nez xorg. Pri pouziti ovladacov fglrx mi grafiku nenajde a to znamena ze ten ovladac je knepouzitiu...