LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Wrong Screen Alignment (https://www.linuxquestions.org/questions/suse-opensuse-60/wrong-screen-alignment-596097/)

sloteel 10-31-2007 09:55 AM

Wrong Screen Alignment
 
Hi, I have a big screen alignment problem. It's no so huge, but it's enogh to hides the scrollbars.
I tryed xvidtune but at boot the problems comes back.
I tryed even with sax2, it was the same.
Then I disabled Apparmor, I looked for every file which include the wrong modeline and than I overwrote it with the right one. The file I changed are the ones with "xorg" in the name, and a "monitors" file I don't remember where it was.
But the screen is still disaligned, although the config files are still set well.
By the way, this is part of the Xorg.0.log:

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0xe9000000: size 64KB
(II) RADEON(0): PCI bus 2 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "GARTSize" "32"
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 0.1.0
ABI class: X.Org Video Driver, version 1.2
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(==) RADEON(0): X server will not keep DPI constant for all screen sizes
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.2
(II) RADEON(0): initializing int10
(II) RADEON(0): Primary V_BIOS segment is: 0xc000
(--) RADEON(0): Chipset: "ATI Radeon 9600 AP (AGP)" (ChipID = 0x4150)
(--) RADEON(0): Linear framebuffer at 0xc0000000
(II) RADEON(0): AGP card detected
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
(II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.27.0
(==) RADEON(0): Page Flipping disabled
(II) RADEON(0): Will try to use DMA for Xv image transfers
(II) RADEON(0): Generation 2 PCI interface, using max accessible memory
(II) RADEON(0): Detected total video RAM=131072K, accessible=262144K (PCI BAR=262144K)
(--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM)
(II) RADEON(0): Color tiling enabled by default
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"(II) Module already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"(II) Module already built-in
(II) RADEON(0): I2C bus "DDC" initialized.
(II) RADEON(0): Legacy BIOS detected
(II) RADEON(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-3
(II) RADEON(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 2, Detected Type: 0
(II) RADEON(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) RADEON(0): I2C device "DDC:ddc2" removed.
(II) RADEON(0): DDC Type: 3, Detected Type: 1
(II) RADEON(0): EDID data from the display on 2nd port -----------------------
(II) RADEON(0): Manufacturer: PHL Model: 818 Serial#: 5773
(II) RADEON(0): Year: 2003 Week: 46
(II) RADEON(0): EDID Version: 1.3
(II) RADEON(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) RADEON(0): Signal levels configurable
(II) RADEON(0): Sync: Separate Composite SyncOnGreenSerration on. V.Sync Pulse req. if CompSync or SyncOnGreen
(II) RADEON(0): Max H-Image Size [cm]: horiz.: 34 vert.: 27
(II) RADEON(0): Gamma: 2.20
(II) RADEON(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) RADEON(0): First detailed timing is preferred mode
(II) RADEON(0): redX: 0.633 redY: 0.336 greenX: 0.300 greenY: 0.586
(II) RADEON(0): blueX: 0.146 blueY: 0.103 whiteX: 0.313 whiteY: 0.329
(II) RADEON(0): Supported VESA Video Modes:
(II) RADEON(0): 720x400@70Hz
(II) RADEON(0): 640x480@60Hz
(II) RADEON(0): 640x480@67Hz
(II) RADEON(0): 640x480@72Hz
(II) RADEON(0): 640x480@75Hz
(II) RADEON(0): 800x600@56Hz
(II) RADEON(0): 800x600@60Hz
(II) RADEON(0): 800x600@72Hz
(II) RADEON(0): 800x600@75Hz
(II) RADEON(0): 832x624@75Hz
(II) RADEON(0): 1024x768@60Hz
(II) RADEON(0): 1024x768@70Hz
(II) RADEON(0): 1024x768@75Hz
(II) RADEON(0): 1280x1024@75Hz
(II) RADEON(0): 1152x870@75Hz
(II) RADEON(0): Manufacturer's mask: 0
(II) RADEON(0): Supported Future Video Modes:
(II) RADEON(0): #0: hsize: 1152 vsize 864 refresh: 70 vid: 19057
(II) RADEON(0): #1: hsize: 1152 vsize 864 refresh: 75 vid: 20337
(II) RADEON(0): #2: hsize: 1280 vsize 960 refresh: 60 vid: 16513
(II) RADEON(0): #3: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 108.0 MHz Image Size: 338 x 270 mm
(II) RADEON(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end 1688 h_border: 0

The right values are: h_sync 1336 h_sync_end 1448.

The xorg.conf:

# /.../
# SaX generated X11 config file
# Created on: 2007-10-31T15:12:16+0100.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
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"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

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

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

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

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

Section "Monitor"
DisplaySize 338 270
HorizSync 30-82
Identifier "Monitor[0]"
ModelName "PHILIPS PHILIPS 170S4"
VendorName "PHL"
VertRefresh 56-76
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x960" 107.32 1280 1360 1496 1712 960 961 964 995
Modeline "1280x960" 88.25 1280 1328 1360 1440 960 963 967 989 +HSync -VSync
Modeline "1152x864" 106.51 1152 1224 1352 1552 864 865 868 903
Modeline "1152x864" 97.69 1152 1224 1344 1536 864 865 868 900
Modeline "1152x864" 90.02 1152 1224 1344 1536 864 865 868 897
Modeline "1152x864" 88.00 1152 1200 1232 1312 864 867 871 895 +HSync -VSync
Modeline "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895
Modeline "1024x768" 83.00 1024 1080 1192 1360 768 769 772 803
Modeline "1024x768" 76.89 1024 1080 1192 1360 768 769 772 800
Modeline "1024x768" 70.50 1024 1072 1104 1184 768 771 775 796 +HSync -VSync
Modeline "1024x768" 70.07 1024 1080 1184 1344 768 769 772 798
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
Modeline "800x600" 50.32 800 840 928 1056 600 601 604 627
Modeline "800x600" 45.93 800 840 920 1040 600 601 604 625
Modeline "800x600" 44.75 800 848 880 960 600 603 607 622 +HSync -VSync
Modeline "800x600" 42.33 800 840 920 1040 600 601 604 623
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622
Modeline "768x576" 46.12 768 808 888 1008 576 577 580 602
Modeline "768x576" 42.06 768 800 880 992 576 577 580 600
Modeline "768x576" 41.50 768 816 848 928 576 579 583 597 +HSync -VSync
Modeline "768x576" 38.82 768 800 880 992 576 577 580 599
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597
Modeline "1280x1024" 108.00 1280 1336 1448 1688 1024 1025 1028 1066
EndSection

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

Section "Device"
BoardName "RV350 AP"
BusID "2:0:0"
Driver "radeon"
Identifier "Device[0]"
Option "GARTSize" "32"
Screen 0
VendorName "ATI"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection

I use Opensuse 10.3 and free drivers, I can't use the propretary ones bacause of black screen at boot.

macemoneta 11-01-2007 09:37 PM

I think you are looking at the wrong end. All of the monitors I've used over the last 10 years or so (various models/manufacturers) have either a one-button auto-tune capability or horizontal/vertical positioning adjustments. Just adjust your monitor.

sloteel 11-02-2007 01:21 PM

Yes, that's the dirty solution I tryed, and it runs well. I set the screen in linux, than I aligned it in windows using the catalyst control center. Now I have erased the fglrx from any linux installation and I'm waiting for a new pc with nvidia or intel.
By the way I think that a tool like xvidtune which sets the results will be very useful.

macemoneta 11-02-2007 02:13 PM

Quote:

Originally Posted by sloteel (Post 2946034)
the dirty solution

Why do you consider configuring your hardware correctly to be a "dirty solution"? What makes you think the Windows driver is setting anything correctly?

delta_9 11-02-2007 08:25 PM

im somehow experiencing the same problem.When i log to linux screen is ok the when i log to windows screen is moved slightly left.I have to press the monitor's auto adjust button.Then to linux again screen is moved slightly to the right press the monitor's button etc...

macemoneta 11-02-2007 08:41 PM

Does your monitor have a "Save" button? Many monitors will save several configurations, then return to the saved state when presented with the known set of horizontal and vertical frequencies. That way, you don't have to keep resetting them.

sloteel 11-03-2007 04:16 AM

macemoneta is right: even xp, without any catalyst driver, set the screen like linux does. The catalyst just have a great autoconf procedure that solve this little issue of the monitor or the graphic card without the user intention.
They also have a great alignment tool; so, why do we have to use the hardware alignment everytime when we could use the catalyst software one only one time in life?
Yes, fglrx does the same and maybe nvidia too but believe me: try the open driver, a bit slower and not-so-good in running aiglx, but the propretary causes many issues even not related to the screen.
If you have Nvidia or intel... sorry for the monologue :p

delta_9 11-11-2007 08:40 AM

Problem solved here after installing the Nvidia drivers from Nvidia repos


All times are GMT -5. The time now is 09:48 PM.