PDA

View Full Version : fireglcontrolpanel + FC6


Michael
10-30-2006, 09:04 AM
If you are encountering an issue when generating Fedora FC6 RPMs with the fglrx 8.29.6 drivers, read this thread.

Prior to posting make sure kernel-devel, kernel-headers, qt-devel, and all of the standard development libraries and tools are installed and working.

File not found: /tmp/ATI-fglrx-8.28.8-1-32131-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel

This problem has appeared to pop up with some users. Nothing with fireglcontrolpanel had changed from the 8.28.8 to 8.29.6 drivers when it comes to the Fedora packaging scripts, and no users had reported problems with FC5. So far I have installed well over a dozen Fedora 6 ATI machines and haven't run into this problem (I came across it once or twice a few weeks ago on Rawhide).

If you are one of these users with build troubles, try building fireglcontrolpanel from source to see if it works or what errors are outputted.

To grab the source, pass the argument of --extract to the 8.29.6 driver installer. It will then make the fglrx-install folder. From there, grab fglrx-install/common/usr/src/fglrx/fglrx_panel_sources.tgz and extract the contents.

Run make in the extracted folder from fglrx_panel_sources.tgz. If the compilation errors out, post the output. Thanks.

semi
10-30-2006, 09:41 AM
http://linpaste.efnet-linux.com:7000/179

Michael
10-30-2006, 09:50 AM
You have qt-devel and libraries installed, correct? For Qt 3.3 (not Qt4).

semi
10-30-2006, 09:52 AM
qt-3.3.4-15.5.i386.rpm
says a newer version is installed.

Michael
10-30-2006, 09:57 AM
qt-3.3.4-15.5.i386.rpm
says a newer version is installed.

If I recall, Qt 3.3.7 is the latest in the 3.3 branch, which is probably the "newer version". So do you also have qt-devel-3.3* installed?

semi
10-30-2006, 10:07 AM
yes.
qt-devel-3.3.7-0.1.fc6.i386.rpm is already installed

thanks again for your patience.

Shinigami2057
10-30-2006, 09:39 PM
Hey all, I figured out how to fix it. I extracted the package and examined the makefile for the control panel, and it seems to be assuming that the qt libraries are always in /usr/lib64/qt-3.3/lib64 (/usr/{LIB_DIR}/{MK_QTDIR}/{LIB_DIR}) when it should be /usr/lib64/qt-3.3/lib64. I got the package to generate properly by creating a symbolic link lib64 to lib/. Everything worked fine after that.

Shinigami2057
10-31-2006, 12:35 PM
Erm, I meant to say that it should be looking for qt libs in /usr/lib64/qt-3.3/lib. Sorry for any confusion.

semi
10-31-2006, 03:14 PM
that did it. fixed my problem. It all works perfectly now.
thanks alot for that Shinigami2057 and thanks very much for all you help michael.
:D

Michael
10-31-2006, 03:34 PM
that did it. fixed my problem. It all works perfectly now.
thanks alot for that Shinigami2057 and thanks very much for all you help michael.
:D

Does it work out with 8.30.3?

semi
10-31-2006, 03:37 PM
I just saw the thread about them being out after I got 8.29.6 to work. just restarted now after installing 8.30.3 and it is working fine. The control panel still doesn't work but the drivers are working and I just edit my xorf.conf.
the gnome menu ati control says:

Failed to execute child process "fireglcontrolpanel" (No such file or directory)
and the installation:

and the installation in terminal:
http://linpaste.efnet-linux.com:7000/181

but i'm fine with that.

platini
10-31-2006, 05:14 PM
Symbolic link hack confirmed to work in 8.30 also.

jonastio
10-31-2006, 05:39 PM
While trying to compile the control panel seperately I got this error:

g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status


I tried looking around but couldn't find any decent guesses as to what I need to do here. I've got the qt packages required (as far as I can tell) to get this installed, but still a no-go.

Michael
10-31-2006, 05:42 PM
While trying to compile the control panel seperately I got this error:



I tried looking around but couldn't find any decent guesses as to what I need to do here. I've got the qt packages required (as far as I can tell) to get this installed, but still a no-go.



Did you try creating the symbolic link as mentioned in an earlier post?

jonastio
10-31-2006, 05:50 PM
Did you try creating the symbolic link as mentioned in an earlier post?

You know, I may just be blind as a bat or staring at apache config files all day have made me go loopy, but I tried to do as such the best I could. I didn't see any lib64 directories anywhere so I linked /usr/lib64 to /usr/lib and then /usr/lib/qt-3.3/lib64 to /usr/lib/qt-3.3/lib.

To me though, it looked like both directory trees showed /usr/lib64/qt-3.3/lib64 in the previous post explaining the link, so maybe I just didn't get it.

EDIT: Well, I *did* notice the remark afterwards, and yes, I created the links like the fella said.

semi
10-31-2006, 05:58 PM
that's what I did.
ln -sf /usr/lib64/qt-3.3/lib64 /usr/lib/qt-3.3/lib
I have no /usr/lib64 either.

jonastio
10-31-2006, 06:11 PM
Odd, it went through when I edited the Makefile lines

from:
LIBQT_DYN = qt

to:
LIBQT_DYN = qt-mt

now it cannot find -lGL

BAH!

jonastio
10-31-2006, 06:20 PM
Also, created a symbolic link in /usr/lib
ln -s libGL.so.1 libGL.so

Edit:

Also created links in /usr/lib

ln -s libXmu.so.6 libXmu.so
ln -s libXxf86vm.so.1 libXxf86vm.so

bobgun04
10-31-2006, 11:44 PM
Hi Micheal,

As an update I am getting the fireglcontrolpanel error even with 8.30 I am getting a strange rpmLib error. Here is the output from the installer.

