LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   New ATI driver with "aticonfig" does not work - as usual for ATI... (https://www.linuxquestions.org/questions/suse-opensuse-60/new-ati-driver-with-aticonfig-does-not-work-as-usual-for-ati-372826/)

Livino 10-13-2005 09:03 PM

New ATI driver with "aticonfig" does not work - as usual for ATI...
 
Hi all,

ATI has made available today its new Linux proprietary drivers, version 8.18.6.

Gone is the old "fglrxconfig" app, whose purpose was to basically mess xorg.conf up and break X as a result.
fglrxconfig has been replaced by a new console command, "aticonfig", which, well, messes up xorg.conf and breaks X too.

I have installed the rpm without any problems, and the little ATI panel shows up on my KDE menu (but tells me I've got mesa drivers running).

ATI tells you to run "aticonfig --initial --input=/etc/X11/xorg.conf", for instance, to try and set your machine up after the rpm is installed. Well, it just doesn't configure anything. I've had to recover my back-up xorg.conf file a couple of times now.

Here's the output when I use the -v option with aticonfig:

Quote:

linux:/home/myname # aticonfig -v --initial --input=/etc/X11/xorg.conf
Using /etc/X11/xorg.conf
Parse error on line 46 of section Files in file /etc/X11/xorg.conf
"Inputdevs" is not a valid keyword in this section.

Can someone PLEASE help me configure this thing? Can't I just edit xorg.conf to add the ATI bits? Do I have to recompile something? What's going on???

Here's what I've got as a computer:

SuSE Linux 9.3 Pro with all patches and updates that were available as of the 13th of October, 2005, 22:56 (Rio time)

Graphics card: ATI Radeon X700Pro, 256MB GDDR3, built by ATI (those idiots)
Monitor: Sony SDM-HS75P, using the DVI input
Computer in general: Pentium 4 2.4GHz 533MHz FSB "Northwood" core, Intel D865PERL MoBo, 1GB PC2700 RAM, Seagate SATA 250GB HDD, Sony DVD-RW drive thing, Microsoft keyboard and wireless mouse. Am I missing something relevant? I don't know

Anyway, below is a dump of aticonfig --help. It didn't help me at all but might give someone more expert an idea of what I'm doing wrong.

PLEASE HELP!! THIS IS DRIVING ME INSANE! And worse, it's driving me back to Windows! (I HATE ATI, maybe I should spam their support site with a million tickets to teach them a lesson. Argh!).


Quote:

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:
--initial
Generate a default ATI device section in the configuration file which
is capable of loading the fglrx driver.
--initial=dual-head
Same as '--initial' but generate a basic dual head configuration file.

TV Options:
--tvf, --tv-format-type=STRING
Change the TV signal format. STRING can be one of:
NTSC-M
NTSC-JPN
PAL-B
PAL-D
PAL-G
PAL-H
PAL-I
PAL-K
PAL-K1
PAL-L
PAL-M
PAL-N
PAL-CN
PAL-SCART

FireGL Workstation Board Features:
--app, --use-app-profile=STRING
Change the application profile for a FireGL workstation board.
STRING can be one of:
default
maya
softimage-xsi
softimage-3d
houdini4.0
houdini5.0
houdini5.5

Screen-Related Options:
--ovt, --overlay-type=STRING
Change the overlay for the X server. STRING can be one of:
opengl
Xv
disable
--ovon, --overlay-on={0|1}
Choose which head the hardware overlay should be visible on. The
hardware overlay can be used for either OpenGL, video, pseudo-color
or stereo.
--lcd, --lcd-mode=STRING
Change the LCD mode. STRING can be one of:
center
full
--dtop, --desktop-setup=STRING
Change the desktop setup for multiple display adapters.
STRING can be one of:
single 1 screen, second dark
mirror 2 screens - same content, identical
refresh rate/resolution
clone 2 screens - same content, allows for
different refresh rates/resolutions
horizontal 2 screens - one framebuffer,
screen 1 right of screen 0
horizontal,reverse 2 screens - one framebuffer,
screen 1 left of screen 0
vertical 2 screens - one framebuffer,
screen 1 above of screen 0
vertical,reverse 2 screens - one framebuffer,
screen 1 below of screen 0
Note: This option is not valid if '--initial=dual-head' is specified.
--psc, --pseudo-color={on|off}
Enable/disable pseudo-color visuals. Enable this option to get 16-bit
color support.
--stereo={on|off}
Enable/disable quad-buffer stereo support. Enable this option only for
using applications that support the use of hardware 3D shutter glasses.
--resolution=W1xH1,W2xH2,W3xH3,...
Set the modes for the first screen. You may specify several
resolutions separated by commas.
--hsync=LOW-HIGH
Change the horizontal sync range of the first monitor. Make sure you
know the capabilities of your monitor before changing this option.
--vrefresh=LOW-HIGH
Change the vertical refresh range of the first monitor. Make sure you
know the capabilities of your monitor before changing this option.
--resolution2=W1xH1,W2xH2,W3xH3,...
Change the modes for the second screen for dual head. You may specify
several resolutions separated by commas.
Note: The secondary screen must exist.
--hsync2=LOW-HIGH
Change the horizontal sync range of the second display. Make sure you
know the capabilities of your monitor before changing this option.
--vrefresh2=LOW-HIGH
Change the vertical refresh range of the second display. Make sure you
know the capabilities of your monitor before changing this option.
--mode2=W1xH1,W2XH2,W3xH3,...
Change the modes for the second display. You may specify several
resolutions separated by commas. Only valid for clone and big desktop
settings.
--screen-layout={left|right|above|below}
Set the secondary screen position for dual head.
--force-monitor=STRING[,STRING...]
Describe all displays that are to be enabled and/or disabled regardless
of physical connection. STRING can be one or more of the following
set, separated by commas:
crt1
crt2
lvds
tv
tmds1
tmds2
tmds2i
nocrt1
nocrt2
nolvds
notv
notmds1
notmds2
notmds2i

Miscellaneous Options:
-v, --verbose
Show what aticonfig is doing.
-q, --quiet
Disable all information output except for errors.
--effective={now,startup}
Choose when the requested changes should take effect.
now: Immediately. This change will affect the running X
session if applicable. Only 'set-powerstate' and
'overlay-on' are applicable for now.
startup: On future X server startups. This change will modify the
X server configuration file if applicable.
The default is 'now,startup', i.e., do both as applicable.
-i, --input=FILE
Select a FILE to input as the configuration file. Set FILE to '-' to
pipe from standard input. Without this option, aticonfig will search
/etc/X11 for the default configuration file.
-o, --output=FILE
Select a FILE to output the new configuration file to. Set FILE to '-'
to print to standard output. Without this option, aticonfig will
replace the input file with the newly generated file.
-h, --help
Display this help screen.
-f, --force
Only valid with 'initial' option. Force aticonfig to generate default
Monitor, Device, and Screen sections even if the original configuration
file has invalid settings in these sections.

Examples:
1. Setting up fglrx for the first time.
Single head : aticonfig --initial --input=/etc/X11/xorg.conf
Dual head : aticonfig --initial=dual-head --screen-layout=above
This command will generate a dual head configuration
file with the second screen located above the first
screen.
2. Setting up big desktop to horizontal and set overlay on secondary display.
aticonfig --dtop=horizontal --overlay-on=1
3. Setting up modes for primary display.
aticonfig --resolution=1600x1200,1280x1024,1024x768
4. Force primary CRT on and TV-out off.
aticonfig --force-monitor=crt1,notv

Please report bugs to http://support.ati.com

ceros 03-03-2006 11:09 AM

Have you tried using ATI's Driver Installer? I'm using version 8.22.5 of the ATI drivers and I installed it using ATI's Driver Installer instead of the RPM. It works fine for me and the driver is loaded properly when X is started.

Here's is a snippet of my Xorg.0.log logs showing me it gets loaded.

(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 6.8.0, module version = 8.22.5
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7

When you use the installer, try the "Generate Distribution Specific Driver Package" first and pick your distro.

Alinuxnoob 03-04-2006 04:44 AM

if your still having problems click on the link below...
ya the newer driver seem to work for me too...


http://www.suse.de/~sndirsch/ati-installer-HOWTO.html

superbnerb 03-05-2006 10:42 AM

i have similar issues with aticonfig.

I used the ati installer and it worked... but then u must run aticonfig --initial according to the ati website.

typing that command in my terminal, i get the following message:
Code:

X11]# aticonfig --initial
Warning: Could not find configuration file
Please copy configuration file template to /etc/X11

Questions: Where do i get a copy of this configureation file template. Googling and searching is coming up fruitless.

For those about to answer, i salute you.

ceros 03-05-2006 10:52 AM

I don't know of any templates. When you use aticonfig, type in

aticonfig --initial --input=/etc/X11/xorg.conf

This will add new entries in your xorg.conf file for the fglrx driver which is what you want to do. Typing in just <aticonfig --initial> won't work. Make sure you backup your xorg.conf file before you make this change in case something goes wrong.

superbnerb 03-05-2006 11:04 AM

that's the thing, i don't have an xorg.conf file at all. i will however try adding your new input line. will post soon. thanks

edit:

i've just entered that new line with the input option: here is my output...
Code:

aticonfig --initial --input=/etc/X11/xorg.conf
Using /etc/X11/xorg.conf
Found fglrx primary device section

was that all that was suppose to happen?

superbnerb 03-05-2006 11:10 AM

fantastic. i stole someone else's xorg.conf file however, but it now works after i entered the --input.... line.

thanks ceros.

now, i stole that --initial thing from the ati website, those buggers didn't mention that i need to add the input line, who proofs their websites?!?!?!

oh well, now i get my 1280X768 glory on my presario v2310ca.

ceros 03-05-2006 11:20 AM

Yeah no problem. Actually, all the options to configure using aticonfig can be browsed through when you just type aticonfig by itself. That's where it gives you examples of common options to use when using aticonfig.

superbnerb 03-05-2006 05:07 PM

i should look to see if it has an example of a xorg.conf-less file. i want to add your helpful hints to the caos wiki so others can enjoy ati cards with this great stable distro

ceros 03-05-2006 05:33 PM

It's strange to me that you don't have an xorg.conf file. Maybe it's because of the different distros we're using. Does your distro have Xorg or XFree86? Or does your distro have some other window manager?


All times are GMT -5. The time now is 05:29 AM.