Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Community Lounge > Mac Chat
FedoraForum Search

Forgot Password? Join Us!

Mac Chat The place to discuss your Fedora/ Mac woes (including ibooks and powerbooks).

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th September 2012, 04:49 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Hi,
yesterday i took the plunge and installed linux(fedora 17) on my mac pro so its all still very new to me. It went remarkably well till I decided to try and update the ati drivers . I have an ati radeon hd4870 was hoping to get opengl3.0 support by upgrading my drivers. I noticed ati had a new set of drivers on thier site (amd-driver-installer-12.6-legacy-x86.x86_64.run). So i installed them using terminal and then rebooted, the desktop changed notably and an error popped up about gnome3 not being able to run on my current graphic card. I tried installing again and this time checked the ati log file which has error entries in it. apparently it failed to compile the kernel?

anyone have any idea how i can get these drivers to work? thanks

this is the log file.

Detected a previous installation, /usr/share/ati/amd-uninstall.sh
Dryrun uninstall succeeded continuing with installation.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Forcing uninstall of AMD Catalyst(TM) Proprietary Driver.
No integrity verification is done.
restore of system environment completed
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ati/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
/usr/share/ati/amd-uninstall.sh completed with 0
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘KCL_MEM_AllocLinearAddrInterval’:
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2152:5: error: implicit declaration of function ‘do_mmap’ [-Werror=implicit-function-declaration]
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2152:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cc1: some warnings being treated as errors
make[2]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
[Reboot] Kernel Module : dracut
Reply With Quote
  #2  
Old 26th September 2012, 05:34 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Patch it..
Attached Files
File Type: patch 3.5-do_mmap.patch (1.4 KB, 115 views)
Reply With Quote
  #3  
Old 26th September 2012, 07:19 PM
foliveira Offline
Registered User
 
Join Date: Sep 2012
Location: Waltham,MA
Posts: 1
windows_7firefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

I am trying to do the samething, except using an Apple Cinema Display on the mini displayport. It seems that VESA compatability is not working correctly and I always get 800x600x32 mode. I have tried several vga= variants on the kernel boot to no affect. Can anyone help?
Reply With Quote
  #4  
Old 26th September 2012, 11:12 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

thanks yellowman for the patch, i used it to patch "firegl_public.c" it patched 4 chunks successfully. i than recompiled, i'm not really sure about this but looked in the orginal log file to see how it was done and used the same method ??? i.e

make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules

this is what terminal spewed out at me

[marc@marcs-macpro ~]$ sudo make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
[sudo] password for marc:
make: Entering directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:225:5: error: implicit declaration of function ‘COMPAT_ALLOC_USER_SPACE’ [-Werror=implicit-function-declaration]
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:225:24: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[1]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o] Error 1
make: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make: Leaving directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
[marc@marcs-macpro ~]$


i rebooted and got this message, a problem occured in the x11 module. i accidently erased the error message, and dont know where the log file would be? wish i could be more accurate, sorry.

the desktop remains the same though. thanks for any help
Reply With Quote
  #5  
Old 26th September 2012, 11:18 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Quote:
Originally Posted by graphicmarc View Post
thanks yellowman for the patch, i used it to patch "firegl_public.c" it patched 4 chunks successfully. i than recompiled, i'm not really sure about this but looked in the orginal log file to see how it was done and used the same method ??? i.e

make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules

this is what terminal spewed out at me

[marc@marcs-macpro ~]$ sudo make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
[sudo] password for marc:
make: Entering directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c: In function ‘KCL_IOCTL_AllocUserSpace32’:
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:225:5: error: implicit declaration of function ‘COMPAT_ALLOC_USER_SPACE’ [-Werror=implicit-function-declaration]
/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.c:225:24: warning: initialization makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
make[1]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o] Error 1
make: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make: Leaving directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
[marc@marcs-macpro ~]$


i rebooted and got this message, a problem occured in the x11 module. i accidently erased the error message, and dont know where the log file would be? wish i could be more accurate, sorry.

the desktop remains the same though. thanks for any help
Try applying this patch in addition to the other one
Attached Files
File Type: patch compat_alloc-Makefile.patch (499 Bytes, 101 views)
Reply With Quote
  #6  