[bob@localhost ~]$ ./ati-driver-installer-8.30.3.run --buildpkg Fedora/FC6
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.30.3............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ..........................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!
Package build utility output:
Building target platforms: x86_64
Building for target x86_64

ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.18-1.2798.fc6/build/include/linux/version-*.h: No such file or directory
OsRelease=2.6.18-1.2798.fc6
major=2
minor=6
patch=18
extra=-1.2798.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.18-1.2798.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
CC [M] /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:460: warning: initialization from incompatible pointer type
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:583: warning: assignment discards qualifiers from pointer target type
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_put_user_ptr':
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1352: warning: cast from pointer to integer of different size
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1352: warning: cast from pointer to integer of different size
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1352: warning: cast from pointer to integer of different size
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1352: warning: cast from pointer to integer of different size
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion':
/tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2537: warning: 'return' with a value, in function returning void
LD [M] /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
CC /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6-x86_64'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: ATI-fglrx-8.30.3-1.fc6
Provides: atiogl_a_dri.so()(64bit) config(ATI-fglrx) = 8.30.3-1.fc6 fglrx_dri.so()(64bit) fglrx_drv.so()(64bit) libGL.so.1()(64bit) libfglrx_dm.so.1.0()(64bit) libfglrx_gamma.so.1()(64bit) libfglrx_pp.so.1.0()(64bit) libfglrx_tvout.so.1()(64bit) libfglrxdrm.so()(64bit)
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.30.3-1.fc6 kernel-module-ATI-fglrx-2.6.18-1.2798.fc6 = 8.30.3-1.fc6 libGL.so.1()(64bit) libX11.so.6()(64bit) libXext.so.6()(64bit) libXrandr.so.2()(64bit) libXrender.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libfglrx_dm.so.1.0()(64bit) libfglrx_gamma.so.1()(64bit) libfglrx_pp.so.1.0()(64bit) libfglrx_tvout.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libstdc++.so.5()(64bit) libstdc++.so.5(CXXABI_1.2)(64bit) libstdc++.so.5(GLIBCPP_3.2)(64bit) system-config-display
Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
Processing files: ATI-fglrx-control-panel-8.30.3-1.fc6
error: File not found: /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/usr/bin/fireglcontrolpanel
Processing files: ATI-fglrx-devel-8.30.3-1.fc6
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/include/GL ATI-fglrx = 8.30.3-1.fc6 libGL.so.1()(64bit)
Processing files: ATI-fglrx-IA32-libs-8.30.3-1.fc6
Provides: atiogl_a_dri.so fglrx_dri.so libGL.so.1
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: ATI-fglrx = 8.30.3-1.fc6 libGL.so.1 libX11.so.6 libXext.so.6 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2)
Processing files: kernel-module-ATI-fglrx-2.6.18-1.2798.fc6-8.30.3-1.fc6
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Processing files: ATI-fglrx-debuginfo-8.30.3-1.fc6
Provides: atiogl_a_dri.so.debug atiogl_a_dri.so.debug()(64bit) fglrx_dri.so.debug fglrx_dri.so.debug()(64bit) fglrx_drv.so.debug()(64bit) libGL.so.1.2.debug libGL.so.1.2.debug()(64bit) libfglrx_dm.so.1.0.debug()(64bit) libfglrx_gamma.so.1.0.debug()(64bit) libfglrx_pp.so.1.0.debug()(64bit) libfglrx_tvout.so.1.0.debug()(64bit) libfglrxdrm.so.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
File not found: /tmp/ATI-fglrx-8.30.3-1-6988-bob/tmp/ATI-fglrx-8.30.3-1.fc6-root-bob/usr/bin/fireglcontrolpanel
Removing temporary directory: fglrx-install

Is this an AMD64 issue? I had to cut parts out because of the 10000 character limit

Take care,
Bob

Michael
10-31-2006, 11:46 PM
Should work on x86_64.

Did you try the symbolic link hack mentioned in this thread?

For the RPMlib problem, by chance are you tapping into Rawhide? I haven't run into that problem on any FC6 + ATI fglrx installs (nor has it been reported).

bobgun04
11-01-2006, 01:56 AM
I might try to reinstall and see what happens. I tried creating the link and it didn't work. I am wondering if I am having a conflict with the 32bit stuff it needs that I think I have installed plus the 64 bit stuff I have installed.

As ati mentions on thier page.

The following 32 bit packages must be installed in order for 64 bit drivers to install and work properly:
· XFree86-Mesa-libGL
· libstdc++
· libgcc
· XFree86-libs
· fontconfig
· expat
· freetype
· zlib

At this link.

https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300

Do you know if the 8.30 drivers allow the desktop effects?

take care,
Bob

jonastio
11-01-2006, 02:50 AM
I might try to reinstall and see what happens. I tried creating the link and it didn't work. I am wondering if I am having a conflict with the 32bit stuff it needs that I think I have installed plus the 64 bit stuff I have installed.

As ati mentions on thier page.

The following 32 bit packages must be installed in order for 64 bit drivers to install and work properly:
· XFree86-Mesa-libGL
· libstdc++
· libgcc
· XFree86-libs
· fontconfig
· expat
· freetype
· zlib

At this link.

https://support.ati.com/ics/support/default.asp?deptID=894&task=knowledge&folderID=300

Do you know if the 8.30 drivers allow the desktop effects?

take care,
Bob

8.30 drivers do not allow desktop effects.
One of the things I did to get it to work (as I described earlier with linking some off .so files) is try to compile the control panel as stated earlier in this thread. You might notice /usr/bin/ld reporting a few missing libraries (like -lqt not found) and you might try symbolically linking the .so lib files like I described earlier.

