Portál AbcLinuxu, 5. listopadu 2025 14:32
)
Jak rpm balík vykuchat aby byl dále použitelný pro instalaci? rpm2tgz a alien mi moc nepomůžou. Je tu jedna zajímavá možnost a to sice rpm2cpio, což je perl skript, který udělá z rpm cpio archiv. Je ovšem poněkud archaický a musel bych ho upravit. Taky snad mc umí procházet rpm balíčky, nevím jak dalece je to pravda a pro mne použitelné. mc stejně nemám a ani nechci, ale furt lepší než rpm
Předpokládejme, že se mi podaří rozkuchat rpm na binární soubory, wrapper který bude nutno zkompilovat a další instalační shell skripty. Nevíte někdo jak to pak instalovat? Jak vypadá ten driver zevnitř a na co se připravit?
Neexistuje nějaká další jiná cesta? Nejde primárně o jednoduchost a snadnost instalace. Rád se něco naučím a přiučím.
Díky za nápovědy, odkazy, návrhy řešení.
) Následný postup je asi takovýto (díky patří Vlastimilu Krejčířovi):
Second step -- you need to install binaries to appropriate place. It means
you have to copy all binaries, header files etc. to right places. Simply
you can copy the directory $ATI_DIR/usr to /usr (you must have the X at
right place, e.g. /usr/X11R6/, try to explore the content of $ATI_DIR/usr
and compare it with your /usr directory).
Third step -- copy $ATI_DIR/lib to /lib, then compile and install the
kernel module:
# cd /lib/modules/fglrx/build_mod
# sh make.sh
# cd ..
# sh make_install.sh
Try to run depmod -a, modprobe fglrx, lsmod etc. to see the module is
correctly compiled and loaded. It should be loaded automatically when you
start X.
Forth step -- it is recommended to run fglrxconfig to generate xorg.conf
(or Xfree86.conf). But I have experience the generated configuration file
is not working well. The problem is in loading modules -- so if you have
problem with it (the driver doesn't work), try to use load modules exactly
in this order:
Section "Module"
Load "GLcore"
Load "dbe"
Load "dri"
# xtrap have to be disabled !!!
# Load "xtrap"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
Load "record"
Load "type1"
This order works for me. And it is good idea to have own xorg.conf and
cut&paste appropriate parts from the generated one. But it is up to you.
Now, start X and try fglrx_gears. I should works.
This how-to is little bit ugly -- I have been installing ATI drivers two
months ago and I am not sure about all steps (I don't rememeber them). If
anything goes wrong, try to consult $ATI_DRV/INFO/SCRIPTS/ALL file (there
is ugly but complete installation directions). If it doesn't help you can
try to send me an email.
So the major hints are described above. I think it is easy if you are
little bit experienced with Linux (I hope you are, because you are using
LFS
).
And one note at the end: the drivers don't work with the newest kernels. I
have installed it at 2.6.7, 2.6.8.1 and 2.6.9 kernels. Everything depends
on fglrx version.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.