View previous topic :: View next topic |
Author |
Message |
daemonflower Apprentice
Joined: 17 Jul 2004 Posts: 290
|
Posted: Mon Aug 07, 2006 11:05 am Post subject: Screen shifted with ATI drivers |
|
|
After upgrading xorg to 7.1.1, xorg-server 1.1.1, the VESA driver stopped working on my laptop. So I switched to the ATI driver, but they don't work correctly either: My whole screen is displaced, so that the top quarter of the screen displays on the bottom. I noticed that my graphics card, a Rage Mobility P/M, is not listed as supported by the driver.
Of course, I can't really work that way. Does anyone have an idea how to get the screen right, and failing that, to get the VESA driver back to work?
Here the relevant parts of my (xorgcfg-generated) xorg.conf: Code: | Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "accel" # [<bool>]
Option "crt_display" "false" # [<bool>] # i tried changing this option
#Option "composite_sync" "true"
Option "hw_cursor" "false"
#Option "linear" # [<bool>]
#Option "force_pci_mode" # [<bool>]
#Option "dma_mode" # <str>
#Option "agp_mode" # <i>
#Option "agp_size" # <i>
#Option "local_textures" # [<bool>]
#Option "buffer_size" # <i>
#Option "tv_out" # [<bool>]
#Option "tv_standard" # <str>
#Option "mmio_cache" # [<bool>]
#Option "test_mmio_cache" # [<bool>]
#Option "panel_display" # [<bool>]
Option "probe_clocks" "true" # [<bool>]
#Option "reference_clock" # <freq>
#Option "shadow_fb" # [<bool>]
#Option "sw_cursor" # [<bool>]
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "Rage Mobility P/M"
ChipSet "ati"
ChipId 0x4c52
ChipRev 0x64
BusID "PCI:0:20:0"
EndSection | and of Xorg.0.log: Code: | [...]
(II) LoadModule: "ati"
(II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 6.6.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
[...]
(II) ATI: ATI driver (version 6.6.1) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
[... lots of other chipsets...]
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
[...]
(II) Primary Device is: PCI 00:14:0
(II) ATI: Candidate "Device" section "Card0".
(II) ATI: Shared PCI/AGP Mach64 in slot 0:20:0 detected.
(II) ATI: Shared PCI/AGP Mach64 in slot 0:20:0 assigned to active "Device" section "Card0".
[...]
(II) Setting vga for screen 0.
(==) ATI(0): Chipset: "ati".
(==) ATI(0): Depth 16, (==) framebuffer bpp 16
(**) ATI(0): Option "crt_display" "false"
(**) ATI(0): Option "hw_cursor" "false"
(**) ATI(0): Option "probe_clocks" "true"
[...]
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.1.0
ABI class: X.Org Video Driver, version 1.0
(II) ATI(0): VESA BIOS detected
(II) ATI(0): VESA VBE Version 2.0
(II) ATI(0): VESA VBE Total Mem: 4096 kB
(II) ATI(0): VESA VBE OEM: ATI MACH64
(II) ATI(0): VESA VBE OEM Software Rev: 1.0
(II) ATI(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) ATI(0): VESA VBE OEM Product: MACH64RM
(II) ATI(0): VESA VBE OEM Product Rev: 01.00
(II) ATI(0): VESA VBE DDC supported
(II) ATI(0): VESA VBE DDC Level none
(II) ATI(0): VESA VBE DDC transfer in appr. 2 sec.
(II) ATI(0): VESA VBE DDC read failed
(II) ATI(0): BIOS Data: BIOSSize=0x10000, ROMTable=0x010E.
(II) ATI(0): BIOS Data: ClockTable=0x0A58, FrequencyTable=0x0A32.
(II) ATI(0): BIOS Data: LCDTable=0x0190, LCDPanelInfo=0xE854.
(II) ATI(0): BIOS Data: VideoTable=0x0166, HardwareTable=0x016E.
(II) ATI(0): BIOS Data: I2CType=0x03, Tuner=0x00, Decoder=0x00, Audio=0x03.
(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
(--) ATI(0): Chip type 4C52 "LR", version 4, foundry TSMC, class 0, revision 0x01.
(--) ATI(0): PCI bus interface detected; block I/O base is 0x2000.
(--) ATI(0): ATI Mach64 adapter detected.
(!!) ATI(0): For information on using the multimedia capabilities
of this adapter, please see http://gatos.sf.net.
(--) ATI(0): Internal RAMDAC (subtype 1) detected.
(==) ATI(0): RGB weight 565
(==) ATI(0): Default visual is TrueColor
(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) ATI(0): Using Mach64 accelerator CRTC.
(--) ATI(0): 1024x768 panel (ID 5) detected.
(--) ATI(0): Panel model LG 1024x768 TFT.
(--) ATI(0): Panel clock is 65.146 MHz.
(II) ATI(0): Using digital flat panel interface.
(II) ATI(0): Using 8 MB linear aperture at 0xFD000000.
(II) ATI(0): Using Block 0 MMIO aperture at 0xFC000400.
(II) ATI(0): Using Block 1 MMIO aperture at 0xFC000000.
(==) ATI(0): Write-combining range (0xfd000000,0x400000)
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 4096 kB of SGRAM (2:1) 32-bit detected.
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 62.227 MHz; Refresh rate code 1.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 29.500 MHz.
(II) ATI(0): Maximum clock: 230.00 MHz
(II) ATI(0): Not using default mode "1152x864" (exceeds panel dimensions)
[... lots of unused default modes ...]
(II) ATI(0): Not using default mode "1024x768" (exceeds panel dimensions)
(--) ATI(0): Virtual size is 1024x768 (pitch 1024)
(**) ATI(0): *Default mode "1024x768": 94.5 MHz, 68.7 kHz, 85.0 Hz
(II) ATI(0): Modeline "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
(**) ATI(0): *Default mode "1024x768": 78.8 MHz, 60.1 kHz, 75.1 Hz
(II) ATI(0): Modeline "1024x768" 78.80 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
(**) ATI(0): *Default mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(II) ATI(0): Modeline "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
(**) ATI(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(II) ATI(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
(**) ATI(0): *Default mode "1024x768": 44.9 MHz, 35.5 kHz, 86.9 Hz (I)
(II) ATI(0): Modeline "1024x768" 44.90 1024 1032 1208 1264 768 768 776 817 interlace +hsync +vsync
(**) ATI(0): *Built-in mode "Native panel mode": 65.1 MHz, 62.6 kHz, 81.4 Hz
(II) ATI(0): Modeline "Native panel mode" 65.15 1024 1024 1032 1040 768 768 769 770
[... more default modes ...]
(==) ATI(0): DPI set to (75, 75)
[...]
(II) Module i2c: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.2.0
ABI class: X.Org Video Driver, version 1.0
(WW) ATI(0): I2C bus Mach64 initialisation failure.
(II) ATI(0): I2C bus "Mach64" removed.
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xfc000000 - 0xfc000fff (0x1000) MS[B]
[1] 0 0 0xfd000000 - 0xfdffffff (0x1000000) MS[B]
[2] -1 0 0x00100000 - 0x21ffffff (0x21f00000) MX[B]E(B)
[3] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[4] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[5] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[6] -1 0 0x22000000 - 0x2200ffff (0x10000) MX[B]
[7] -1 0 0xfc000000 - 0xfc000fff (0x1000) MX[B](B)
[8] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[9] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
[10] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
[11] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
[12] 0 0 0x00002000 - 0x000020ff (0x100) IS[B]
[13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0 0x00001460 - 0x0000147f (0x20) IX[B]
[16] -1 0 0x00001440 - 0x0000144f (0x10) IX[B]
[17] -1 0 0x00001480 - 0x000014ff (0x80) IX[B]
[18] -1 0 0x00001800 - 0x000018ff (0x100) IX[B]
[19] -1 0 0x00001400 - 0x0000143f (0x40) IX[B]
[20] -1 0 0x00001000 - 0x000010ff (0x100) IX[B]
[21] -1 0 0x00002000 - 0x000020ff (0x100) IX[B](B)
[22] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[23] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) ATI(0): Write-combining range (0xfd000000,0x400000)
(WW) ATI(0): DRI static buffer allocation failed -- need at least 4608 kB video memory
(II) ATI(0): Largest offscreen areas (with overlaps):
(II) ATI(0): 1024 x 1280 rectangle at 0,768
(II) ATI(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
12 256x256 slots
(==) ATI(0): Backing store disabled
(II) ATI(0): Direct rendering disabled
(==) RandR enabled
[...] |
Thanks,
Helge |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Mon Aug 07, 2006 6:18 pm Post subject: |
|
|
Could you please post the screen and driver section, too. |
|
Back to top |
|
|
daemonflower Apprentice
Joined: 17 Jul 2004 Posts: 290
|
Posted: Tue Aug 08, 2006 11:21 am Post subject: |
|
|
Sure, but it's not very interesting: Code: | Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection | No Driver section. |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Wed Aug 09, 2006 12:57 pm Post subject: |
|
|
Add
and update the last subsection to
Code: |
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
|
Do you see any difference? |
|
Back to top |
|
|
daemonflower Apprentice
Joined: 17 Jul 2004 Posts: 290
|
Posted: Wed Aug 09, 2006 1:43 pm Post subject: |
|
|
Well yes: the top few scanlines of the screen (which are displayed in the lower quarter now) have begun flickering.
Apart from that, nothing. |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Wed Aug 09, 2006 2:17 pm Post subject: |
|
|
Perhaps adding
Code: | Option "DPMS" "true" |
to your Monitor section makes a difference. If not, I haven't any clue what problem it could be. |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Wed Aug 09, 2006 2:22 pm Post subject: |
|
|
I'ld suggest:
Code: | VIDEO_CARDS="ati" #in make.conf of course
emerge -uDvN xorg-x11 |
and then xorg.conf can setup a device with Code: | Section Device
...
Driver "ati"
...
EndSection |
IMHO _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
daemonflower Apprentice
Joined: 17 Jul 2004 Posts: 290
|
Posted: Wed Aug 09, 2006 3:47 pm Post subject: |
|
|
Portage does not know an "ati" VIDEO_CARDS-FLAG. Code: | # VIDEO_CARDS="ati -radeon" emerge -pvuND world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/gpm-1.20.1-r5 0 kB
[ebuild R ] sys-libs/db-4.3.29-r2 USE="-bootstrap -doc -java -nocxx -tcl%" 0 kB
[ebuild R ] app-shells/bash-3.1_p17 USE="nls -afs -bashlogger" 0 kB
[ebuild R ] app-admin/eselect-1.0.2 USE="bash-completion* -doc" 0 kB
[ebuild R ] sys-kernel/linux-headers-2.6.11-r5 USE="-gcc64%" 0 kB
[ebuild R ] sys-devel/gcc-3.3.6-r1 USE="gtk nls -bootstrap -boundschecking -build -doc -fortran -gcj -hardened -ip28 -ip32r10k -multislot -nocxx -nopie -nossp -objc -test% -vanilla" 0 kB
[ebuild R ] media-libs/mesa-6.5-r4 USE="motif nptl -debug -doc -hardened" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon* -s3virge -savage -sis -tdfx -trident -via" 0 kB
[ebuild R ] x11-base/xorg-server-1.1.1 USE="dri ipv6 nptl sdl xorg -3dfx -debug -dmx -kdrive -minimal -xprint" INPUT_DEVICES="evdev keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="-apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev* -fglrx% -glint -i128 -i740 -i810 -imstt -mach64 -mga -neomagic -nsc -nv -r128 -radeon* -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vesa* -vga -via -vmware -voodoo" 0 kB
[ebuild N ] x11-drivers/xf86-video-ark-0.6.0 USE="-debug" 225 kB
[ebuild N ] x11-drivers/xf86-video-tseng-1.1.0 USE="-debug" 261 kB
[ebuild N ] x11-drivers/xf86-video-v4l-0.1.1 USE="-debug" 229 kB
[ebuild N ] x11-drivers/xf86-video-s3virge-1.9.1 USE="-debug" 273 kB
[ebuild N ] x11-drivers/xf86-video-vmware-10.13.0 USE="-debug" 253 kB
[ebuild N ] x11-drivers/xf86-video-nv-1.2.0 USE="-debug" 279 kB
[ebuild N ] x11-drivers/xf86-video-neomagic-1.1.1 USE="-debug" 257 kB
[ebuild N ] x11-drivers/xf86-video-i740-1.1.0 USE="-debug" 252 kB
[ebuild N ] x11-drivers/xf86-video-i128-1.2.0 USE="-debug" 257 kB
[ebuild N ] x11-drivers/xf86-video-siliconmotion-1.4.1 USE="-debug" 264 kB
[ebuild N ] x11-drivers/xf86-video-dummy-0.2.0 USE="-debug" 223 kB
[ebuild N ] x11-drivers/xf86-video-voodoo-1.1.0 USE="-debug" 238 kB
[ebuild N ] x11-drivers/xf86-video-apm-1.1.1 USE="-debug" 261 kB
[ebuild N ] x11-libs/libXvMC-1.0.2 USE="-debug" 224 kB
[ebuild N ] x11-drivers/xf86-video-i810-1.6.1 USE="dri -debug" 401 kB
[ebuild N ] x11-drivers/xf86-video-trident-1.2.1 USE="-debug" 259 kB
[ebuild N ] x11-drivers/xf86-video-cirrus-1.1.0 USE="-debug" 257 kB
[ebuild N ] x11-drivers/xf86-video-mga-1.4.1 USE="dri -debug" 359 kB
[ebuild N ] x11-drivers/xf86-video-sisusb-0.8.1 USE="-debug" 282 kB
[ebuild N ] x11-drivers/xf86-video-savage-2.1.1 USE="dri -debug" 281 kB
[ebuild N ] x11-drivers/xf86-video-chips-1.1.1 USE="-debug" 316 kB
[ebuild N ] x11-drivers/xf86-video-via-0.2.1-r1 USE="dri -debug" 377 kB
[ebuild N ] x11-drivers/xf86-video-nsc-2.8.1 USE="-debug" 481 kB
[ebuild N ] x11-drivers/xf86-video-rendition-4.1.0 USE="-debug" 281 kB
[ebuild N ] x11-drivers/xf86-video-glint-1.1.1 USE="dri -debug" 339 kB
[ebuild N ] x11-drivers/xf86-video-tga-1.1.0 USE="-debug" 254 kB
[ebuild N ] x11-drivers/xf86-video-s3-0.4.1 USE="-debug" 247 kB
[ebuild N ] x11-drivers/xf86-video-cyrix-1.1.0 USE="-debug" 243 kB
[ebuild N ] x11-drivers/xf86-video-tdfx-1.2.1-r1 USE="dri -debug" 263 kB
[ebuild N ] x11-drivers/xf86-video-sis-0.9.1-r1 USE="dri -debug" 601 kB
[ebuild N ] x11-drivers/xf86-video-imstt-1.1.0 USE="-debug" 228 kB
Total size of downloads: 8,982 kB | The line is already in my xorg.conf. |
|
Back to top |
|
|
uweklosa Tux's lil' helper
Joined: 18 Feb 2005 Posts: 105
|
Posted: Wed Aug 09, 2006 7:16 pm Post subject: |
|
|
After reading the last post I think I know what's wrong
Use
This should do the trick.
There used to be a VIDEO_CARDS="ati" and a VIDEO_CARDS="fglrx". But they were removed with the latest version of xorg-x11. |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Wed Aug 09, 2006 11:12 pm Post subject: |
|
|
Yeah, you have tu see in xorf.conf
Section Screen
Identifier "Screen 1"
Device "Card0"
...
Than in the:
Section Device
Identifier "Card0" # The same!!!
Driver XXX
you have to set XXX with the driver you want
fglrx if you have autoloaded in kernel or ati if it was in another Device since now
Alternately, If you have another Section Device you can change Device identifier in Screen with the one you want to use.
I know VIDEO_CARDS has only one flags for ATI now, but 2 drivers are compiled as modules in X:
radeon and ati, so I supposed it was ati, but radeon its right;) _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Thu Aug 10, 2006 2:01 am Post subject: |
|
|
Just out of curiousity, had you ever installed other versions of fglrx before installing 8.27? The reason I ask is some scren configuration file needs to be updated after the install of 8.27, I ran etc-update, then allowed the new version to overwrite the old. Don't know if this helps.
Also, I saw mention of VIDEO_CARDS, here is what I have for my x600:
$ grep VIDEO /etc/make.conf
VIDEO_CARDS="fglrx radeon" _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
daemonflower Apprentice
Joined: 17 Jul 2004 Posts: 290
|
Posted: Thu Aug 10, 2006 12:50 pm Post subject: |
|
|
Yes, I had fgrx installed before. It seems it is disabled now by default, whereas before it was enabled...?
I'll try adding fglrx to my VIDEO_CARDS and reemerging. Seems this will take a while. |
|
Back to top |
|
|
LAj Apprentice
Joined: 22 May 2004 Posts: 294 Location: Avellino[Italy]
|
Posted: Fri Aug 11, 2006 11:35 am Post subject: |
|
|
Then, is your Card0 - Section Device - ok?
You don't aknowledge my previous message:-) _________________ They produce notes of any size as their own properties askng interests also.This is seignorage and goes to privates banks(FED, BCE).You don't have to pay to use $$,you can simply use your notes recovering monetary sovereignty.Public debt is not right! |
|
Back to top |
|
|
KWhat l33t
Joined: 04 Sep 2005 Posts: 658 Location: Los Angeles
|
Posted: Fri Aug 11, 2006 4:03 pm Post subject: |
|
|
normally when you have a screen shift its a problem with the vert/horz freq. make sure your in the range of your monitor. It would also explain the flicker. I dont know about the ati cards but i think nvidia had an override i hade to use because it was hyjacking the settings i setup in my monitor settings in xorg conf. |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Fri Aug 11, 2006 7:05 pm Post subject: |
|
|
ATi takes it straight from the xorg.conf as far as my experience goes. _________________ I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|