Автор Тема: Slackware и 3d десктоп  (Прочетена 1398 пъти)

triplek

  • Напреднали
  • *****
  • Публикации: 564
    • Профил
Slackware и 3d десктоп
« -: May 16, 2007, 08:59 »
Здравейте,

Опитвам се да подкарам Берил или Компиз на Слак 11.

Преди да се впусна в компилиране на каквото и да е било трябва да подкарам XGL или AIGLX. За момента това ми е проблема. Имам всичко в xorg.conf, но няма и следа oт AIGLX. Ползвам драйвер "radeon". Kaртата е ATI Radeon 9250, 128MB DDR.

Ето какво е положението:

Примерен код
slackware@slackware:~$ glxinfo | grep direct
direct rendering: Yes


Ето и проблема с AIGLX:
Примерен код
slackware@slackware:~$ cat /var/log/Xorg.0.log | grep aiglx  
slackware@slackware:~$

Както се вижда няма никакъв признак че се стартира или работи.

xorg.conf
Примерен код
# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# NOTE:  This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
# driver instead of the fbdev driver.  Thanks to Kenneth Fanyo who pointed
# this out to me. :)

# This XF86Config file is designed for use with the VESA framebuffer.
# This generic interface should work with nearly all video cards
# (although not every card will support every resolution).

# With the new driver, it should no longer be required to have frame buffer
# support in the kernel, or to run it on the console.
#
# Enjoy! :)
# -- [EMAIL=volkerdi@slackware.com]volkerdi@slackware.com[/EMAIL]
#

# **********************************************************************
# 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        "speedo"

# This loads the GLX module
    Load       "glx"
    Load       "dri"
        Load "bitmap"
        Load "freetype"
        Load "type1"
EndSection

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

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath   "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option     "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option     "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option     "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option     "DontZoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option     "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option     "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option     "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option     "AllowNonLocalModInDev"

# Set the basic blanking screen saver timeout.

#    Option      "blank time"    "10"    # 10 minutes

# Set the DPMS timeouts.  These are set here because they are global
# rather than screen-specific.  These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

#    Option      "standby time"  "20"
#    Option      "suspend time"  "30"
#    Option      "off time"      "60"

# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.

# Option   "EstimateSizesAggresively" "0"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# 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"

# Set the keyboard auto repeat parameters.  Not all platforms implement
# this.

#    Option     "AutoRepeat"    "500 5"

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

#    Option     "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.

#    Option     "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a European
# keyboard, you will probably want to use one of:
#
#    Option     "XkbModel"      "pc102"
#    Option     "XkbModel"      "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
#    Option     "XkbModel"      "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
    Option     "XkbModel"      "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
#    Option     "XkbLayout"     "de"
#
# or:
#
    Option     "XkbLayout"     "us,bg"
    Option     "XkbVariant"    ",phonetic"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
    Option     "XkbOptions"    "grp:alt_shift_toggle,grp_led:scroll"


# These are the default XKB settings for X.Org
#
#    Option     "XkbRules"      "xorg"
#    Option     "XkbModel"      "pc101"
#    Option     "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
#    Option     "XkbOptions"    ""

EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

#    Option     "Protocol"      "Auto"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
    Option "Protocol"    "ImPS/2"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

#    Option "Device"      "/dev/mouse"
   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"

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

#    Option "Protocol"   "Xqueue"

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

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

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons" "true"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# Some examples of extended input devices

# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"
    Option "DPMS"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30.0 - 70.0

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

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-160

EndSection


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

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "radeon"
    Option "XVideo" "on"
    Option "AGPMode" "8"
    Option "AGPFastWrite" "true"
    Option "EnablePageFlip" "true"
    Option "ColorTiling" "true"
    Option   "XAANoOffscreenPixmaps"   "true"
#    Option  "TVOutput" "PAL"
    BusID           "PCI:1:0:0"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
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      "VESA Framebuffer"
    Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"  
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
    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"

