FedoraForum.org

FedoraForum.org (http://forums.fedoraforum.org/index.php)
-   Guides & Solutions (No Questions) (http://forums.fedoraforum.org/forumdisplay.php?f=12)
-   -   Howto for fglrx / catalyst (Ati driver) (http://forums.fedoraforum.org/showthread.php?t=155503)

leigh123linux 22nd October 2008 02:56 PM

Quote:

Originally Posted by stlouis (Post 1099957)
I installed that package already... I actually installed all fusion-icon* packages:

fusion-icon.noarch 0.1.0-0.2.5e2dc9git.fc installed
fusion-icon-gtk.noarch 0.1.0-0.2.5e2dc9git.fc installed
fusion-icon-qt.noarch 0.1.0-0.2.5e2dc9git.fc installed

I have not updated compiz, beyond what yum picks up for updates.

I'm assuming I will have to enable another repo for yum or download it direct
.


http://forums.fedoraforum.org/showthread.php?t=173317

stlouis 22nd October 2008 06:13 PM

Hi Leigh,

I've added the Compiz Repo as directed by the above link, however I am still having some problems here.

I doesn't seem to find any newer releaser of compiz than the 1.6 I currently have installed.

Here is the code from my compiz-fusion.repo in /etc/yum.repos.d

[fusion]
#name=Compiz Fusion repository
#mirrorlist=http://www.linux-ati-drivers.homecall.co.uk/mirror-f$releasever-$basearch
#baseurl=http://www.dfm.uninsubria.it/compiz/fusion/$releasever/$basearch/
#enabled=1
#gpgcheck=0
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Compiz-Fusion

name=Compiz Fusion repository
#baseurl=http://www.dfm.uninsubria.it/compiz/fusion/$basearch/
mirrorlist=http://www.dfm.uninsubria.it/compiz/mirror-f$releasever-$basearch
enabled=1
gpgcheck=0

[fusion-testing]
name=Compiz Fusion repository -testing
baseurl=http://www.dfm.uninsubria.it/compiz/fusion-testing/9/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Compiz-Fusion

[fusion-source]
name=Compiz Fusion repository - source
mirrorlist=http://www.linux-ati-drivers.homecall.co.uk/mirror-f$releasever-SRPMS
#baseurl=http://www.dfm.uninsubria.it/compiz/fusion/$releasever/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Compiz-Fusion

and Here is what "yum" is saying:

# yum repolist
Loaded plugins: fastestmirror, fedorakmod, list-data, protectbase, refresh-
: packagekit, verify
Loading mirror speeds from cached hostfile
* fedora: mirrors.usu.edu
* updates-newkey: mirror.lib.ucdavis.edu
* updates: mirrors.usu.edu
* fusion: techfreaks4u.com
* livna: rpm.livna.org
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled : 17
fedora Fedora 9 - i386 enabled : 9,897
fusion Compiz Fusion repository enabled : 40
google Google - i386 enabled : 2
livna Livna for Fedora Core 9 - i386 - Base enabled : 909
updates Fedora 9 - i386 - Updates enabled : 10
updates-newkey Fedora 9 - i386 - Updates Newkey enabled : 4,494

But is just don't find 1.9 at all...

stlouis 22nd October 2008 06:21 PM

I also tried with these lines now in the compiz-fusion.repo:

#mirrorlist=http://www.linux-ati-drivers.homecall.co.uk/mirror-f$releasever-$basearch
baseurl=http://www.dfm.uninsubria.it/compiz/fusion/$releasever/$basearch

Still no go...

Here is the output of a yum list compiz*

# yum list compiz*
Loaded plugins: fastestmirror, fedorakmod, list-data, protectbase, refresh-
: packagekit, verify
Loading mirror speeds from cached hostfile
* fedora: mirrors.usu.edu
* updates-newkey: mirror.lib.ucdavis.edu
* updates: mirrors.usu.edu
* livna: rpm.livna.org
17 packages excluded due to repository protections
Error: No matching Packages to list

leigh123linux 22nd October 2008 06:37 PM

Quote:

Originally Posted by stlouis (Post 1100065)
I also tried with these lines now in the compiz-fusion.repo:

#mirrorlist=http://www.linux-ati-drivers.homecall.co.uk/mirror-f$releasever-$basearch
baseurl=http://www.dfm.uninsubria.it/compiz/fusion/$releasever/$basearch

Still no go...

Here is the output of a yum list compiz*

# yum list compiz*
Loaded plugins: fastestmirror, fedorakmod, list-data, protectbase, refresh-
: packagekit, verify
Loading mirror speeds from cached hostfile
* fedora: mirrors.usu.edu
* updates-newkey: mirror.lib.ucdavis.edu
* updates: mirrors.usu.edu
* livna: rpm.livna.org
17 packages excluded due to repository protections
Error: No matching Packages to list


Protectbase is blocking the transaction !


Try this ( it will also correct the compiz-fusion.repo edit you did )


Code:

su
rm -f /etc/yum.repos.d/compiz-fusion.repo
wget http://www.linux-ati-drivers.homecall.co.uk/compiz-fusion-release-1-6.noarch.rpm
rpm -Uvh compiz-fusion-release-1-6.noarch.rpm
rm -f compiz-fusion-release-1-6.noarch.rpm
perl -i -pe "s/(\[.*\])/\1\nprotect=yes/" /etc/yum.repos.d/compiz-fusion.repo
yum erase *compiz*
yum install compiz-kde fusion-icon-qt compiz-fusion-plugins-unsupported compiz-fusion-plugins-extra compiz-bcop ccsm emerald-themes  compizconfig-backend-kconfig


IBBoard 22nd October 2008 06:40 PM

Quote:

# yum list compiz*
Loaded plugins: fastestmirror, fedorakmod, list-data, protectbase, refresh-
: packagekit, verify
Loading mirror speeds from cached hostfile
* fedora: mirrors.usu.edu
* updates-newkey: mirror.lib.ucdavis.edu
* updates: mirrors.usu.edu
* livna: rpm.livna.org
17 packages excluded due to repository protections
Error: No matching Packages to list
The bold line is your problem. Several other people have encountered it before. It has something to do with a Yum protection plugin (I don't know the exact details as I use Smart). Try looking through the thread for similar issues and you'll find the solution (some extra command-line arguments, IIRC).

stlouis 22nd October 2008 07:18 PM

Completed above as directed.

# compiz --version
compiz 0.7.9

Attempted to switch to Compiz again, but still no luck. These errors are being displayed in the ~/.xsession-errors file:

Using compiz-manager as window manager
Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/kwin


I have NOT restart X though, as I wasn't sure if I needed too... I am going to attempt that now though:

Here is some more output, not sure if it will help or not:

# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2600
OpenGL version string: 2.1.8087 Release

# glxinfo | grep -i direct
direct rendering: Yes

# cat /etc/X11/xorg.conf

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection


Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

leigh123linux 22nd October 2008 07:27 PM

Quote:

Originally Posted by stlouis (Post 1100090)
Completed above as directed.

# compiz --version
compiz 0.7.9

Attempted to switch to Compiz again, but still no luck. These errors are being displayed in the ~/.xsession-errors file:

Using compiz-manager as window manager
Checking for Xgl: not present.
No whitelisted driver found
aborting and using fallback: /usr/bin/kwin


I have NOT restart X though, as I wasn't sure if I needed too... I am going to attempt that now though:

Here is some more output, not sure if it will help or not:

# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2600
OpenGL version string: 2.1.8087 Release

# glxinfo | grep -i direct
direct rendering: Yes

# cat /etc/X11/xorg.conf

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
Option "AIGLX" "on"
EndSection


Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
EndSection

Section "InputDevice"

# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection



Try


Code:

# Xorg configuration created by pyxf86config

Section "ServerLayout"
        Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection                                       

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection                     


Section "Files"
        ModulePath "/usr/lib/xorg/modules"
EndSection                       
   

Section "InputDevice"

# keyboard added by rhpxl
        Identifier  "Keyboard0"
        Driver      "kbd"     
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us" 
EndSection                           

Section "Monitor"
        Identifier  "Monitor0"
        Option      "VendorName" "Unknown"
        Option      "ModelName" "Generic Autodetecting Monitor"                                                           
        Option      "DPMS" "true"                           
EndSection                                                   


Section "Device"
        Identifier  "Videocard0"
        Driver      "fglrx"
        Option        "OpenGLOverlay" "off"
        Option      "VideoOverlay" "on"
        BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Monitor    "Monitor0"
        Device    "Videocard0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection


Section "Extensions"
        Option  "Composite"    "Enable"
EndSection

Section "DRI"
        Mode 0666
EndSection


Also add fglrx to the whitelist


Code:

su
gedit /usr/bin/compiz-manager


i.e

Code:

# FALLBACKWM should depend on the used desktop
if [ -n "$KDE_FULL_SESSION" ]; then
        FALLBACKWM="${KWIN}"
else
        FALLBACKWM="${METACITY}"
fi
FALLBACKWM_OPTIONS="--replace $@"

# Driver whitelist
WHITELIST="nvidia intel ati radeon i810 fglrx"

# blacklist based on the pci ids
# See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
T="  1002:5954 1002:5854 1002:5955" # ati rs480
T="$T 1002:4153" # ATI Rv350
T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12"  # intel 965
BLACKLIST_PCIIDS="$T"
unset T

COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
COMPIZ_PLUGINS=""
ENV=""


stlouis 22nd October 2008 08:16 PM

That did it.

Thank you very much Leigh.

You are definitely a Compiz guru... I owe you one...


It has been quite some time since I've used Fedora as my primary desktop. Let alone using compiz-fusion...

I'm just happy to see it working now, without having to use the "Downgrade Method"...


I do however have extensive CentOS experience, along with some other major open source based software such as Zimbra, Vyatta, Jasper Reports, HylaFax, etc... All of which have been implemented at my workplace in place of Proprietary Software, such as MS Exchange, Cisco, Crystal Reports, VSI-FAX...

So hopefully now that I'm a Fedora Forum member, I may be able to offer some advice to others in some area, such as above...

Again,

Thank-You for your assistance. It was much appreciated...

stlouis 22nd October 2008 09:06 PM

One more question for I have now... I am able to figure most Effects, but I'm not too sure how exactly to use the Animations.

When I go into CompizConfig Settings Manager, into the Animations section, I checked off a bunch of different options, such as Magic Lamp, Explode, Airplane, Vacuum, Beam Up....

But I'm not exactly sure what these do...

Also, are there any good sites where I can some "extras", such as different cube caps, and things other than gears/fish swimming inside? And other cool/neat extras, that may not be currently included...

Thanks again...

stlouis 22nd October 2008 09:16 PM

OK, I've figured out how to do this...

I can't seem to get them to go randomly, is this possible?

Thanks,

stlouis 22nd October 2008 09:20 PM

forget that last post... again...

I am blind... It was right in front of me....

Sorry...

leigh123linux 22nd October 2008 09:22 PM

Quote:

Originally Posted by stlouis (Post 1100122)
One more question for I have now... I am able to figure most Effects, but I'm not too sure how exactly to use the Animations.

When I go into CompizConfig Settings Manager, into the Animations section, I checked off a bunch of different options, such as Magic Lamp, Explode, Airplane, Vacuum, Beam Up....

But I'm not exactly sure what these do...

Also, are there any good sites where I can some "extras", such as different cube caps, and things other than gears/fish swimming inside? And other cool/neat extras, that may not be currently included...

Thanks again...


Quote:

When I go into CompizConfig Settings Manager, into the Animations section, I checked off a bunch of different options, such as Magic Lamp, Explode, Airplane, Vacuum, Beam Up....
The Animations plugin adds effects to the window open, close, minimize and maximize


Quote:

Also, are there any good sites where I can some "extras", such as different cube caps, and things other than gears/fish swimming inside? And other cool/neat extras, that may not be currently included...

You already have all these plugins

http://wiki.opencompositing.org/PluginsMain

http://wiki.compiz-fusion.org/PluginsExtra

http://wiki.opencompositing.org/PluginsUnsupported



P.S I have rebuilt the fedora version of compiz-manager and patched it so fglrx is whitelisted and added to the compiz-fusion repository (compiz-manager-0.6.0-10.fc9 )

shivak7 23rd October 2008 05:14 PM

rpmfusion fglrx
 
Hey Hingler,
Thanks alot I got the opensource version working again as libdri had been deleted whole uninstalling.

I noted that rpm fusion had the latest fglrx package so installed it with yum. But I am getting the same error:

Code:

Using GL_EXT_framebuffer_object
libGL: XF86DRIGetClientDriverName: 8.54.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib64/dri/fglrx_dri.so
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  13
  Current serial number in output stream:  13

I could not find any error in Xorg.0.log . All the modules seemed to be loaded successfully.
Any ideas?

Thanks

Hlingler 23rd October 2008 06:52 PM

Quote:

Originally Posted by shivak7 (Post 1100504)
Hey Hingler,
Thanks alot I got the opensource version working again as libdri had been deleted whole uninstalling.

I noted that rpm fusion had the latest fglrx package so installed it with yum. But I am getting the same error:

Code:

Using GL_EXT_framebuffer_object
libGL: XF86DRIGetClientDriverName: 8.54.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib64/dri/fglrx_dri.so
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  19 (X_GLXQueryServerString)
  Serial number of failed request:  13
  Current serial number in output stream:  13

I could not find any error in Xorg.0.log . All the modules seemed to be loaded successfully.
Any ideas?

Thanks

After installing the FGLRX driver, don't use glxinfo - use fglrxinfo.

V

shivak7 23rd October 2008 06:57 PM

I tried that too but fglrxinfo gives the same error.


All times are GMT +1. The time now is 05:21 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.