cardinal
11-01-2006, 09:17 AM
I might try to reinstall and see what happens. I tried creating the link and it didn't work. I am wondering if I am having a conflict with the 32bit stuff it needs that I think I have installed plus the 64 bit stuff I have installed.


I successfully compiled and installed the 8.30.3 drivers on an AMD64 machine. the only thing I did to get rid of the control panel problems was to create the following link:

ln -s /usr/lib64/qt-3.3/lib/ /usr/lib64/qt-3.3/lib64

as root.

hookooekoo
11-01-2006, 02:32 PM
I have followed the instructions in this post.

and made the following symlink

ln -sf /usr/lib64/qt-3.3/lib64 /usr/lib/qt-3.3/lib

I am now getting the following error

[root@dh7c8rb1 ati]# make
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

bobgun04
11-01-2006, 07:26 PM
Thanks Michael and cardinal

As soon as I added the proper link is compiled perfectly with no errors. So thanks again. I was almost going to install ubuntu but I prefer Fedora.

Take care,
Bob

pirotlord
11-02-2006, 01:43 AM
Strange... I was getting this:
[root@am64 ati]# make
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib64/qt-3.3/lib64 -L/usr/X11R6/lib64 -lqt-mt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib64 -lXft
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

And this fixed it:

[root@am64 ati]# ln -s /usr/lib64/fglrx/libGL.so /usr/lib

hookooekoo
11-02-2006, 01:44 PM
I have tried both symlinks with no success :(, i am borderline getting ready to start from scratch, not that I think that will help.

Michael
11-02-2006, 01:55 PM
I have tried both symlinks with no success :(, i am borderline getting ready to start from scratch, not that I think that will help.

Are you running into the same error or what?

hookooekoo
11-02-2006, 02:31 PM
yeah the same one as posted above.

Michael
11-02-2006, 03:42 PM
If you wanted, you could throw fireglcontrolpanel out of the RPM build process. If you need help with that just let me know.

hafdolla
11-08-2006, 12:59 AM
usr/bin/ld: cannot find -lqt

I found that I had the multithreaded qt installed, and was able to work around this problem by creating yet another symbolic link:

Directory:
/usr/lib/qt-3.3/lib
Command:
# ln -s libqt-mt.so libqt.so

After running this, I was able to build the RPM for fireglcontrol via the extracted source. I then cleaned that up and ran the entire process again, and all rpm's were built successfully.

fc6ont60
11-08-2006, 02:26 PM
Hey all, I figured out how to fix it. I extracted the package and examined the makefile for the control panel, and it seems to be assuming that the qt libraries are always in /usr/lib64/qt-3.3/lib64 (/usr/{LIB_DIR}/{MK_QTDIR}/{LIB_DIR}) when it should be /usr/lib64/qt-3.3/lib64. I got the package to generate properly by creating a symbolic link lib64 to lib/. Everything worked fine after that.


is this for 64bit version of fc6 or also for 32bit?, I am still getting the same "Cannot stat fireglcontrolpanel error"

hafdolla
11-08-2006, 03:46 PM
My system is 32bit FC6, and I hate to make the symbolic link to the lib64, as stated, but I also have to create symbolic links for the qt libraries to point to the qt-mt (multithreaded) libraries.

Have you tried to extract the files and compile the fireglcontrolpanel component? If so, what is the output from that?

doof2006
11-09-2006, 02:41 PM
I have a similar problem ! I tried to install the 8.30 drivers no progress. Tried the sym links as well again no progress, then tried to make from source here is the response:

root@localhost lib]# cd /opt/Test/fglrx-install/common/usr/src/ati/fglrx_panel_sources.tgz_FILES
[root@localhost fglrx_panel_sources.tgz_FILES]# make
Makefile:91: *** environment incomplete: MK_QTDIR=. Stop.


Anyone have any ideas ?

Many thanks

Michael
11-09-2006, 03:53 PM
I have a similar problem ! I tried to install the 8.30 drivers no progress. Tried the sym links as well again no progress, then tried to make from source here is the response:

root@localhost lib]# cd /opt/Test/fglrx-install/common/usr/src/ati/fglrx_panel_sources.tgz_FILES
[root@localhost fglrx_panel_sources.tgz_FILES]# make
Makefile:91: *** environment incomplete: MK_QTDIR=. Stop.


Anyone have any ideas ?

Many thanks

Do you have qt and qt-devel installed?

doof2006
11-09-2006, 05:03 PM
Do you have qt and qt-devel installed?

well I checked and only had i386 installed , so I fixed that problem now make runs but generates this message.

/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1
rm moc_Page.cpp moc_TVoutAdjustPage.cpp moc_AdjustPage.cpp moc_InfoPage.cpp moc_DualScreenPage.cpp moc_Sheet.cpp
[root@localhost fglrx_panel_sources.tgz_FILES]#

Michael
11-09-2006, 05:17 PM
Try installing libXmu

doof2006
11-09-2006, 05:27 PM
Try installing libXmu

Ok it's compiled ! rpm's run can I use the sample xorg.conf file to run a Radeon x1650 or will it crash the xsever ? aticonfig did not run , during rpm install's


Many Thanks

Michael
11-09-2006, 05:41 PM
If you're using 8.30.3, system-config-display with fglrx configured the xorg.conf (I didn't change the 8.30 packaging scripts to aticonfig but its still with system-config-display). You may be able to use the sample configuration, otherwise run aticonfig --initial as root.

doof2006
11-10-2006, 04:08 AM
If you're using 8.30.3, system-config-display with fglrx configured the xorg.conf (I didn't change the 8.30 packaging scripts to aticonfig but its still with system-config-display). You may be able to use the sample configuration, otherwise run aticonfig --initial as root.

