maxray
September 7, 2014, 1:19pm
#1
hi all im bringer:|
how to Definition ? (i want closed Definition )
maxray:/home/mmax # lspci -vv -s $(lspci | grep VGA | cut -d' ' -f1)02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4330/4350/4550] (prog-if 00 [VGA controller])
Subsystem: Dell Device 0434
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR+ <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 42
Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256]
Region 1: I/O ports at 2000 [size=256]
Region 2: Memory at cfef0000 (32-bit, non-prefetchable) [size=64]
[virtual] Expansion ROM at cfe00000 [disabled] [size=128]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0f00c Data: 41a1
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Kernel driver in use: radeon
Kernel modules: radeon
opensuse 13.1 kde 4
my desktop http://im74.gulfup.com/yhfeTB.png[/size][/size][/size][/size]
maxray
September 8, 2014, 8:52pm
#2
use this :X ???
Hi everyone,
Here’s the latest version of the atiupgrade script. It first installs kernel sources and compiler if they are missing, download the ati run script from ATI’s site, deinstalls fglrx, however it was previously installed: from repo, with ati .run (untested - highlighted in red in the code) or from rpm (generated by ati .run). It then creates a rpm and installs it. I hope it is enough documented and easy to read.
Code:
#! /bin/bash
--------------------------------------------------------------
What This script does the following :
- install kernel sources and gcc if needed
- unload fglrx if needed
- make a copy of /etc/X11/xorg.conf (if any)
- download ATI Catalyst 10.10 for your architecture if needed
- deinstall the repo driver (x11-video-fglrxG02 ) if it was previously installed
- deinstall the ATI driver previously installed from the ATI run file (with /usr/share/ati/fglrx-unistall.sh)
- run the ATI installer to create a rpm package
- deinstall any previously installed fglrx
- install the fglrx package (and compile the kernel module)
as always … you’re using it at your own risk.
$ Agnelo de la Crotche (Please_try_again) - 26.10.2010
--------------------------------------------------------------
catalystVer=“10-10”
atiBaseUrl=“https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux ”
atiBaseFile=ati-driver-installer-$catalystVer-x86.x86_64.run
atiUninstall=/usr/share/ati/fglrx-uninstall.sh
mach=uname -m
kernel=uname -r
rel=${kernel%-}
krn=${kernel## -}
i686=IA32
x86_64=AMD64
don’t run in X
[ “$DISPLAY” ] && exec echo “this script cannot be run in X”
use lsb_release to get openSUSE version
which lsb_release >/dev/null &>1 || zypper -n in lsb-release
SUSEVer=SUSE$(lsb_release -s -r | tr -d “.”)
buildOption=“SuSE/$SUSEVer-${!mach}”
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1) Make sure kernel sources and compiler are installed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
install kernel headers and sources if not present
for pkg in kernel-source kernel-$krn-devel kernel-syms ; do
rpm -qa | grep -q $pkg || zypper -n in $pkg
done
install devel_basis (gcc) if not present
zypper search -t pattern -i | grep -q devel_basis || zypper -n in -t pattern devel_basis
exit in directory /usr/src/linux/$rel not present
[ -d /usr/src/linux-$rel ] || exec echo “directory /usr/src/linux-$rel not found. Make sure that kernel $rel sources are installed.”
make sure the /usr/src/linux -> /usr/src/linux/$rel (in case different kernel sources are installed)
if [ “$(readlink /usr/src/linux)” != “linux-$rel” ] ; then
ln -sfn linux-$rel /usr/src/linux
fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2) Cancel script if the fglrx module cannot be unloaded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unload fglrx
lsmod | grep -q fglrx && modprobe -r fglrx
exit if fglrx is still loaded
lsmod | grep -q fglrx && exec echo “fglrx is still loaded”
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3) Get the ATI installer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if installer found in current directory, skip downloading
if [ ! -f ./$atiBaseFile ] ; then
make sure wget is installed
which wget > /dev/null 2>&1 || zypper in wget
get the ATI installer for your architecture (i686 or x86_64)
wget $atiBaseUrl/$atiBaseFile
fi
look for the ATI installer in the current directory
ati_install=(find . -name "ati-driver*$mach.run"
)
cancel script if 0 or more than 1 installer found
if [ ${#ati_install
[li]} -gt 1 ] ; then[/li]> exec echo “several versions of the ATI installer found. Script aborted.”
elif [ ${#ati_install
[li]} -eq 0 ] ; then[/li]> exec echo “no ATI installer found. Script aborted.”
fi
let’s doublecheck !
AtiInstall=basename ${ati_install[0]}
[ -f ./$AtiInstall ] || exec echo “no ATI installer found. Script aborted.”
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4) Create rpm package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sh ./$AtiInstall --buildpkg $buildOption
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5) Uninstall previoulsy installed fglrx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
save /etc/X11/xorg.conf (just in case)
[ -f /etc/X11/xorg.conf ] && cp /etc/X11/xorg.conf{,.pta}
uninstall x11-video-fglrxG02 (installed from the ATI repo)
rpm -qa | grep -q x11-video-fglrxG02 && zypper rm x11-video-fglrxG02
[COLOR=red]# uninstall ATI driver directly installed from the ati .run file
[ -x $atiUninstall ] && $atiUninstall
unistall ATI driver installed from package generated byt the ati .run file
atirpm=$(rpm -qa | grep ‘^fglrx’ | grep $SUSEVer | grep $mach)
zypper rm $atirpm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6) install fglrx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
install/reinstall fglrx package
find . -maxdepth 1 -name “fglrx*$mach.rpm” -exec zypper in “{}” “;”[/COLOR]
If you wonder how to use it:
[ul]
[li]open a texteditor (kwrite, gedit) and copy/paste the code above in the editor window[/li]> [li]save the file as /home/you/bin/atiupgrade[/li]> * where ‘you’ is your login name
[li]copy the file in /usr/local/bin and make it owned by root.[/li]> Code:
su -l
mkdir /usr/local/bin 2> /dev/null
cp /home/you/bin/atiupgrade /usr/local/bin
cd /usr/local/bin
chmod 744 atiupgrade
chown root:root atiupgrade
[li]exit X, login in console as root and run the script[/li]> Code:
/usr/local/bin/atiupgrade
[li]you should be able to restart X with the new driver without rebooting (but it doesn’t hurt).[/li]> [/ul]
https://forums.opensuse.org/showthread.php/449058-upgrading-ati-driver-atiupgrade-17#post2473061
NO!
The proprietary fglrx driver does not support your graphics chip.
And that guide is completely outdated anyway. It’s 4 years old.
For up-to-date instructions how to install the latest fglrx driver and keep it updated, see here: https://en.opensuse.org/SDB:AMD_fglrx
But again, it WON’T WORK on your system. It only supports Radeon HD 5000 and up.
Btw, I didn’t understand a word of your first post…
maxray
September 9, 2014, 1:12am
#5
wolfi323:
NO!
The proprietary fglrx driver does not support your graphics chip.
And that guide is completely outdated anyway. It’s 4 years old.
For up-to-date instructions how to install the latest fglrx driver and keep it updated, see here: https://en.opensuse.org/SDB:AMD_fglrx
But again, it WON’T WORK on your system. It only supports Radeon HD 5000 and up.
Btw, I didn’t understand a word of your first post…
thanks wolfi
oh surrey om bad English
hmmm for only Radeon HD 5000 and up :disapointed:
Yes.
But the open source radeon driver should fully support your card. (for certain cards it is said to be even faster/better than fglrx in the meantime )
You might want to try the latest version from the [noparse]X11:XOrg[/noparse] repo though, there have been vast improvements especially for newer cards.
And in this case, you should update to the latest kernel as well.
I can tell you how if you want to, but it is not completely risk-free, as there can always be problems when riding on the bleeding-edge.
You might want to try a Factory LiveISO first to see whether it works, this contains all the latest versions as well:
http://download.opensuse.org/factory/iso/
maxray
September 9, 2014, 3:33pm
#7
wolfi323:
Yes.
But the open source radeon driver should fully support your card. (for certain cards it is said to be even faster/better than fglrx in the meantime )
You might want to try the latest version from the [noparse]X11:XOrg[/noparse] repo though, there have been vast improvements especially for newer cards.
And in this case, you should update to the latest kernel as well.
I can tell you how if you want to, but it is not completely risk-free, as there can always be problems when riding on the bleeding-edge.
You might want to try a Factory LiveISO first to see whether it works, this contains all the latest versions as well:
http://download.opensuse.org/factory/iso/
great wolfi
But the open source radeon driver should fully support your card. (for certain cards it is said to be even faster/better than fglrx in the meantime )
yes
radeon Excellent very rotfl!
i was think fix error Houdini with " fglrx " but its bad Idea :X
https://forums.opensuse.org/showthread.php/500095-Houdini-13-0-23635-Fatal-error-Segmentation-fault-(sent-by-pid-0)?p=2663648#post2663648