Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
-
Lu-CyfeR
- Posty: 66
- Rejestracja: 20 października 2006, 18:08
- Lokalizacja: D±browa Górnicza
Post
autor: Lu-CyfeR » 01 lutego 2008, 21:31
Przerobić pod siebie (Nazwa karty, ati/fglrx) Jeśłi ati to uruchomić to co dla ATI, jeśli FGLRX, odchaczyć # żeby problemół nie było

, działa na 120%
Kod: Zaznacz cały
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "GRAFIKA"
Driver "ati/fglrx"
BusID "PCI:1:0:0"
# Option "AddARGBGLXVisuals" "On"
Option "XAANoOffscreenPixmaps" "true" # ati
Option "RenderAccel" "true" # ati
Option "backingstore" "true" # ati
EndSection
Section "Monitor"
Identifier "MONITOR"
Option "DPMS"
HorizSync 30-71
VertRefresh 56-75
EndSection
Section "Screen"
# Option "AddARGBGLXVisuals" "true"
# Option "DisableGLXRootClipping" "true"
Identifier "Default Screen"
Device "GRAFIKA"
Monitor "MONITOR"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true" # ati
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable" # Gdy ati "Enable", gdy FGLRX "0"
Option "RENDER" "Enable" # ati
EndSection
-
skynet
- Beginner
- Posty: 224
- Rejestracja: 06 stycznia 2008, 16:32
Post
autor: skynet » 02 lutego 2008, 15:16
-
salmon
- Beginner
- Posty: 296
- Rejestracja: 12 października 2007, 23:28
- Lokalizacja: Gliwice/Bielsko-Biała
Post
autor: salmon » 02 lutego 2008, 15:17
pomóżcie
A co konkretnie się nie udało?
-
Mike013
- Posty: 33
- Rejestracja: 14 lutego 2008, 00:38
Post
autor: Mike013 » 14 lutego 2008, 16:40
Witam
Zainstalowałem sobie lenny'ego na lapie, ale mam problem z X'ami
Model lapa, to Toshiba A210-127
grafa, to Radek
HD2600
Po zainstalowaniu sterów z repo chcę odpalić X'sy i tu cały problem.
Otóż włączają się, ale nie widać pulpitu, są tylko czarno-szare pasy nic poza tym.
Taki błąd wywala:
Kod: Zaznacz cały
Xsession: warning: xrdb command not found; X resources not merged.
Jak to naprawić :?:
Moim zdaniem stery są nieprawidłowe, tylko skąd i jakie wziąć :?:
Dodam jeszcze, że mam zainstalowane KDE.
Dzięki za pomoc

-
zomer
- Beginner
- Posty: 322
- Rejestracja: 26 października 2007, 15:52
- Lokalizacja: Podkarpacie
Post
autor: zomer » 16 lutego 2008, 16:31
tylko przy ustawianiu rozdzielczościu uważaj. Daj np.
-
Mike013
- Posty: 33
- Rejestracja: 14 lutego 2008, 00:38
Post
autor: Mike013 » 16 lutego 2008, 16:43
zomer, tonie to....
zrobiłem teraz inaczej, możliwe że stery z repo są zbyt stare i nie działają na mojej grafie
dlatego zassałem te =>
http://ati.amd.com/support/drivers/linu ... adeon.html
tylko, że jak chce je instalować za pomocą:
sh ./ati-driver-installer-***.run --buildpkg Debian/testing
wywala taki błąd:
wywala taki błąd:
Kod: Zaznacz cały
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.455.2.............................................................
==================================================
[31m ATI Technologies Linux Driver Installer/Packager [0m
==================================================
Generating package: Debian/testing
Package build failed!
Package build utility output:
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.455.2-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture i386
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find: usr/X11R6/lib64: No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
`debian/fglrx.default' -> `debian/fglrx'
debian/rules binary
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find: usr/X11R6/lib64: No such file or directory
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pfglrx-driver \
usr \
usr/lib/xorg \
usr/lib/xorg/modules \
usr/lib/dri \
usr/bin \
usr/sbin \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d
dh_installdirs -pfglrx-driver-dev \
usr \
usr/include \
usr/lib
dh_installdirs -pfglrx-kernel-src \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle \
usr \
usr/bin \
usr/share \
usr/share/applnk \
usr/share/applications \
usr/share/icons \
usr/share/pixmaps
dh_installdirs -p \
usr/src
dh_install
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/linux" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/drivers" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/*.so" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/*.a" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "etc/fglrx*" "etc"
dh_install -pfglrx-driver "etc/ati" "etc"
dh_install -pfglrx-driver "debian/70fglrx" "etc/X11/Xsession.d"
dh_install -pfglrx-driver "debian/fglrx-powermode.sh" "etc/acpi"
dh_install -pfglrx-driver "debian/fglrx-*-aticonfig" "etc/acpi/events"
dh_install -pfglrx-driver "debian/fglrx" "etc/default"
dh_installinit -pfglrx-driver --name="atieventsd"
# create symlinks to shared libs
dh_link -pfglrx-driver "usr/lib/libGL.so.1.2" "usr/lib/libGL.so.1"
dh_install -pfglrx-driver-dev "usr/X11R6/lib/*.a" "usr/lib"
dh_install -pfglrx-driver-dev "usr/X11R6/include/*" "usr/include"
dh_install -pfglrx-driver-dev "usr/include/*" "usr/include"
dh_install -pfglrx-kernel-src \
lib/modules/fglrx/build_mod/*.c \
lib/modules/fglrx/build_mod/*.h \
lib/modules/fglrx/build_mod/*.sh \
lib/modules/fglrx/build_mod/lib* \
lib/modules/fglrx/build_mod/2.6.x/Makefile \
usr/src/modules/fglrx
dh_install -pfglrx-kernel-src "debian/changelog" "usr/src/modules/fglrx/debian"
dh_install -pfglrx-kernel-src \
debian/copyright \
debian/compat \
module/rules \
module/control.template \
module/dirs.template \
module/postinst \
usr/src/modules/fglrx/debian
(cd debian/fglrx-kernel-src/usr/src \
&& chown -R root:src modules \
&& tar -jcf fglrx.tar.bz2 modules \
&& rm -rf modules)
# control panel package
dh_install -A -pfglrx-amdcccle "usr/X11R6/bin/amdcccle" "usr/bin"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.desktop" "usr/share/applications"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.kdelnk" "usr/share/applnk"
dh_install -A -pfglrx-amdcccle "usr/share/ati" "usr/share"
dh_desktop -pfglrx-amdcccle
dh_installdocs
dh_installdocs -pfglrx-driver usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_makeshlibs
dh_installdeb
ldconfig -n arch/x86/usr/X11R6/lib
LD_PRELOAD= dh_shlibdeps --exclude=emul
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn't be linked with libpthread.so.0 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn't be linked with librt.so.1 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn't be linked with libdl.so.2 (it uses none of its symbols).
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/drivers/fglrx_drv.so shouldn't be linked with libm.so.6 (it uses none of its symbols).
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: debian/fglrx-driver/usr/lib/xorg/modules/glesx.so shouldn't be linked with libdl.so.2 (it uses none of its symbols).
dpkg-shlibdeps: failure: couldn't find library libfglrx_gamma.so.1 needed by debian/fglrx-driver/usr/bin/fglrx_xgamma (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.dB4217
nie wiem co jest nie tak
//skróciłem najdłuższą linię
ruun
-
M
- Posty: 36
- Rejestracja: 07 listopada 2007, 13:50
- Lokalizacja: Czêstochowa
Post
autor: M » 16 lutego 2008, 16:53
A próbowałeś zrobić przez:
Najlepiej zrób to pod konsolą...
-
Mike013
- Posty: 33
- Rejestracja: 14 lutego 2008, 00:38
Post
autor: Mike013 » 16 lutego 2008, 20:44
M pisze:m-a prepare
m-a update
m-a a-i fglrx
nie rozumiem
na początku tego teamtu jest kolejno opisane jak to instalować, przecież muszę zainstalować pakiety *.deb, które zostaną utworzone po
sh ./ati-driver-installer-***.run --buildpkg Debian/testing
tylko, że to nie działa :-/
Może interesuje Was jakiś log, czy coś :?:
M pisze:Najlepiej zrób to pod konsolą...
muszż pod konsolą, bo X'y nie działają.
Teraz też pisze z debiana, ale z etch'a (na innym kompie)
//skróciłem najdłuższą linię
ruun
dzięki, faktycznie, trochę rozwaliłem forum :shock:
-
yantar
- Member
- Posty: 1225
- Rejestracja: 07 czerwca 2007, 21:15
- Lokalizacja: Rzeszów
Post
autor: yantar » 16 lutego 2008, 22:05
U mnie bylo to samo ze sterami ze strony ATI przy budowie paczek.
W pierwszym poscie troche jest troche namieszane bo raz jest $ wskazujace na dzialanie jako user (nie bardzo adekwatne przy instalacji), a za chwile # jako root.
Nadaj prawa wykonywania jako root i tak samo pod rootem zbuduj paczki u mnie zadzialalo.
-
M
- Posty: 36
- Rejestracja: 07 listopada 2007, 13:50
- Lokalizacja: Czêstochowa
Post
autor: M » 16 lutego 2008, 22:32
Napiszę to najkrócej jak jest możliwe:
Logujesz się na konto roota i piszesz:
Kod: Zaznacz cały
aptitude search fglrx
aptitude remove --purge fglrx-xxxxx
gdzie xxxxx oznacza wszystkie pakiety, które masz zainstalowane
Następnie:
Po tym zabiegu system pobiera ci najnowsze sterowniki dla danej wersji debiana i instaluje je. Po instalacji sprawdź poleceniem 'pcimodules' czy jest moduł fglrx. Wystarczy reboot i powinno działać.
Ja tak instaluje sterowniki, nie bawiąc się w źródła od ati. Działam do tego na najnowszym dostępnym kernelu kompilowanym ze źródeł.