Ok card is up and running with glxgears giving 350 fps. I thought it would give a higher speed ? Aslo mplayer wont run stating : Xshape not supported . Is this a driver or setup problem ?

Many Thanks

Michael
11-10-2006, 07:48 AM
In mplayer select your video output to use X-Video (if you got TexturedVideo or Avivo running and you're not on 64-bit Linux) otherwise select gl or gl2.

Mplayer is not a benchmark... Use Enemy Territory or something else for comparison.

vilsu
11-18-2006, 11:04 AM
>from:
>LIBQT_DYN = qt
>to:
>LIBQT_DYN = qt-mt
>now it cannot find -lGL

Same thing. I don't know how this qt vs. qt-mt is supposed to work, but now it doesn't work at all. Makefile seems to assume that on 32bit platforms the right library is always libqt. At least on my FC6 (with all updates to date), libqt no longer exists, only libqt-mt.

The strange part is, that a while ago (around nov-8th) I installed 8.30.3 on FC6, and it compiled ok. Since then, I have updated some packages (official FC6 updates). Now neither 3.31.5 nor 3.30.3 compiles...

Now, manually making symbolic links here and there isn't the right way to fix this. Unfortunately I haven't done any development with qt, so I don't how to properly fix this one. Ideas, anyone?

doof2006
11-22-2006, 05:46 AM
Is there anyway to just build the kernel modules/drivers without building the control pannel ? as I am now getting this message after a hard disk crash/reinstall

/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status

and have tried the links to no effect

Many Thanks

Michael
11-22-2006, 09:10 AM
See: http://www.phoronix.net/forums/showthread.php?t=405&page=2#post2501 for how to disable it.

exobg
12-03-2006, 07:45 PM
If you are one of these users with build troubles, try building fireglcontrolpanel from source to see if it works or what errors are outputted.

To grab the source, pass the argument of --extract to the 8.29.6 driver installer. It will then make the fglrx-install folder. From there, grab fglrx-install/common/usr/src/fglrx/fglrx_panel_sources.tgz and extract the contents.

Run make in the extracted folder from fglrx_panel_sources.tgz. If the compilation errors out, post the output. Thanks.
Hello, I have Fedora Core 6 x86_64 installed and have problems with generating fglrx packages. The problem is with fireglcontrolpanel. Already create symbolic link in /usr/lib64/qt-3.3 - lib64 that point to lib, but that didn't help. Here's the result from building fireglcontrolpanel from source:
make
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy main.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy Sheet.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy Page.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy InfoPage.cpp
InfoPage.cpp: In member function ‘void InfoPage::Init()’:
InfoPage.cpp:15: warning: unused variable ‘ChipRevision’
InfoPage.cpp:17: warning: unused variable ‘ChipRevision1’
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy DualScreenPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy AdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy TVoutAdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy BoardInfo.cpp
/usr/lib64/qt-3.3/bin/moc Sheet.h -o moc_Sheet.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_Sheet.cpp
/usr/lib64/qt-3.3/bin/moc Page.h -o moc_Page.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_Page.cpp
/usr/lib64/qt-3.3/bin/moc InfoPage.h -o moc_InfoPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_InfoPage.cpp
/usr/lib64/qt-3.3/bin/moc DualScreenPage.h -o moc_DualScreenPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_DualScreenPage.cpp
/usr/lib64/qt-3.3/bin/moc AdjustPage.h -o moc_AdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_AdjustPage.cpp
/usr/lib64/qt-3.3/bin/moc TVoutAdjustPage.h -o moc_TVoutAdjustPage.cpp
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib64/qt-3.3/include -I. -I./include_dummy moc_TVoutAdjustPage.cpp
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib64/qt-3.3/lib64 -L/usr/X11R6/lib64 -lqt-mt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib64 -lXft
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1
rm moc_Page.cpp moc_TVoutAdjustPage.cpp moc_AdjustPage.cpp moc_InfoPage.cpp moc_DualScreenPage.cpp moc_Sheet.cpp

Please help me.

Michael
12-03-2006, 07:53 PM
It looks like libXmu is missing. Do you have it installed?

exobg
12-04-2006, 05:06 AM
It looks like libXmu is missing. Do you have it installed?
Yes, I have both libXmu - 1.0.2-5.i386 and libXmu - 1.0.2-5.x86_64, but the devel packages are not installed. I've just install them. Here's what I get after instalation of devel packages when try to compile FireGL Control panel:
make
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib64/qt-3.3/lib64 -L/usr/X11R6/lib64 -lqt-mt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib64 -lXft
/usr/bin/ld: cannot find -lXxf86vm
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

It seems that something is still missing, that error "/usr/bin/ld: cannot find -lXxf86vm" say that "lXxf86vm" is missing, but I don't know what this is and don't have such packages in Fedora repo's ... What's wrong ?

Michael
12-04-2006, 08:47 AM
What happens when you enter: ldconfig -p | grep Xxf86vm

It should be:

# ldconfig -p | grep Xxf86vm
libXxf86vm.so.1 (libc6) => /usr/lib/libXxf86vm.so.1
libXxf86vm.so (libc6) => /usr/lib/libXxf86vm.so

exobg
12-04-2006, 04:42 PM
Michael,
I've installed libXxf86vm-devel packages and that help me to successfully generate FC6 ati packages. But now there is new problem:
rpm -Uvh ATI-fglrx-IA32-libs-8.31.5-1.fc6.x86_64.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by ATI-fglrx-IA32-libs-8.31.5-1.fc6.x86_64
libstdc++.so.5(CXXABI_1.2) is needed by ATI-fglrx-IA32-libs-8.31.5-1.fc6.x86_64
libstdc++.so.5(GLIBCPP_3.2) is needed by ATI-fglrx-IA32-libs-8.31.5-1.fc6.x86_64

I have both libstdc++ and libstdc++-devel packages, also 32 and 64 bit compat-libstdc++ and compat-libstdc++ - devel packages. libstdc++.so.5 is located in /usr/lib64/libstdc++.so.5. So it seems all dependencies are there, what could be the problem ? :confused:

btw: Getting this driver to work in FC6 is real nightmare compared with other distro's ... :eek:

Michael
12-04-2006, 05:19 PM
compat-libstdc++-33 is what you need. Make sure that it's 33 in the RPM and not 296 or something else. After that you should hopefully be good.

exobg
12-04-2006, 05:35 PM
compat-libstdc++-33 is what you need. Make sure that it's 33 in the RPM and not 296 or something else. After that you should hopefully be good.

Yes, compat-libstdc++-33 - 3.2.3-61.x86_64 package is installed ... :eek:

Michael
12-04-2006, 05:52 PM
Hmmm are you able to install the i386 version as well without conflicts? Though I hadn't run into this issue on any x86_64 systems that I can recall.

exobg
12-04-2006, 06:26 PM
Hmmm are you able to install the i386 version as well without conflicts? Though I hadn't run into this issue on any x86_64 systems that I can recall.
Yes, that solve it :D Thanks :) I've installed "compat-libstdc++-33-3.2.3-61.i386" without problems, but now face new problems. Well I think they "belong" to this (http://phoronix.net/forums/showpost.php?p=2808&postcount=61) topic.

Michael
12-08-2006, 09:59 AM
For those running into problems still, fc6_try_production is a new user that has condensed some of the information and packages needed all into one message. He also has a fix for a Livna problem. (Right now he is having problems posting)

...I thinki have found the solution for some problems:

When trying to build the ati.com ATI drivers on FC6 , one MUST have installed:
1. development libraries packages
2. development tools packages
3. GNOME development packages
4. X development packages
5. Old Software development -> compat-libdistc++-33-*
6. qt-devel
7. rpm-build

Then it compiles fine, no problems with "cannot stat . . ." etc.

Solution to persistent MESA GL renderer when installing the 8.31.5 driver from livna:
xorg-X11-drv-fglrx-8.31.5.lvn6.i386

The corresponding libGL.so.1.2 will be installed in /usr/lib/ati-fglrx/ . Of course, the existing ligGL.so.1.2 provided by MESA, which resides in /usr/lib, will be found in the path first. So rename /usr/lib/libGL.so.1.2 to /usr/lib/ligGL.so.1.2.MESA and copy /usr/lib/ati-fglrx/ligGL.so.1.2 to /usr/lib . It did the trick. After restarting X i got the following on fglrxinfo:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X300 Generic
OpenGL version string: 2.0.6174 (8.31.5)

So there you are ;-))

Regards,

J.

combas
12-17-2006, 06:31 AM
Ok, I cant get into my system anymore. I'm not happy.

I went through this whole thread before I tried anything
and read the howto that Michael wrote.

Installed the kernel-headers qt-devel etc etc all that jazz.

I even copied over config.h

Why I tried to build the rpm's it wouldnt go until I
makde the lib64 lib link, then it built the rpms for me.

Tried to install the rpm's and said they conflicted
with two other rpms, one was xorg-X11-drv-fglrx and
the other was fglrx.kmod so I removed both of them
with yum, and then installed the newly built rpms.

Now my system will boot, and even the fancy framebuffer
will start when the system is loading, however when the
login screen is supposed to appear the screen freaks out
lots of different colored lines flash on the screen, then
it just sits there at a blank screen and does nothing.

I cant log in at all. I cant even switch to another session
by using ctrl+alt+F2

Can someone please tell me how to boot the system into
a non-graphic mode so I can try to untinstall the ATI
drivers and fix the problem.

Very frustraiting.

Michael
12-17-2006, 09:08 AM
combas,

When you see GRUB starting and can select your differentr installed kernels, hit "a" and then at the end of the line type 3 and that will boot you to runlevel 3. From there you can login with the console and then try reinstalling the RPMs, etc...

What graphics card are you using? Are you able to get your Xorg.0.log? What does your xorg.conf look like? Are you using the new fglrx 8.32.5?

desijatt
01-10-2007, 06:47 PM
When tried to compile the fireglcontrol is gives me the following output/error

# sudo make
g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3//lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

Any idea what i am doing wrong or if there is any dependency missing !

Thanks for the help in advance !

Michael
01-10-2007, 06:59 PM
qt-devel 3.3

ndoxx
01-11-2007, 03:58 AM
qt-devel 3.3

Hi, i just migrated to fc 6, when i was to install ati driver fglrx 32-5, i built package for fc 6, and i encountered error fireglcontrolpanel not found, and the rpms didnt show up. after i searched advises from this forum, then make the fglrx_panel_sources Makefile, and i encountered this error :

g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

that said that it cannot find the -lGL

i got exactly same error when trying to install mplayer

some suggest to install the libsdl1.2-dev, but i cannot find one
help me please,

thanks

Michael
01-11-2007, 08:00 AM
Hi, i just migrated to fc 6, when i was to install ati driver fglrx 32-5, i built package for fc 6, and i encountered error fireglcontrolpanel not found, and the rpms didnt show up. after i searched advises from this forum, then make the fglrx_panel_sources Makefile, and i encountered this error :

g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1

that said that it cannot find the -lGL

i got exactly same error when trying to install mplayer

some suggest to install the libsdl1.2-dev, but i cannot find one
help me please,

thanks


Try:

ln -s /usr/lib64/fglrx/libGL.so /usr/lib