Option   "AIGLX"   "true"

# 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


Eто и малко по-подробно инфо за системата:
Примерен код
X -version

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.33.3 i686 [ELF]
Current Operating System: Linux slackware 2.6.21.1 #1 Mon May 14 20:47:22 EEST 2007 i686
Build Date: 16 September 2006
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
slackware@slackware:~$ uname -sr
Linux 2.6.21.1


btw Вече два дена се занимавам с това и нямам никакъв напредък. Сигурно няма wiki или инструкция която да не съм чел. '<img'>

10х предварително
Активен

Debian Lenny/sid

kmakaron

  • Напреднали
  • *****
  • Публикации: 50
    • Профил
Slackware и 3d десктоп
« Отговор #1 -: May 16, 2007, 11:40 »
Няма и да намериш! Трябва ти Xorg 7.0 или 7.1. Той има вграден AIGLX.
Активен

triplek

  • Напреднали
  • *****
  • Публикации: 564
    • Профил
Slackware и 3d десктоп
« Отговор #2 -: May 16, 2007, 13:02 »
Ясно. Значи с берил няма да стане работата.

Но видях че Компиз има поддръжка на X 6.9. Инталирах го, но ми вади тази грешка:

Примерен код
:~$ compiz --replace
compiz: symbol lookup error: compiz: undefined symbol: XCompositeGetOverlayWindow

'<img'>

Инсталирах си и xrandr и libXcomposite. Пак същата работа. '<img'>
Активен

Debian Lenny/sid

Todir

  • Напреднали
  • *****
  • Публикации: 90
    • Профил
Slackware и 3d десктоп
« Отговор #3 -: May 16, 2007, 22:27 »
Абе то и без това beryl с AIGLX и radeon драйвера върви много по-зле отколкото с XGL. Пробвай да качиш fglrx драйвера и XGL.
Активен

triplek

  • Напреднали
  • *****
  • Публикации: 564
    • Профил
Slackware и 3d десктоп
« Отговор #4 -: May 17, 2007, 10:48 »
Sajalqvam za latinicata, no sled cql den v4era zanimavka nakraq uspqh da pusna Xorg 7.1 i AIGLX. Neponqtno za men e kak taka bez nikakvi erori ili warning-i ne mi proraboti draivera na klaviaturata i 3D-to na "radeon". Qvno tezi 3D desktopi sa napraveni izklu4itelno i samo za Ubuntuta i NVIDIA karti. Drugiq variant e da si programist. Ami drajte si gi. Otkazvam se. Na debian sam se ma4il sas sedmici tuka 4 dena ve4e i mislq da spra do tuka.
Активен

Debian Lenny/sid

dilyan_rusev

  • Напреднали
  • *****
  • Публикации: 61
    • Профил
Slackware и 3d десктоп
« Отговор #5 -: May 17, 2007, 12:11 »
Ами да ти кажа честно, и аз по тази причина се опитах да си компилирам сам (тогава) новия Xorg 7.1, но нещо преебах нещата. На мен пък не щеше да ми се стартира ако не съм root. Реших (открих топлата вода), че трябва да задам на съответните устройства в /dev собственост root:xorg, например, а после на всички потребители да дам втора група xorg. И така някъде по средата се отказах и аз като тебе. Иначе новите драйвери за моето ati (с 9550 съм) ги слагам на магия и са необяснимо бавни (дааа, дава ми direct:yes). Не мога да си го обясня защо, но използвах същата процедура под openSuSE и бяха доста по-бързи.
А, за 3д-то. Някъде в нета бях чел, че някакъв изрод успял да го подкара на Slackware 11. Май беше в Slashdot, не си спомням. Но общо взето това, което беше направил, бе:
1) напълно премахва Xorg 6.9 - или там каквото има Slackware по подразбиране. Ама под махане разбирай ВСИЧКО.
2) компилация и настойка на 7.1
Останалото бяха май default-ните настройки на beryl или compiz, не си спомням кое мъчеше. Това, което си спомям със сигурност, е че обясняваше колко било важно да се махне стария Xorg.

