ATI Drivers - Can't set resolution/dvi doesnt work

Hi Guys,

I’m no guru at Linux in general and I’m finding myself stuck. I read the directions for installing the ATI drivers and used the handy one-click install. This is for my radeon hd 3670 running on Suse 11. I then ran sudo aticonfig --initial and Restarted X as it told me to do.

Now I thought that it would help with the resolution for the widescreen monitor (1920x1280), but it is staying at 1600x1200 max. It did detect the monitor. When I load up sax2 I now get:

**
Cannot deactivate all displays
at least one display must be active**

When I try to change the resolution to anything else now it then says:

data incomplete in file /var/lib/sax/xorg.conf
undefined screen “aticonfig-screen[0]-[0]” referenced by server layout "Layout[all]"

I dont see how I messed up a one click install >:(

Here is what my xorg.conf looks like

Section "ServerLayout"
Identifier "Layout[all]"
Screen 0 "aticonfig-Screen[0]-0" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
EndSection

Section "Files"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "Colorado USB Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1280x1024" 141.8 1280 1376 1512 1744 1024 1025 1028 1070
ModeLine "1280x1024" 130.2 1280 1368 1504 1728 1024 1025 1028 1066
ModeLine "1280x1024" 120.0 1280 1368 1504 1728 1024 1025 1028 1063
ModeLine "1280x1024" 114.5 1280 1328 1360 1440 1024 1027 1034 1061 +hsync -vsync
ModeLine "1280x1024" 108.9 1280 1360 1496 1712 1024 1025 1028 1060
ModeLine "1152x864" 106.5 1152 1224 1352 1552 864 865 868 903
ModeLine "1152x864" 97.7 1152 1224 1344 1536 864 865 868 900
ModeLine "1152x864" 90.0 1152 1224 1344 1536 864 865 868 897
ModeLine "1152x864" 88.0 1152 1200 1232 1312 864 867 871 895 +hsync -vsync
ModeLine "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895
ModeLine "1024x768" 83.0 1024 1080 1192 1360 768 769 772 803
ModeLine "1024x768" 76.9 1024 1080 1192 1360 768 769 772 800
ModeLine "1024x768" 70.5 1024 1072 1104 1184 768 771 775 796 +hsync -vsync
ModeLine "1024x768" 70.1 1024 1080 1184 1344 768 769 772 798
ModeLine "1024x768" 64.1 1024 1080 1184 1344 768 769 772 795
ModeLine "800x600" 50.3 800 840 928 1056 600 601 604 627
ModeLine "800x600" 45.9 800 840 920 1040 600 601 604 625
ModeLine "800x600" 44.8 800 848 880 960 600 603 607 622 +hsync -vsync
ModeLine "800x600" 42.3 800 840 920 1040 600 601 604 623
ModeLine "800x600" 38.2 800 832 912 1024 600 601 604 622
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "DEL"
ModelName "DELL S2409W"
UseModes "Modes[0]"
DisplaySize 531 298
HorizSync 30.0 - 83.0
VertRefresh 43.0 - 76.0
Option "DPMS"
Option "PreferredMode" "1280x1024"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"

#BusID "1:0:0"
Identifier "Device[0]"
Driver "radeonhd"
VendorName "ATI"
BoardName "ATI Radeon HD 3670"
Option "monitor-DVI-I_2/analog" "Monitor[0]"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection

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

Section "DRI"
Group "video"
Mode 0660
EndSection

Also the card has a DVI and VGA output. Only the VGA works, DVI does not want to work (no signal found on monitor). This has been the same since I installed Suse. WinXP works with both.

Any help on either problem would be greatly appreciated.

I’m not so sure you’re the one who messed it up. First, it’s
not a 1920x1280 monitor, it’s a 1920x1080 one. Second, when I
compare the values given in this file:

/usr/share/sax/api/data/cdb/Monitors

#==============================================
# Dell S2409W(Analog)
#----------------------------------------------
DELL:S2409W(Analog) {
 DDC=DELA037
 Hsync=30-83
 Vsync=50-76
}

#==============================================
# Dell S2409W(Digital)
#----------------------------------------------
DELL:S2409W(Digital) {
 DDC=DELA038
 Hsync=30-83
 Vsync=50-76
}

#==============================================
# Dell S2409W(HDMI)
#----------------------------------------------
DELL:S2409W(HDMI) {
 DDC=DELA039
 Hsync=30-83
 Vsync=50-76
}

I notice that the values for Vsync differs from the values
in your xorg.conf. 50-76 versus 43-76, so something is wrong.
Look if you can find the correct values in your handbook,
there should be a specs section. If the correct value is
50-76 I suggest you try to rerun sax and manually select
your monitor from inside there.

You didn’t mention how you tried to run sax, try running it
from runlevel 3, at the Grub menu type 3 and hit enter.
You’ll end up at a command prompt, logg in as root ther
and give the following command:

sax2 -r -m 0=fglrx (that’s a zero before the equal sign)

Hopefully sax will startup and end up with a suggestion,
select the change button and use the monitor select button
and select the correct monitor from there.

If all this works I’m a little curios about what resolution
you really get in XP, can you get 1920x1080. The safest reading
would be to use the menu button on the front of the monitor,
I assume it has one, and scroll down to see the resolution.
Is it the same as the resolution that XP reports?

Well you have two ‘Monitor’ and two ‘Screen’ sections defined. This may be the cause of your probem. The /etc/X11/xorg.conf file can be hand-edited, but first try hank_se’s advice. Enter runlevel 3 (you can do this by init 3 command from desktop console as root).

Then run

sax2 -r -m 0=fglrx

When done, do

init 5

to return to desktop.

I’m not so sure you’re the one who messed it up. First, it’s
not a 1920x1280 monitor, it’s a 1920x1080 one

Sorry, thats right, I tried 1920x1080. This isn’t my computer so I couldn’t remember offhand.

I notice that the values for Vsync differs from the values
in your xorg.conf. 50-76 versus 43-76, so something is wrong.
Look if you can find the correct values in your handbook,
there should be a specs section. If the correct value is
50-76 I suggest you try to rerun sax and manually select
your monitor from inside there.

I was fiddling around with these from a specs page I found on the internet thinking this was the reason. I’ll change it back and make sure the default monitor stuff is loaded. I never directly touched this file, only sax2. Now I can’t change anything in sax2. :frowning:

You didn’t mention how you tried to run sax, try running it
from runlevel 3, at the Grub menu type 3 and hit enter.
You’ll end up at a command prompt, logg in as root ther
and give the following command:

sax2 -r -m 0=fglrx (that’s a zero before the equal sign)

I believe at one point I did try that (running sax from init 3). I will have to try this again to make sure I tried this. But I have doubts that it will want to make any xorg.conf mods when it already doesn’t like it.

Yea that didn’t look right to me, but I don’t have any knowledge of the formatting for this file, thats not my job, its sax’s :slight_smile:

I can’t see why there should be more than one device section, but isn’t two monitors ok if its a dual head? Secondly, if running sax2 from init 3 like you said does not work, what should I do, manually?

As long as theres a serverlayout section 2 screen sections
shouldn’t be a problem, but anyway give it a try with a new
clean xorg.conf. Copy /etc/X11/xorg.conf to your home directory,
then put a file with just one line like this:

-----

as /etc/X11/xorg.conf

cd to /etc/X11 and issue the following command:

aticonfig --initial

then type init 3

log in as root run the following:

sax2 -r -m 0=fglrx

select the ok button and then type init 5.

thanks! Next time I get around to it I will let you know what happened.

Just an update:

I am working on another computer that was similar, and wanted to see if the results would be the same. The EXACT same thing happened. Its for a radeon HD 3450 on this one.

I followed the advice above… sax2 -r -m 0=fglrx in init3. It showed up fine, however after testing the results of a resolution change it came to a black screen and I had to restart. Once restarted I noticed it was running the driver with fglrxinfo.

I still had the “cannot deactivate all displays”, “at least one display must be active”. After searching around there was a page I saw that said when you get this, you should be using the ATI config to set up your displays. When I used this it allowed me to change resolution with no warnings or errors. Also DVI now works!

I used ‘amdcccle’ to do the resolution after this point.

Looks like everything is solved on this test computer. I will do the same on the computer originally with the problems soon.