ndoxx
01-11-2007, 10:46 PM
Try:

ln -s /usr/lib64/fglrx/libGL.so /usr/lib

i'm using the x86 version of fedora, not x86_64, and i cant find fglrx/libGL.so, instead, the libGL.so is located in /usr/lib/xorg
and when i link it to /usr/lib it already exist in that directory

ln: creating symbolic link `/usr/lib/libGL.so' to `/usr/lib/xorg/libGL.so': File exists

and still i cant build the package

thanks

MengXun
01-12-2007, 09:29 PM
Try:

ln -s /usr/lib64/fglrx/libGL.so /usr/lib

Hi, Michael:

I have exactly the same problem as ndoxx has. When I tried to
make the fglrx_panel_sources Makefile, I got:

"/usr/bin/ld: cannot find -lGL"

and I tried your suggestion:
"ln -s /usr/lib64/fglrx/libGL.so /usr/lib"

It didn't work. The same problem.

Is there any possible solution for this?
Thank you.

Michael
01-13-2007, 02:40 PM
Do you have all the X development libraries installed? Out of the dozens (well, at least a hundred by now) I haven't run into these issues after making the links.

kanugantisuman
02-04-2007, 07:04 AM
I was reading through all these posts in the thread while I was trying to get rpms built from ati source on fc6xen. Here are the steps I did before it worked. Yeah, each step was required, I had to do dig into this thread for the solution for each of these. Thank you all. Special thanks to Micheal.

Downloaded: http://adaptive.slup.cs.utoronto.ca/cgi-bin/download.py?file=xen-gl.cset33.tar.gz

$ mkdir ati; cd ati;
$ tar -zxvf xen-gl.cset33.tar.gz
$ sh ati-driver-installer-8.33.6-x86.x86_64.run --extract
$ cd fglrx-install/common/lib/modules/fglrx/build_mod
$ patch -p1 < ../../../../../../xen-gl.hg/fglrx/fglrx_module.patch
$ ln -s /usr/lib /usr/lib64
$ ln -s /usr/lib64/qt-3.3/lib/ /usr/lib64/qt-3.3/lib64
$ cd /usr/lib/qt-3.3/lib
$ ln -s libqt-mt.so libqt.so
$ ln -s /usr/lib/xorg/libGL.so /usr/lib/libGL.so
$ ./ati-installer.sh -- --buildpkg Fedora/FC6


[root@skinetwork fglrx-install]# ./ati-installer.sh -- --buildpkg Fedora/FC6
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
Package /root/apps/ati/ATI-fglrx-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/ATI-fglrx-control-panel-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/ATI-fglrx-devel-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/kernel-module-ATI-fglrx-2.6.18-1.2869.fc6xen-8.33.6-1.fc6.i386.rpm has been successfully generated

c0le
02-07-2007, 11:37 PM
Downloaded: http://adaptive.slup.cs.utoronto.ca/cgi-bin/download.py?file=xen-gl.cset33.tar.gz

$ mkdir ati; cd ati;
$ tar -zxvf xen-gl.cset33.tar.gz
$ sh ati-driver-installer-8.33.6-x86.x86_64.run --extract
$ cd fglrx-install/common/lib/modules/fglrx/build_mod
$ patch -p1 < ../../../../../../xen-gl.hg/fglrx/fglrx_module.patch
$ ln -s /usr/lib /usr/lib64
$ ln -s /usr/lib64/qt-3.3/lib/ /usr/lib64/qt-3.3/lib64
$ cd /usr/lib/qt-3.3/lib
$ ln -s libqt-mt.so libqt.so
$ ln -s /usr/lib/xorg/libGL.so /usr/lib/libGL.so
$ ./ati-installer.sh -- --buildpkg Fedora/FC6


[root@skinetwork fglrx-install]# ./ati-installer.sh -- --buildpkg Fedora/FC6
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
Package /root/apps/ati/ATI-fglrx-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/ATI-fglrx-control-panel-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/ATI-fglrx-devel-8.33.6-1.fc6.i386.rpm has been successfully generated
Package /root/apps/ati/kernel-module-ATI-fglrx-2.6.18-1.2869.fc6xen-8.33.6-1.fc6.i386.rpm has been successfully generated


After following these steps i get:

www.c0le.com/new.txt

any idea why mine still fails at generating fireglcontrolpanel

nforrester
02-08-2007, 01:24 AM
If you are encountering an issue when generating Fedora FC6 RPMs with the fglrx 8.29.6 drivers, read this thread.

If you are one of these users with build troubles, try building fireglcontrolpanel from source to see if it works or what errors are outputted.

To grab the source, pass the argument of --extract to the 8.29.6 driver installer. It will then make the fglrx-install folder. From there, grab fglrx-install/common/usr/src/ati/fglrx_panel_sources.tgz and extract the contents.

Run make in the extracted folder from fglrx_panel_sources.tgz. If the compilation errors out, post the output. Thanks.


I had the now common problem of "install: cannot stat `fireglcontrolpanel': No such file or directory" on a i686 (32-bit) machine. I followed the above directions for source compilation and make died at:


g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1


The cause was a missing link for libGL.so in /usr/X11R6/lib fixed by:


cd /usr/X11R6/lib
ln -s libGL.so.1 libGL.so


I expect that each system with the fireglcontrolpanel problem will have a different reason for failure, but the above compilation test should reveal the cause.

Thanks to Michael!

c0le
02-08-2007, 08:35 PM
After following these steps i get:

www.c0le.com/new.txt

any idea why mine still fails at generating fireglcontrolpanel



*bump*

anyone know please? i could really use to get these drivers installed

Michael
02-08-2007, 08:51 PM
Did you follow all of the steps? Such as the posts above?

