LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-23-2007, 09:12 PM   #1
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Rep: Reputation: 0
ATI 8.40.4 amdcccle or aticonfig problem


As specified per the amd installer instructions, I uninstalled the previous driver, ran the installer (.run shell script), then aticonfig --initial and rebooted.

Apparently there is no error while generating the driver (fglrx.ko) as per the log file in /usr/share/ati.

But amdcccle complains it cannot initialize apparently because there is no driver, and ask to either install the hardware (which was already in place!) rerun aticonfig.

I did run it again and it displayed the same 3 lines:
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-7

(as you can see, it is not the first time I do this!)

I have the latest fedora 7 (2.6.22.1-41.fc7) on a x86_64 machine. I'm desperate to be able to run ccc. May anyone help me please?

Here's a pertinent section of my xorg.conf:

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

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

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1600x1024" "1440x900" "1400x1050" "1360x76
8" "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1152x768" "1024x768"
"800x600" "640x480"
EndSubSection
EndSection

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

Do I miss anything? If you need more info, let me know.

Thanks for your help!
 
Old 08-24-2007, 05:16 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
No you really did not miss anything except for the fact you can and should use the ati-x11-drv rpm package from freshrpms; http://moonshine.freshrpms.net/

This makes life a bit easier, no need to redo the ati driver installation after a kernel update for one. Uninstall the ati driver as you have done for the older version and install the rpm package.

rpm -ivh http://ftp.freshrpms.net/pub/freshrp....fc.noarch.rpm

yum install ati-x11-drv


For comparison here is a copy of my current /etc/X11/xorg.conf file;
Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

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

Section "ServerFlags"
	Option	    "AIGLX" "off"
EndSection

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

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "Monitor0"
	ModelName    "LCD Panel 1280x800"
#	HorizSync    31.5 - 90.0
#	VertRefresh  59.9 - 60.1
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "Videocard0"
	Driver      "fglrx"
	Option      "VideoOverlay" "on"
	Option	    "Centermode" "off"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x800" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "False"
	Option       "XVideo"   "Enable"
EndSection
 
Old 08-30-2007, 08:45 PM   #3
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Original Poster
Rep: Reputation: 0
I followed what you said.
As far as I could observe, I apparently got no problem during the install.
However I doubt it worked successfully.
(note that I rebooted my machine to be sure)

Here is my /etc/X11/xorg.conf file now:

Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "Monitor 1600x1200"
        HorizSync    31.5 - 94.0
        VertRefresh  50.0 - 90.0
        Option      "dpms"
EndSection

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

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1600x1200" "1600x1024" "1440x900" "1400x1050" "1360x76
8" "1280x1024" "1280x960" "1280x800" "1280x720" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
Also, I don't know how to verify if:
- the installation effectively worked?
- hardware-acceleration is active?
- ati driver is active?
- there are any tools or programs that come with the install?

As far as I can see, most 3D screen-savers are running slow. That's the only way I can guess something is not configured correctly.

Thank you for helping me.
 
Old 08-31-2007, 05:14 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Did you notice this section;
(yours first)
Code:
Section "Device"
        Identifier  "Videocard0"
        Driver      "radeon"
EndSection
(mine)
Code:
Section "Device"
	Identifier  "Videocard0"
	Driver      "fglrx"
	Option      "VideoOverlay" "on"
	Option	    "Centermode" "off"
EndSection
I'm using the fglrx ATi 3rd party driver and your using the default radeon driver, so edit the xorg.conf file then restart the GUI interface.


When done open an xterm window and type;

fglrxinfo

Sample output:
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon Xpress Series
OpenGL version string: 2.0.6747 (8.40.4)


Then type 'fgl_glxgears' minus the single quote marks and watch the glxgears gears running in a 3-d spinning box.

Also try typing just 'glxgears' before and after making the xorg.conf file edit.
 
Old 08-31-2007, 05:50 PM   #5
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Original Poster
Rep: Reputation: 0
When I replace my section by yours, the X server does not start. And I have to login in a text-mode console.