Ами ако имаш нерви - късмет. Дано съм ти казал нещо ново '<img'>
Активен

Конфигурация:
Athlonx2 5600+, ECS A780GM-A, 4гб A-Data,  Philips 170x6-series монитор; Vista + openSUSE

triplek

  • Напреднали
  • *****
  • Публикации: 564
    • Профил
Slackware и 3d десктоп
« Отговор #6 -: May 18, 2007, 09:43 »
Аз направих точно това. Премахнах всичко на стария Х и компилирах 7.1 направо в пакети за слак с помощта на един скрипт. Настроих го. Преработих 300000 конфига за да тръгне. Шрифтовете също беше много зор докато оправя и по-точно фрийтайп. Както и да е. След многочасово(почти два дена) ходене по мъките накрая Х тръгна със шрифтовете му и всичко там вкл. AIGLX, НО без драйвера на клавиатурата и 3Д ускорение на видеото. Проверих логовете ... нямаше грам warning или error. Всичко уж трябваше да е наред ама не.

Скоро получих радостна новина, че АМД ше билднат драйвер за АТИ карти. Много вероятно е обаче докато се случи това мойта 9250-ка да е толкова стара че да не се поддържа от него. lol

btw Радвам се че все пак така яко разруших системата си, защото направих един чудесен пресен инстал като оптимизирах с учудващи резултати от към място системата си.

Все пак дано някой ден да имам късмета да видя куба и тръскащи се прозорци на моя десктоп, но засега ще си карам без тях.

Поздрави
Активен

Debian Lenny/sid

choko

  • Напреднали
  • *****
  • Публикации: 64
  • Distribution: Slackware 9,10,11,12,13
  • Window Manager: Gnome
    • Профил
Slackware и 3d десктоп
« Отговор #7 -: May 18, 2007, 13:29 »
Здравейте !
Аз успях без много мъки да го пусна на моиа лаптоп само 4е е с интел 815 и xgl-a не работи със вси4ки екстри! Във форума на Droplinegnome.org има добро обяснение как да се пусне и пакетите са във diffle мисля но там си пише. Пробвайте при мене тръгна '<img'>
Активен

Ползвай Linux! От четене по форумите не остава време за секс;)
И пак по-добре!!!!!!!!!!!!!!!! :))))))))))))))))))))))))))))))))))))))))))))

choko

  • Напреднали
  • *****
  • Публикации: 64
  • Distribution: Slackware 9,10,11,12,13
  • Window Manager: Gnome
    • Профил
Slackware и 3d десктоп
« Отговор #8 -: May 18, 2007, 13:34 »
Здравейте пак !
Сега гледам 4е тука некакав е писал че е пуснал и Beryl:
http://forums.droplinegnome.org/viewtop....l#34729
нямям време да го чета дано да ти е от полза!
Активен

Ползвай Linux! От четене по форумите не остава време за секс;)
И пак по-добре!!!!!!!!!!!!!!!! :))))))))))))))))))))))))))))))))))))))))))))

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Slackware QT проблем
Настройка на програми
kikcho 1 4212 Последна публикация Nov 11, 2002, 08:48
от mrvoland
Обновяване към Slackware 9.0
Хардуерни и софтуерни проблеми
FreeJak 3 4368 Последна публикация Mar 25, 2003, 00:53
от FreeJak
Slackware
Настройка на програми
ivo3d 1 3487 Последна публикация Mar 27, 2003, 23:53
от ivo3d
Slackware 9.0
Хардуерни и софтуерни проблеми
ivo3d 3 3825 Последна публикация Apr 07, 2003, 03:48
от ivo3d
Slackware 8.1
Настройка на програми
rip_darkman 1 3476 Последна публикация Aug 21, 2003, 08:59
от dafo