c0le
02-08-2007, 09:47 PM
Yes, i've followed every post, tried everything people said on these forums and on linuxforums.org and I still can't get it working. I never can get the fireglcontrolpanel file or the other 2 with it. Is there anywhere do just download those specific rpm's or tar's whatever they were?


Keep getting this:

install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!

That's in the log, just pointing it out.


Also just noticed this:

initializing...
cat: /lib/modules/2.6.19-1.2895.fc6/build/include/linux/version-*.h: No such file or directory

Then farther down:

error: File not found: /tmp/ATI-fglrx-8.33.6-1-18478-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/fireglcontrolpanel

And at the end:

RPM build errors:
File not found: /tmp/ATI-fglrx-8.33.6-1-18478-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/fireglcontrolpanel

Michael
02-08-2007, 10:01 PM
See this post to remove the panel: http://phoronix.net/forums/showthread.php?t=981&page=2 (first one)

c0le
02-09-2007, 08:33 AM
Okay, deleted fireglcontrolpanel in every instance where that post said too. Now i'm a little confused as to how to install the drivers. Before i installed by doing

./ati-driver-installer-8.33.6-x86.x86_64.run --buildpkg Fedora/FC6

but now i have those files extracted into a folder named fglrx-install and they have been modified so i dont know which file or what to do

my best guess was

sh ./ati-installer.sh --buildpkg Fedora/FC6

This gave me:

[root@localhost fglrx-install]# sh ./ati-installer.sh --buildpkg Fedora/FC6
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Unrecognized parameter 'Fedora/FC6' to ati-installer.sh
This script supports the following arguments:
--help : print help messages
--listpkg : print out a list of generatable packages
--buildpkg package : if generatable, the package will be created
--install : install the driver



The same thing happens if i tried --buildpkg Fedora instead of Fedora/FC6



Im a linux noob so what am i doing wrong here?

Michael
02-09-2007, 08:35 AM
Try ./ati-installer.sh --buildpkg Fedora/FC6 without the sh

c0le
02-09-2007, 08:37 AM
same thing


[root@localhost fglrx-install]# ./ati-installer.sh --buildpkg Fedora/FC6
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Unrecognized parameter 'Fedora/FC6' to ati-installer.sh
This script supports the following arguments:
--help : print help messages
--listpkg : print out a list of generatable packages
--buildpkg package : if generatable, the package will be created
--install : install the driver

c0le
02-09-2007, 08:39 AM
i get that same thing if i try

./ati-installer.sh --help

./ati-installer.sh --listpkg

Michael
02-09-2007, 08:56 AM
Doh, just overlooked something in the beginning of your message.


./ati-installer.sh 8.33.6 --buildpkg Fedora/FC6

c0le
02-09-2007, 09:10 AM
[root@localhost fglrx-install]# ./ati-installer.sh 8.33.6 --buildpkg Fedora/FC6
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/rpm-tmp.88675
+ umask 022
+ cd /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD
+ cd ATI-fglrx-8.33.6
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/rpm-tmp.88675
+ umask 022
+ cd /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD
+ cd ATI-fglrx-8.33.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/rpm-tmp.88675
+ umask 022
+ cd /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD
+ cd ATI-fglrx-8.33.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6
+ cat
+ popd
/tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6
+ cp -pR /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6/etc /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6/lib /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6/usr /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.33.6-1-5481-root/BUILD/ATI-fglrx-8.33.6
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.19-1.2895.fc6/build/include/linux/version-*.h: No such file or directory
OsRelease=2.6.19-1.2895.fc6
major=2
minor=6
patch=19
extra=-1.2895.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API

<-----SNIPPED CODE----->


RPM build errors:
File not found: /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/aticonfig
File not found: /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/fgl_glxgears
File not found: /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/fglrxinfo
File not found: /tmp/ATI-fglrx-8.33.6-1-5481-root/tmp/ATI-fglrx-8.33.6-1.fc6-root-root/usr/bin/fglrx_xgamma



got farther into the install without errors than i think i ever have.

if you need to look at part i snipped out let me know

Michael
02-09-2007, 09:26 AM
I think you deleted a little too much when you were deleting the fireglcontrolpanel stuff. You may want to restart over with the steps of running --extract and then deleting the changes.

c0le
02-09-2007, 06:43 PM
i only deleted exactly what that post said too. I double checked as i was doing making sure every line was supposed to be gone. I guess i can try re extracting and modifying all over again but somehow i see myself ending up with the same end result.


Just a thought, that post you linked me too has to do with FC7 Test 1, does that still apply to FC6?


*edit*

Do you have one of your sripts you've made like that post talks about for FC7 Test 1 where you have already modified what needs to be modifed?

Michael
02-09-2007, 08:25 PM
You can try using the F7T1 script I mention, but just modify that script from --buildpkg Fedora/F7 to Fedora/FC6

It's basically the same.

c0le
02-09-2007, 11:45 PM
Okay, i ran your script using --buildpkg Fedora/FC6 and it worked with no errors. It made the 3 rpm files....but i dont know what to do now...i don't know how to go about installing it now using those rpm's

Michael
02-09-2007, 11:48 PM
run as root:

rpm -ivh *.rpm

in that directory.

c0le
02-09-2007, 11:53 PM
Okay ran your script...no errors...it built 3 rpm packages:

ATI-fglrx-8.33.6-1..i386.rpm
ATI-fglrx-devel-8.33.6-1..i386.rpm
kernel-module-ATI-fglrx-2.6.19-1.2895.fc6-8.33.6-1..i386.rpm

Then i did rpm -ivh *.rpm

