LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2010, 11:52 AM   #1
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Rep: Reputation: 15
Ati driver "Unable to resolve execstack" ubuntu


I have search for about an hour and I cant figure out how to fix this.
The proprietary drivers that came with my ubuntu 9.04 installation are not doing their job. My cpu is managing my graphics (compiz-fusion, and a 3d obj running in the background) and I alway have a core of my phenom processor close to 100. I have an ATI 4870 gpu with 2gb internal ram on the card. Also, recordmydesktop, electric sheep, and any other simple graphics all lag. 3d games on the other hand have no problem.

I decided I would try the driver I downloaded from AMD. I removed the proprietary driver, ran...

Code:
sudo sh ./ati-driver-installer-10-1-x86.x86_64.run --buildpkg Ubuntu/jaunty
and I get

Code:
Created directory fglrx-install.lPNHYh
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.69................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Generating package: Ubuntu/jaunty
Resolving build dependencies...
Unable to resolve  execstack.  Please manually install and try again.
Followed by
Code:
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.690-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 debian/rules build
dpkg-buildpackage: host architecture amd64
test -x debian/rules
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
 debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k 
dh_installdirs -A 
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
dh_installdirs -pxorg-driver-fglrx 
dh_installdirs -pxorg-driver-fglrx-dev 
dh_installdirs -pfglrx-kernel-source 
dh_installdirs -pfglrx-amdcccle 
dh_installdirs -pfglrx-modaliases 
dh_installdirs -plibamdxvba1 
dh_installdocs -pxorg-driver-fglrx   
dh_installexamples -pxorg-driver-fglrx 
dh_installman -pxorg-driver-fglrx  
dh_installinfo -pxorg-driver-fglrx  
dh_installmenu -pxorg-driver-fglrx 
dh_installcron -pxorg-driver-fglrx 
dh_installinit -pxorg-driver-fglrx   
dh_installdebconf -pxorg-driver-fglrx 
dh_installemacsen -pxorg-driver-fglrx   
dh_installcatalogs -pxorg-driver-fglrx 
dh_installpam -pxorg-driver-fglrx 
dh_installlogrotate -pxorg-driver-fglrx 
dh_installlogcheck -pxorg-driver-fglrx 
dh_installchangelogs -pxorg-driver-fglrx   
dh_installudev -pxorg-driver-fglrx 
dh_lintian -pxorg-driver-fglrx 
dh_install -pxorg-driver-fglrx  
dh_link -pxorg-driver-fglrx  
dh_installmime -pxorg-driver-fglrx 
#driver package
dh_install -XlibAMD -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/lib/*"                     "usr/lib32"
dh_installdirs -pxorg-driver-fglrx "usr/lib32/fglrx"
for i in \
			debian/xorg-driver-fglrx/usr/lib32/dri/fglrx_dri.so \
			debian/xorg-driver-fglrx/usr/lib32/libGL.so.* \
			; do execstack -q $i; execstack -c $i; done
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
make: *** [binary-install/xorg-driver-fglrx] Error 127
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.690-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 debian/rules build
dpkg-buildpackage: host architecture amd64
test -x debian/rules
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
 debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k 
dh_installdirs -A 
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
dh_installdirs -pxorg-driver-fglrx 
dh_installdirs -pxorg-driver-fglrx-dev 
dh_installdirs -pfglrx-kernel-source 
dh_installdirs -pfglrx-amdcccle 
dh_installdirs -pfglrx-modaliases 
dh_installdirs -plibamdxvba1 
dh_installdocs -pxorg-driver-fglrx   
dh_installexamples -pxorg-driver-fglrx 
dh_installman -pxorg-driver-fglrx  
dh_installinfo -pxorg-driver-fglrx  
dh_installmenu -pxorg-driver-fglrx 
dh_installcron -pxorg-driver-fglrx 
dh_installinit -pxorg-driver-fglrx   
dh_installdebconf -pxorg-driver-fglrx 
dh_installemacsen -pxorg-driver-fglrx   
dh_installcatalogs -pxorg-driver-fglrx 
dh_installpam -pxorg-driver-fglrx 
dh_installlogrotate -pxorg-driver-fglrx 
dh_installlogcheck -pxorg-driver-fglrx 
dh_installchangelogs -pxorg-driver-fglrx   
dh_installudev -pxorg-driver-fglrx 
dh_lintian -pxorg-driver-fglrx 
dh_install -pxorg-driver-fglrx  
dh_link -pxorg-driver-fglrx  
dh_installmime -pxorg-driver-fglrx 
#driver package
dh_install -XlibAMD -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/lib/*"                     "usr/lib32"
dh_installdirs -pxorg-driver-fglrx "usr/lib32/fglrx"
for i in \
			debian/xorg-driver-fglrx/usr/lib32/dri/fglrx_dri.so \
			debian/xorg-driver-fglrx/usr/lib32/libGL.so.* \
			; do execstack -q $i; execstack -c $i; done
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
make: *** [binary-install/xorg-driver-fglrx] Error 127
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 2:8.690-0ubuntu1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
 debian/rules build
dpkg-buildpackage: host architecture amd64
test -x debian/rules
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
 debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k 
dh_installdirs -A 
mkdir -p "."
#Create important strings
for i in 10fglrx \
			 dkms.conf \
			 xorg-driver-fglrx.install \
			 xorg-driver-fglrx-dev.install \
			 fglrx-kernel-source.install \
			 fglrx-amdcccle.install \
			 libamdxvba1.install \
			 overrides/fglrx-kernel-source; do \
		sed -e "s|#XMODDIR#|usr/lib/xorg/modules|"     \
			-e "s|#XMODDIR32#||" \
			-e "s|#DRIDIR32#|usr/lib32|"   \
			-e "s|#LIBDIR#|lib64|"       \
			-e "s|#DRIDIR#|usr/lib|"       \
			-e "s|#CVERSION#|8.690|"   \
			-e "s|#XARCH#|x740_64a|"   \
			-e "s|#ARCH#|x86_64|"   \
			debian/$i.in > debian/$i;      \
	done
# remove exec bit on everything
find arch \
		etc \
		lib \
		module \
		usr \
		x740_64a     -type f | xargs chmod -x
find: `module': No such file or directory
# set executable on user apps
find arch/x86_64/usr/sbin \
		arch/x86_64/usr/X11R6/bin \
		usr/sbin/ -type f | xargs chmod a+x
# set exec bit on scripts
find lib etc debian -name "*.sh" -type f | xargs chmod +x
# Generate modaliases
sh -e debian/modaliases/fglrx_supported \
		x740_64a/usr/X11R6/lib64/modules/drivers/fglrx_drv.so > \
		debian/modaliases/fglrx-modules.alias.override
dh_installdirs -pxorg-driver-fglrx 
dh_installdirs -pxorg-driver-fglrx-dev 
dh_installdirs -pfglrx-kernel-source 
dh_installdirs -pfglrx-amdcccle 
dh_installdirs -pfglrx-modaliases 
dh_installdirs -plibamdxvba1 
dh_installdocs -pxorg-driver-fglrx   
dh_installexamples -pxorg-driver-fglrx 
dh_installman -pxorg-driver-fglrx  
dh_installinfo -pxorg-driver-fglrx  
dh_installmenu -pxorg-driver-fglrx 
dh_installcron -pxorg-driver-fglrx 
dh_installinit -pxorg-driver-fglrx   
dh_installdebconf -pxorg-driver-fglrx 
dh_installemacsen -pxorg-driver-fglrx   
dh_installcatalogs -pxorg-driver-fglrx 
dh_installpam -pxorg-driver-fglrx 
dh_installlogrotate -pxorg-driver-fglrx 
dh_installlogcheck -pxorg-driver-fglrx 
dh_installchangelogs -pxorg-driver-fglrx   
dh_installudev -pxorg-driver-fglrx 
dh_lintian -pxorg-driver-fglrx 
dh_install -pxorg-driver-fglrx  
dh_link -pxorg-driver-fglrx  
dh_installmime -pxorg-driver-fglrx 
#driver package
dh_install -XlibAMD -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/*.so*"           "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/X11R6/lib/modules/dri"     "usr/lib32"
dh_install -pxorg-driver-fglrx "arch/x86/usr/lib/*"                     "usr/lib32"
dh_installdirs -pxorg-driver-fglrx "usr/lib32/fglrx"
for i in \
			debian/xorg-driver-fglrx/usr/lib32/dri/fglrx_dri.so \
			debian/xorg-driver-fglrx/usr/lib32/libGL.so.* \
			; do execstack -q $i; execstack -c $i; done
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
/bin/sh: execstack: not found
make: *** [binary-install/xorg-driver-fglrx] Error 127
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.lPNHYh
How do I fix this? Like I said I googled for an hour, searched: LQ, AMD's website, and many other forums.

If anyone has any suggestions to make the proprietary driver work better I'm all for that to. Thanks in advanced for you help, I swear I'm cursed because I have problems like this almost every weekend (not kidding past 3 weeks I've had various problems)
 
Old 02-12-2010, 12:06 PM   #2
bluewind
LQ Newbie
 
Registered: Feb 2010
Posts: 16

Rep: Reputation: 0
Hi bowbalitic,

I am not very sure this will help or not but you can try. I had rebooting problem and installation problem of ATI driver for ubuntu 9.04.

Basically this is what I did and I could install ATI driver:

sudo /usr/share/ati/fglrx-uninstall.sh # (if it exists)
sudo apt-get remove --purge fglrx*
sudo apt-get remove --purge xserver-xorg-video-ati xserver-xorg-video-radeon
sudo apt-get install xserver-xorg-video-ati
sudo apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg


Then I deleted /etc/X11/xorg.conf, then rebooted my computer to make sure everything was cleaned up.

Then I run this command in terminal:
sudo sh ./ati-driver-installer-10-1-x86.x86_64.run

Then after installed these drivers but BEFORE I rebooted my system I typed the following into the terminal.

sudo aticonfig --initial -f
sudo aticonfig --acpi-services=off

This anticonfig solved my reboot problem. I not sure this is command applicable to you or not.

I referred to this forum:http://ubuntuforums.org/showthread.php?t=1315199
 
Old 02-12-2010, 07:18 PM   #3
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
Well it worked I guess... Thanks for your help bluewind, you gave me what I asked. Unfortunatly its worse now than before, now 2 of my four cores are always running at 100%, the fps dropped and all graphics jitter (if thats a word :P), and boot up takes twice as long. Serves me right for being nosy. So I think I'm going to remove all the things I installed, and go back to the proprietary driver. There isn't an opensource driver for the 4870 is there?? Because that would be optimal. Thanks again for the help bluewind.
 
Old 02-12-2010, 07:32 PM   #4
bowbalitic
Member
 
Registered: Feb 2008
Location: Wadsworth, Ohio
Distribution: Windows xp pro 64 and 32,Gentoo, archlinux
Posts: 62

Original Poster
Rep: Reputation: 15
Ok, so I got the proprietary setup again, is there anyway to improve how the gpu/cpu handles graphics objects? My cpu is working to hard for the gpu to be in control of my graphics. I know that the biggest thing stressing my system is this massive moon with excellent detail (3d object) I have rotating in my background (kinda corny sounding I know but it looks sweet). This computer is capable of playing Crysis on high with no problems, its hard to imagine that this moon, electric sheep, and recordmydesktop are really straining my gpu.
 
  


Reply

Tags
ati, driver, install


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
HP Notebook, VISTA, wireless DSL. UBUNTU "Unable to resolve host notebook" uncledunc Linux - Laptop and Netbook 7 02-03-2009 12:19 PM
Removed HD resulted in "Unable to resolve LABEL " error during boot nooto Linux - Hardware 2 12-26-2008 08:58 AM
Getting Error "fsck.ext3 Unable to resolve 'LABEL=boot'" during Booting... salil.mehta Fedora 3 08-21-2006 08:39 AM
"X Server: unable to detect"? Trying to install ATI driver... timkarwoski Linux - General 2 11-26-2005 02:16 PM
suse ati driver "Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing" madcow007 Linux - Hardware 0 03-06-2004 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration