Početak›Forumi›Linuks distribucije›OpenSuSE›3D akcekeracija pod ATIjem i suse10.0 nece da radi, ZASTO!!
- This topic has 16 odgovora, 5 glasova, and was last updated 17 years, 11 months ranije by zorzj.
-
AutorČlanci
-
23. maj 2006. u 3:50 am #44469zorzjUčesnik
Jok. Verzija susea je 32bit jer je pokrece bratanac na amd xp2000+ koji je iskljucivo 32bitni cpu… Imam utisak da kada bih odradio aninstal postojecih fglrx drajvera i odradio novu indtalaciju istih da bi mozda proradilo. Inace pre x1600xt sam na istom suseu koristio ATI X700 i sa starim drajverima (verzija pre 8.24.8.) je sve radilo bez ikakvih problema tj. imao sam sve zivo, cak i tvout. Prethodni drajveri su se konfigurisali komandom fglrxconfig a ovi novi aticonfig –initial… KAKO DA DEINSTALIRAM POSTOJECE DRAJVERE jer mi sistem prijavljuje da postoje fglrx_6_8_0….8.24.8… drajveri i da nece da odradi instalaciju ovih jer drajveri vec postoje???
23. maj 2006. u 6:20 pm #44470kosmiUčesnikKAKO DA DEINSTALIRAM POSTOJECE DRAJVERE jer mi sistem
prijavljuje da postoje fglrx_6_8_0….8.24.8… drajveri
i da nece da odradi instalaciju ovih jer drajveri vec postoje???Cekaj malo, ti pokusavas instalaciju fglrx_6_8_0_SUSE100-8.24.8-1.i386
drajvera, bar si gore tako napisao. Ne razumem, sistem ti prijavljuje
bas te koje si zadnje instalirao. U cemu je problem ?
Starije verzije drajvera do 8.23.7 su se konfigurisale sa
init 3
sax2 -r -m 0=fglrx -b /usr/share/doc/packages/fglrx/sax2-profile
,a novije, a i 8.23.7, pa i 8.24 sa
init 3
aticonfig –initial –input=/etc/X11/xorg.conf
Znam da je ATI davao podrsku do X850 serije u 8.23.7, a ovi
novi jel uopste imaju podrsku za X1xxx seriju? Ipak citao
sam o uspesinim pokusajima instalacije, ali uz pecovanje
kernela i uz rucno prebacivanje nekih biblioteka, koje se
iz ko zna kojih razloga ne nalaze na pravom mestu.
Znaci imas 64bitni procesor, cim nemas vbe i int10 module u
Section “Module”.
Evo jos jednog nacina da vidis sta nije proslo kako treba sa grafickom
kucaj vi /var/log/Xorg.0.log.
A sad nesto sto nevoljno kazem. Sto, bre, ne instaliras sitem nanovo
kad si vec menjao karticu. Taj X1600 je cip iz totalno nove serije,
naspram X700. Za nekih 40-tak minuta imaces odgovore. Da ne bude
posle da problem nije samo softverske prirode.
Deinstalacija
Kucaj cd /usr/share/fglrx ,pa zatim
su sh ./fglrx-uninstall.sh
Kad je uninstall gotov proveri u xorg.conf
Section “Device”
Driver “fglrx”
,ako stoji ovako onda umesto fglrx upisi ati,ovako
Section “Device”
Driver “ati”
Ovo obavezno proveri da se nebi zaglavio u konzoli.
Zatim restartuj xorg.
Ovim se vracas na Mesine drajvere, a za ATI-ja pokusaj
sve ispocetka.23. maj 2006. u 6:56 pm #44471laikexpertUčesnik[b]ATI video drivers[/b]
SUSE Linux 10.1 ships with the newly revamped open source radeon driver. That may be fine for 2D rendering, but it doesn’t do direct rendering for 3D graphics. To get hardware 3D acceleration (and for XGL support), you still need the proprietary ATI fglrx driver.
Go to the ATI Web site, click on Drivers & Software, then Linux Display Drivers and Software, then on the driver appropriate to your video card. 32-bit SUSE installations need the x86 drivers, and 64-bit SUSE needs the x86_64 versions. After you have clicked the link for your card, yet another link comes up. Click it, scroll down to the downloads table, then right-click the ATI Driver Installer download link and save it to your home directory. You do not need to download any of the other packages.
After the file transfer completes, close all open programs, then press ctrl-alt-F1 to switch to the first virtual terminal. You’ll see a text-mode login prompt; log in as root. When you’re at the command prompt, type in this command:
init 3
You’ll see a bunch of text scroll by, and then a message saying that runlevel 3 has been reached. Press Enter to get the command prompt back, then type the following command in to switch to the directory you downloaded the ATI driver to:
cd /home/username/
Substitute your user name for “username” in the above example. Now you need to change the ATI installer permissions so that it can be run from the command line.
For long file names, you don’t have to type the whole name into a terminal window. Instead, just type the first few letters and then press the Tab key, and the file name will be automatically completed for you. This is useful in situations like the one you’re in now, where there is a long and complex file name to type in. So type the following command into your terminal, and use the Tab key to complete the ATI driver file name, then press Enter to execute the command:
chmod +x ./ati-driver
That will make the program executable; this must be done before you can run it. Now it’s time to run the installer. Again, use tab completion instead of typing the name in. You have to add the ./ before the filename to tell the terminal program that the file you are referring to is in the current directory. If you don’t specify that, the terminal will look in other places for the file. It sounds crazy, yes, but that’s the way GNU/Linux is (and Unix before it). For the below example, the entire file name is typed in. Please note that this may not be the same file name that you downloaded — it is only an example. You should use tab completion when you type this command in so that you don’t accidentally mis-type the long file name. The part of the example that will not change is the switch statement after the file name (the part with the dashes). Here’s the example command for the ATI driver installer for a 32-bit system:
./ati-driver-installer-8.24.8-x86.run –buildpkg SuSE/SUSE101-IA32
And for a 64-bit system:
./ati-driver-installer-8.24.8-x86_64.run –buildpkg SuSE/SUSE101-AMD64
After a few dozen lines of text, a driver package will be created. Go ahead and run it with the following command (the first example is for 32-bit systems):
rpm -ivh fglrx_6_9_0_SUSE101-8.24.8-1.i386.rpm
And for 64-bit systems:
rpm -ivh fglrx64_6_9_0_SUSE101-8.24.8-1.x86_64.rpm
Update your system environment variables with this command:
ldconfig
Next, you need to tell SUSE that you want to use this driver instead of the standard one:
aticonfig –initial –input=/etc/X11/xorg.conf
Lastly, you have to tell YaST which driver to load (that’s a zero in the example, not a letter):
sax2 -r -m 0=fglrx
Now reboot your computer by typing the following command:
reboot
The next time your system starts, you’ll have hardware 3D video acceleration. Please note that every time you update your kernel, you must re-install the ATI video driver.
———————————————————————————————
[b]Using XGL/Compiz[/b]
The reason why I’m putting this section last in the article is because it needs to be done [b]after[/b] your video drivers are installed. It’s also the section that is least likely to work for you (and most likely to destroy your nice, new SUSE Linux 10.1 installation) because the video card support is so slim and the code is so immature. If you have an Nvidia card of the GeForce 4 TI-4200 era or newer or an ATI card of the Radeon X300 era or newer, and if the drivers installed without a hitch, XGL will probably work on your system. There are three very negative possibilities by following the directions below: anything that uses the SDL library for 3D rendering will look transparent and will generally be unusable. Secondly, your 3D frame rate can drop significantly (on one test system, I saw glxgears go from 16000 to 12000 after enabling XGL), and lastly, you can totally hose your X.org environment. If the worst should happen, you can usually log in through SSH on another computer and change your xorg.conf and displaymanager configuration files back to the way they were (or use SaX); sometimes this will un-hose a system. Proceed at your own risk. All things considered, XGL is a bunch of useless, distracting GUI tricks that will sap your 3D rendering performance, and I can almost guarantee that you will get sick of this XGL crap after you have impressed all of your friends with it and come to the sober realization that wobbly windows, faded window controls, and the raindrop effect serve no meaningful purpose to desktop computing. So if you don’t have a compliant video card, console yourself with the fact that XGL isn’t all that wonderful anyway.
[b]Last warning:[/b] I had a lot of trouble with ATI graphics cards and XGL in SUSE 10.1. Specifically, SaX kept forgetting my monitor settings which meant that X failed to start, which would force me to re-configure with SaX, which in turn would erase the ATI-specific xorg.conf hacks, which would cause more problems. So after a lot of work I could get XGL and Compiz to start for a single X session, but I never did find a good way to make SaX stop screwing up my configuration files. Testing went very well with an Nvidia card, but I lost a lot of 3D performance with XGL.Start by installing XGL and Compiz. Here are the specific SUSE packages that must be added:
* xgl
* compiz
* libsvg
* libsvg-cairoIf XGL was installed before you added your Nvidia or ATI video driver, you must remove and reinstall XGL. If any of the other packages were already installed, leave them alone. When you’re done installing everything, open a Konsole or GNOME Terminal, use the su command to switch to root, then edit the /etc/sysconfig/displaymanager file. On line 126 you should see an entry like this:
DISPLAYMANAGER_XSERVER=”Xorg”
Comment that line out by putting a # in front of it, then duplicate it, using Xgl instead of Xorg:
#DISPLAYMANAGER_XSERVER=”Xorg”
DISPLAYMANAGER_XSERVER=”Xgl”Then save and exit the editor. While still in the root terminal, run this command:
SuSEconfig –module xdm
Attention ATI users: You must add these lines to the video card Device line in /etc/X11/xorg.conf:
Option “KernelModuleParm” “agplock=0”
Option “EnablePrivateBackZ” “yes”Close all open programs and press ctrl-alt-backspace to restart the X server. The next time you log in, XGL will be enabled. To try it out, run these two stacked commands from a terminal window:
compiz –replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher water && gnome-window-decorator &
Compiz will replace your current window manager and use a GNOME-like window decoration. This is necessary to get the full effect of XGL/Compiz. Now play around and experience some of the XGL tricks for yourself.
If you’re sold on XGL and want Compiz to start by default in KDE, create a file called compiz.desktop in the ~/.kde/Autostart/ directory and add these lines to it:
[Desktop Entry]
Encoding=UTF-8
Exec=compiz –replace decoration wobbly fade minimize cube rotate zoom scale move resize place switcher water & gnome-window-decorator &
GenericName[en_US]=
StartupNotify=false
Terminal=false
TerminalOptions=
Type=Application
X-KDE-autostart-after=kdesktopYou can configure XGL/Compiz options through the GNOME Control Center, in the Desktop Effects Settings section. To start this program from KDE, open up a Konsole window and type this:
gnome-control-center
For more information about XGL/Compiz config options, see /usr/share/doc/packages/xgl/README.suse.
24. maj 2006. u 12:52 pm #44472zorzjUčesnikOvaj texst ispod je posledica komande:
# vi /var/log/Xorg.0.log
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux linux 2.6.13-15.8-smp #1 SMP Tue Feb 7 11:07:24 UTC 2006 i686
Build Date: 28 April 2006
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Wed May 24 14:40:39 2006
(==) Using config file: “/etc/X11/xorg.conf”
(==) ServerLayout “Layout[all]”
(**) |–>Screen “Screen[0]” (0)
(**) | |–>Monitor “Monitor[0]”
(**) | |–>Device “Device[0]”
(**) |–>Input Device “Keyboard[0]”
(**) |–>Input Device “Mouse[1]”
(WW) The directory “/usr/X11R6/lib/X11/fonts/100dpi” does not exist.
“/var/log/Xorg.0.log”Iz zadnje recenice se vidi da postoji greska koju ne znam kako da otklonim???
24. maj 2006. u 12:56 pm #44473DriverUčesniknisi instalirao 100dpi fontove.lepo uzmes instalacioni disk i u folderu xorga imas paket koji se zove 100dpi.font ili tako nesto.a nebi bilo lose da reinstalirac ceo xorg , pa onda
instalirac atijeve drivere24. maj 2006. u 1:10 pm #44474kmilosUčesnikNije greška već upozorenje i nema veze sa funkcijom atijevih, ili bilo kojih drajvera…
24. maj 2006. u 2:04 pm #44475zorzjUčesnikU pravu si nije greska vec upozorenje pa ajd’ da probam nesto od svega predlozenog dok mi ne stigne SuSE10.1!!!
P.S. Pa ja uopste “nemam fglrx u /usr/share/”
-
AutorČlanci
Moraš biti prijavljen da bi postavio komentar u ovoj temi.