It said kernel-module-ATI-fglrx-2.6.19-1.2895.fc6-8.33.6-1..i386.rpm was already installed and did nothing else after...So i put that one rpm in a new folder and did rpm -ivh *.rpm again i got:

[root@localhost new]# rpm -ivh *.rpm
Preparing... ########################################### [100%]
package kernel-module-ATI-fglrx-2.6.19-1.2895.fc6-8.33.6-1. is already installed
[root@localhost new]# rpm -ivh *.rpm
Preparing... ########################################### [100%]
1:ATI-fglrx ########################################### [ 50%]
2:ATI-fglrx-devel ########################################### [100%]
[root@localhost new]# aticonfig --initial --input=/etc/X11/xorg.conf
Found fglrx primary device section
Nothing to do, terminating.
[root@localhost new]# aticonfig --initial --input=/etc/X11/xorg.conf
Found fglrx primary device section

c0le
02-10-2007, 12:16 AM
now i can run aticonfig

i got this:

[root@localhost home]# aticonfig --initial --input=/etc/X11/xorg.conf
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-2
[root@localhost home]# aticonfig
Usage: aticonfig [OPTION] ...
Parses an existing X-Server configuration file and modifies it to operate with
ATI products.

The following command-line options can be invoked as parameters:

ATI Initial Configuration:

<----------Snip - got rid of the help explanation, nothing else

Please report bugs to http://support.ati.com
[root@localhost home]#



Is there anything i need to change or configure? I also noticed by running gedit /etc/X11/xorg.conf that there is multiple entries of each category...is this a bad thing?

c0le
02-10-2007, 12:22 AM
This is what my xorg.conf now looks like:


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dri"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "aticonfig-Monitor[0]"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "VendorName" "ATI Proprietary Driver"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "False"
EndSection

Section "ServerFlags"
Option "AIGLX" "False"
EndSection



I just want to make sure everything is setup and configured right before i reboot cause i'm gettin tired of rebooting and getting that black screen and having to reconfigure xorg.conf and run system-display-config to get my comp running again.


*edit*

i just rebooted....it appears nothing has changed though, i still dont have 3D acceleration...did my drivers actually install or is there something else i need to do?

c0le
02-10-2007, 10:26 PM
help me Michael plz, im getting so close to having them working =P

Michael
02-10-2007, 10:31 PM
Oops, hadn't seen your edit.

Can you post:

cat /var/log/Xorg.0.log | grep EE

c0le
02-11-2007, 12:07 AM
[root@localhost home]# cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.


[root@localhost home]# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1600 Series Generic
OpenGL version string: 2.0.6286 (8.33.6)

figured that might help show something possibly?

Michael
02-11-2007, 12:15 AM
If fglrxinfo is showing ATI Technologies, that means its working.

c0le
02-11-2007, 12:28 AM
But i have no 3D acceleration, i can't open anything that uses OpenGL...any thoughts on why that would be?

glussier
02-11-2007, 12:51 AM
Try this:

glxinfo | grep direct and post the result.

What 3d app can't you run and what error do you get trying to run it?

c0le
02-11-2007, 06:23 PM
[root@localhost home]# glxinfo | grep direct
direct rendering: Yes
[root@localhost home]#


I have Steam and World of Warcraft installed using Wine, both the installs ran flawlessly, i modifed World of Warcraft to run using OpenGL instead of Direct3D. Upon launching both of those games, i get a black screen then back to FC6 with an Error message saying no 3D Acceleration was found. Any ideas?

c0le
02-12-2007, 04:35 PM
anyone???? ideas please?

ardainbox
02-18-2007, 05:50 AM
WHAT I HAVE TO DO... WHAT IS WORNG .PLS... :-(

my glxinfo
glxinfo: error while loading shared libraries: /usr/lib/xorg/libGL.so.1: file too short
-----------------------------------------
xglrxinfo
fglrxinfo: error while loading shared libraries: /usr/lib/xorg/libGL.so.1: file too short
-----------------------------------------
rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}\\n | grep kernel | sort
kernel-2.6.19-i686
kernel-devel-2.6.19-i686
kernel-headers-2.6.19-i386
-----------------------------------------
rpm -qa | grep qt-devel
qt-devel-3.3.7-0.1.fc6
-----------------------------------------
rpm -qa | grep fglrx
xorg-x11-drv-fglrx-8.33.6-1.lvn6
kmod-fglrx-8.33.6-1.2.6.19_1.2911.fc6
xorg-x11-drv-fglrx-debuginfo-8.33.6-1.lvn6

c0le
02-20-2007, 06:01 AM
i still have no 3D acceleration....any other input would be greatly appreciated.

Michael
02-20-2007, 08:04 AM
i still have no 3D acceleration....any other input would be greatly appreciated.

Where exactly are you running into problems again, c0le? With so many people asking different questions in the same thread, etc... Everyones problems are starting to get mixed up and which ones I had commented on.

c0le
02-24-2007, 08:29 PM
Where exactly are you running into problems again, c0le? With so many people asking different questions in the same thread, etc... Everyones problems are starting to get mixed up and which ones I had commented on.



Okay, i can run Counter-Strike in software mode and it actually runs quite well except with bad graphics of course. When i try to change it to Direct3D or OpenGL modes, i get an error message saying
"ChoosePixelFormat failed"

When i try to run World of Warcraft, i geth an error message saying
"World of Warcraft was unable to startup 3D Acceleration."


the commands i tried in previous posts in the console showed the my drivers were installed properly, but obviously they are not. Any ideas?

Also, i noticed there is newer Linux ATI drivers out since we were last discussing this issue, have you tried them yet?

Michael
03-28-2007, 12:22 PM
The Fedora scripts in 8.35 have removed the fireglcontrolpanel. This thread is now closed.

If you run into other issues please open a new thread.