Here is the error message I get:

Code:
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 31 14:45:36 2007
(==) Using config file: "/etc/X11/xorg.conf"
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found

Backtrace:
0: X(xf86SigHandler+0x6d) [0x48b99d]
1: /lib64/libc.so.6 [0x3f38c30630]
2: /usr/lib64/xorg/modules/drivers//fglrx_drv.so(atiddxSave64BitBAR+0x2d) [0x2aa
aabcc980d]
3: /usr/lib64/xorg/modules/drivers//fglrx_drv.so(atiddxProbeMain+0x37f) [0x2aaaa
bcd49bf]
4: X(InitOutput+0x6e7) [0x463707]
5: X(main+0x275) [0x434625]
6: /lib64/libc.so.6(__libc_start_main+0xf4) [0x3f38c1dab4]
7: X(FontFileCompleteXLFD+0x229) [0x433ad9]

Fatal server error:
Caught signal 11.  Server aborting

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
I believe something is missing in my system?
 
Old 08-31-2007, 07:24 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Are you using the driver you used built from ATI or did you install the ati-x11-drv rpm package from freshrpms.net???

Feel free to cut and paste from my xorg.conf file into yours, as a suggestion keep the display section from yours and replace the rest from mine.
 
Old 08-31-2007, 10:15 PM   #7
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Original Poster
Rep: Reputation: 0
As I mentionned before, I uninstalled the driver I downloaded from the ATI site few days ago.

Tonight, I removed all xorg-drv-* packages I had installed. (even -mouse and -keyboard, etc.)

I made several tests with different xorg.conf; I even removed it (renamed it , actually) and surprisingly, "yum install ati-x11-drv" does not even create one!

In the last 2 hours, I made more than 10 tentatives to install and remove ati-x11-drv with different xorg.conf setups.

Now that I removed the xorg-X11-drv package, I can no more use "radeon"; and since "fglrx" still does not work, I'm stuck with "vesa" and a 800x600 max screen resolution 8v(

I don't know what to do next?

Note: When I put "fglrx" in xorg.conf and I restart X, first it fails. Then it tries to setup something up and while it is doing, I get some messages like:

Code:
Could'nt start X on card 0
Could'nt start X on card 1
Could'nt start X on card 1 with old config, trying a fresh config
At this moment, X kicks in, asking for my preferred resolution (in some kind of gnome dialog where I can choose my graphic card's driver). There I find 2 choices: fglrx and vesa. (before there was also radeon; it vanished since I remove the xorg-x11-drv package)

In that menu, If I choose fglrx, it does not work and the setup program start over again. The only solution that works now is vesa. (...unless I reinstall the xorg-x11-drv package in order to get back to a normal 1280x1024 resolution)

As far as I know, I have a single graphic card ATI 9600 (agp). I don't think I have an on-board graphic card (I see no other rgb output, except something that looks like an RCA jack). I also have a TV card (pci) and it is working fine.
 
Old 09-01-2007, 07:54 AM   #8
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Original Poster
Rep: Reputation: 0
If it can help in any way, here is the output of fglrxinfo:

Code:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
and a piece of lspci:

Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AP [Rade
on 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AP [Radeon 9600
] (Secondary)
and a piece of dmesg:

Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starn
berg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 922 MBytes.
[fglrx] USWC is disabled in module parameters
[fglrx] PAT is disabled!
[fglrx] module loaded - fglrx 8.40.4 [Jul 31 2007] on minor 0

Last edited by maitrebart; 09-01-2007 at 08:29 AM.
 
Old 09-01-2007, 09:52 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Quote:
I made several tests with different xorg.conf; I even removed it (renamed it , actually) and surprisingly, "yum install ati-x11-drv" does not even create one!
Why would this be a surprise?????, this is a graphics driver only and not a configuration tool. To configure the graphics interface use system-config-display, for example;

system-config-display --reconfig --set-resolution=1600x1200 --set-depth=16 --set-driver=radeon

The F7 xorg-x11-drv-ati-6.6.3-2.fc7.i386.rpm file is the package which has the radeon driver, if not installed then one cannot use the radeon driver.

For reference only here is a list of which xorg packages I have installed;
Code:
$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}\n" 'xorg*' 'ati*' | sort
ati-x11-drv-8.40.4-1.el5.x86_64
xorg-x11-apps-7.1-4.0.1.el5.x86_64
xorg-x11-drv-ati-6.6.3-3.2.el5.x86_64
xorg-x11-drv-dummy-0.2.0-2.1.x86_64
xorg-x11-drv-evdev-1.0.0.5-2.el5.x86_64
xorg-x11-drv-fbdev-0.3.0-2.x86_64
xorg-x11-drv-keyboard-1.1.0-2.1.x86_64
xorg-x11-drv-mouse-1.2.1-1.fc6.x86_64
xorg-x11-drv-vesa-1.2.1-5.2.el5.x86_64
xorg-x11-drv-vga-4.1.0-2.1.x86_64
xorg-x11-drv-void-1.1.0-3.1.x86_64
xorg-x11-filesystem-7.1-2.fc6.noarch
xorg-x11-fonts-100dpi-7.1-2.1.el5.noarch
xorg-x11-fonts-75dpi-7.1-2.1.el5.noarch
xorg-x11-fonts-base-7.1-2.1.el5.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.1-2.1.el5.noarch
xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5.noarch
xorg-x11-fonts-misc-7.1-2.1.el5.noarch
xorg-x11-fonts-truetype-7.1-2.1.el5.noarch
xorg-x11-fonts-Type1-7.1-2.1.el5.noarch
xorg-x11-font-utils-7.1-2.x86_64
xorg-x11-proto-devel-7.1-9.fc6.x86_64
xorg-x11-server-sdk-1.1.1-48.13.0.1.el5.x86_64
xorg-x11-server-utils-7.1-4.fc6.x86_64
xorg-x11-server-Xdmx-1.1.1-48.13.0.1.el5.x86_64
xorg-x11-server-Xgl-0-0.8.20070102git.x86_64
xorg-x11-server-Xnest-1.1.1-48.13.0.1.el5.x86_64
xorg-x11-server-Xorg-1.1.1-48.13.0.1.el5.x86_64
xorg-x11-twm-1.0.1-3.1.x86_64
xorg-x11-util-macros-1.0.2-4.fc6.x86_64
xorg-x11-utils-7.1-2.fc6.x86_64
xorg-x11-xauth-1.0.1-2.1.x86_64
xorg-x11-xbitmaps-1.0.1-4.1.x86_64
xorg-x11-xdm-1.0.5-5.fc6.x86_64
xorg-x11-xfs-1.0.2-4.x86_64
xorg-x11-xinit-1.0.2-13.el5.x86_64
xorg-x11-xkb-utils-1.0.2-2.1.x86_64
xorg-x11-xtrans-devel-1.0.1-1.1.fc6.x86_64
 
Old 09-01-2007, 10:10 AM   #10
maitrebart
LQ Newbie
 
Registered: Apr 2007
Location: Laval, Quebec, Canada
Distribution: Ubuntu 8.04 with Gnome
Posts: 11

Original Poster
Rep: Reputation: 0
Btw, I found the solution at: forums.fedoraforum.org

Thanks anyway for your time and help!
 
Old 09-01-2007, 12:34 PM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Good for you, glad you were able to get this working!!!
 
  


Reply


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
aticonfig illegal instruction tamtam Slackware 14 09-22-2006 08:27 PM
Still no 3d acceleration after running 'aticonfig' erpe Debian 2 05-04-2006 08:27 AM
Ati Drivers aticonfig problem Steel_J Linux - Hardware 6 04-03-2006 11:49 AM
Problems with aticonfig & Xorg erpe Slackware 2 03-25-2006 07:24 AM
New ATI driver with "aticonfig" does not work - as usual for ATI... Livino SUSE / openSUSE 9 03-05-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:26 PM.

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