Old 27th September 2012, 01:10 AM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

thanks , that sorted out the compile , there where no errors.
this is what terminal read.

[marc@marcs-macpro ~]$ sudo make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
[sudo] password for marc:
make: Entering directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make: Leaving directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
[marc@marcs-macpro ~]$

i rebooted but still the same desktop and now have 2 error messages
1 a problem in the xorg-x11-server package has been detected.
2 a problem in the xorg-x11-server-Xorg-1.12.3-2.fc17 package has been detected

the second error message i got when i moved the firefox window

thanks for your help
Reply With Quote
  #7  
Old 27th September 2012, 08:16 AM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Quote:
Originally Posted by graphicmarc View Post
thanks , that sorted out the compile , there where no errors.
this is what terminal read.

[marc@marcs-macpro ~]$ sudo make -C /lib/modules/3.5.4-1.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
[sudo] password for marc:
make: Entering directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl.o
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /usr/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make: Leaving directory `/usr/src/kernels/3.5.4-1.fc17.x86_64'
[marc@marcs-macpro ~]$

i rebooted but still the same desktop and now have 2 error messages
1 a problem in the xorg-x11-server package has been detected.
2 a problem in the xorg-x11-server-Xorg-1.12.3-2.fc17 package has been detected

the second error message i got when i moved the firefox window

thanks for your help
Did you blacklist radeon in /etc/modprobe.d/blacklist.conf

Code:
$ cat /etc/modprobe.d/blacklist.conf
#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first.  Sometimes user
# mode tools can also control driver binding.
#
# Syntax: see modprobe.conf(5).
#

# watchdog drivers
blacklist i8xx_tco

# framebuffer drivers
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist i810fb
blacklist cirrusfb
blacklist intelfb
blacklist kyrofb
blacklist i2c-matroxfb
blacklist hgafb
blacklist nvidiafb
blacklist rivafb
blacklist savagefb
blacklist sstfb
blacklist neofb
blacklist tridentfb
blacklist tdfxfb
blacklist virgefb
blacklist vga16fb
blacklist viafb

# ISDN - see bugs 154799, 159068
blacklist hisax
blacklist hisax_fcpcipnp

# sound drivers
blacklist snd-pcsp

# I/O dynamic configuration support for s390x (bz #563228)
blacklist chsc_sch
blacklist radeon

and rebuild initramfs

Code:
su
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-radeon.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
Reply With Quote
  #8  
Old 27th September 2012, 02:40 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Hi yellowman, thanks for all you have done. I blacklisted the radeon and then did rebuild iniramfs . I than rebooted, i have no more errors anywhere but the desktop is still the unaccelerated version, i take it i have reload gnome3 some how.

it might be of significance, in the etc/modprobe.d dir was also a file called blacklist-fglrx.conf the contents are this.

# Advanced Micro Devices, Inc.
# radeon conflicts with AMD Linux Graphics Driver
blacklist radeon

thanks marc
Reply With Quote
  #9  
Old 27th September 2012, 11:20 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Post

Code:
grep -e EE -e WW /var/log/Xorg.0.log
Reply With Quote
  #10  
Old 28th September 2012, 07:13 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

log results.

[marc@marcs-macpro ~]$ grep -e EE -e WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 18.642] (II) Loading extension MIT-SCREEN-SAVER
[ 18.836] (WW) Falling back to old probe method for fglrx
[ 18.929] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[ 18.929] (WW) fglrx(0): Hasn't establisted DRM connection
[ 18.929] (WW) fglrx(0): No DRM connection for driver fglrx.
[ 19.282] (EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
[ 19.282] (WW) fglrx(0): ************************************************** *********
[ 19.282] (WW) fglrx(0): * DRI initialization failed *
[ 19.282] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
[ 19.282] (WW) fglrx(0): * 2D and 3D acceleration disabled *
[ 19.282] (WW) fglrx(0): ************************************************** *********
[ 19.285] (WW) fglrx(0): Textured Video not supported without DRI enabled.
[ 19.286] (EE) fglrx(0): XMM failed to open CMMQS connection.(EE) fglrx(0):
[ 19.286] (EE) fglrx(0): XMM failed to initialize
[ 19.286] (WW) fglrx(0): No XV video playback available
[ 19.286] (WW) fglrx(0): Option "VendorName" is not used
[ 19.286] (WW) fglrx(0): Option "ModelName" is not used
[ 19.573] (EE) Wacom Cintiq 21UX2 stylus: Invalid type 'cursor' for this device.
[ 19.573] (EE) Wacom Cintiq 21UX2 stylus: Invalid type 'touch' for this device.
[marc@marcs-macpro ~]$
Reply With Quote
  #11  
Old 28th September 2012, 07:30 PM
Yellowman
Guest
 
Posts: n/a
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

Quote:
Originally Posted by graphicmarc View Post
log results.

[marc@marcs-macpro ~]$ grep -e EE -e WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 18.642] (II) Loading extension MIT-SCREEN-SAVER
[ 18.836] (WW) Falling back to old probe method for fglrx
[ 18.929] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[ 18.929] (WW) fglrx(0): Hasn't establisted DRM connection
[ 18.929] (WW) fglrx(0): No DRM connection for driver fglrx.
[ 19.282] (EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
[ 19.282] (WW) fglrx(0): ************************************************** *********
[ 19.282] (WW) fglrx(0): * DRI initialization failed *
[ 19.282] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
[ 19.282] (WW) fglrx(0): * 2D and 3D acceleration disabled *
[ 19.282] (WW) fglrx(0): ************************************************** *********
[ 19.285] (WW) fglrx(0): Textured Video not supported without DRI enabled.
[ 19.286] (EE) fglrx(0): XMM failed to open CMMQS connection.(EE) fglrx(0):
[ 19.286] (EE) fglrx(0): XMM failed to initialize
[ 19.286] (WW) fglrx(0): No XV video playback available
[ 19.286] (WW) fglrx(0): Option "VendorName" is not used
[ 19.286] (WW) fglrx(0): Option "ModelName" is not used
[ 19.573] (EE) Wacom Cintiq 21UX2 stylus: Invalid type 'cursor' for this device.
[ 19.573] (EE) Wacom Cintiq 21UX2 stylus: Invalid type 'touch' for this device.
[marc@marcs-macpro ~]$

Post
Code:
uname -r
rpm -qa kernel\*
Reply With Quote
  #12  
Old 28th September 2012, 08:04 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

[marc@marcs-macpro ~]$ uname -r
3.5.4-1.fc17.x86_64
[marc@marcs-macpro ~]$ rpm -qa kernel\*
kernel-3.5.4-1.fc17.x86_64
kernel-headers-3.5.4-1.fc17.x86_64
kernel-3.3.4-5.fc17.x86_64
kernel-devel-3.5.4-1.fc17.x86_64
[marc@marcs-macpro ~]$
Reply With Quote
  #13  
Old 1st October 2012, 05:41 PM
graphicmarc Offline
Registered User
 
Join Date: Sep 2012
Location: london
Posts: 8
linuxfirefox
Re: ati 4870 driver problem on fedora17 running on a mid 2009 macpro quadcore

hi yellowman, thanks for your help' think i shall give up on this card . Ive ordered a quadro 4000 , so hopefully get better results with that one .once again , thanks for your help. Marc
Reply With Quote
Reply

Tags
2009, 4870, ati, driver, fedora17, macpro, mid, problem, quadcore, running

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
multi-monitor problem in fedora17 mzbcracker Hardware & Laptops 1 11th June 2012 12:59 PM
Fedora17 problem install BIOS-UEFI Minato04 Installation and Live Media 7 6th June 2012 07:29 AM
macpro f12 no sound shenweiss Hardware & Laptops 0 12th October 2010 02:56 PM
Audio on a macPro? brenth Mac Chat 2 18th December 2008 02:40 AM
Installation problem -Fedora 9 on AMD Phenom 9550 Quadcore renjithgnair Installation and Live Media 4 7th September 2008 11:30 AM


Current GMT-time: 14:37 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat