Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problemi risoluzione X con driver radeon
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sat Apr 28, 2007 7:49 am    Post subject: [RISOLTO] Problemi risoluzione X con driver radeon Reply with quote

Buongiorno :)

Ho un problema molto fastidioso sul mio portatile IBM T30 che sto cercando di risolvere.
Uso sia X (driver radeon) che il framebuffer (FB_RADEON) a una risoluzione di 1024x768.

Tutto funziona quando faccio: boot -> login -> startx

Se dopo aver avviato X, esco dal server grafico, killandolo, torno alla shell e riavvio X, la risoluzione di X passa a 640x480 (almeno cosi' mi sembra di capire) e non c'e' modo di sistemarla a meno di riavviare o ibernare il sistema (uso suspend2.. se eseguo startx nuovamente dopo aver ripristinato il sistema da una sospensione, funziona tutto perfettamente).

Facendo varie prove ho visto che questo non si verifica usando i driver vesa per xorg, ma solo con quelli radeon (che ovviamente ho la necessita' di usare).

Vi posto qualche informazione utile:


.lspci
Code:

00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB (Hub #3) (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
02:00.0 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI1520 PC card Cardbus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)


.versioni installate
Code:

x11-base/xorg-server-1.1.1-r5  USE="dri nptl sdl xorg -3dfx -aiglx -debug -dmx -ipv6 -kdrive -minimal -xprint" INPUT_DEVICES="keyboard mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void -wacom" VIDEO_CARDS="radeon vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -glint -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -nv -nvidia -r128 -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo"

sys-kernel/suspend2-sources-2.6.19-r3  USE="-build -symlink (-ultra1)"


.configurazione di xorg.conf
(ho provato a togliere le varie opzioni nella sezione device ma non cambia nulla)
Code:
[...]
Section "Device"
    Option "HWCursor" "true"
    VideoRam    16384
    # Insert Clocks lines here if appropriate
    Identifier  "ATI Radeon Mobility 7500"
    Driver      "radeon"
    Option      "AGPMode" "4"
    Option      "AGPFastWrite" "true"
    Option      "EnablePageFlip" "true"
    Option      "DDCMode" "true"
    Option      "DynamicClocks" "true"
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Radeon Mobility 7500"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

[...]


.log di xorg
(relativo all'avvio di X a 648x480.. o giu' di li')

http://www.minimalblue.com/tmp/Xorg.0.log

.dmesg
relativo all'avvio di X a 1024x768, sua terminazione e successivo riavvio a 640x480
Code:
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] writeback test succeeded in 1 usecs
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
mtrr: 0xe8000000,0x8000000 overlaps existing 0xe8000000,0x1000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[drm] Setting GART location based on new memory map
[drm] writeback test succeeded in 1 usecs


.configurazione del kernel
Code:
Device Drivers  --->
    Character devices  --->
        <*> /dev/agpgart (AGP Support)
        <*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
        <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
        <*>   ATI Radeon
    Graphics support  --->
        [*] Enable firmware EDID
        <*> Support for frame buffer devices
        <*> ATI Radeon display support
        [*] Backlight & LCD device support  --->
            --- Backlight & LCD device support
            <*>   Lowlevel Backlight controls
            <*>   Lowlevel LCD controls




Scusate per il post lungherrimo, ma ho cercato di essere il piu' preciso possibile!
Ciao ;)

//EDIT
ho fatto un diff fra il log di X (funzionante) e non, vi riporto le parti salienti:
Code:

--- x.log.good  2007-04-28 10:05:27.000000000 +0200
+++ x.log.bad   2007-04-28 09:56:56.000000000 +0200

 (II) RADEON(0): Secondary:
- Monitor   -- NONE
+ Monitor   -- CRT

+(II) RADEON(0): Validating CRTC2 modes for MergedFB ------------
+(II) RADEON(0): CRT2 Monitor: Using default hsync range of 28.00-33.00 kHz
+(II) RADEON(0): CRT2 Monitor: Using default vrefresh range of 43.00-72.00 Hz

+(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
+(II) RADEON(0): Not using mode "1024x768" (no mode of this name)
+(II) RADEON(0): Total of 2 CRTC2 modes found for MergedFB------------
+(II) RADEON(0): Modes for CRT1: ********************

-(==) RADEON(0): DPI set to (75, 75)
+(II) RADEON(0): Modes for CRT2: ********************
+(--) RADEON(0): Virtual size is 640x480 (pitch 640)
+(**) RADEON(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
+(II) RADEON(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
+(**) RADEON(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
+(II) RADEON(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 doublescan -hsync -vsync
+(II) RADEON(0): Generating MergedFB mode list
+(II) RADEON(0): Clone mode, list all common modes
+(II) RADEON(0): Merged "640x480" (640x480) and "640x480" (640x480) to 640x480 (Clone)
+(--) RADEON(0): MergedFB: Virtual width 640
+(--) RADEON(0): MergedFB: Virtual height 480
+(==) RADEON(0): MergedFB: DPI set to (75, 75)

-(II) RADEON(0): Using hardware cursor (scanline 770)
-(II) RADEON(0): Largest offscreen area available: 1024 x 3322
+(II) RADEON(0): Using hardware cursor (scanline 482)
+(II) RADEON(0): Largest offscreen area available: 640 x 6064


8O
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Apr 29, 2007 11:28 pm    Post subject: Reply with quote

Con xorg-7.2 passato in stabile e successivo upgrade, il problema non si e' piu' verificato... mah, misteri della fede :?
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Mon Apr 30, 2007 12:26 pm    Post subject: Reply with quote

Code:
(II) RADEON(0): Not using default mode "1024x768" (bad mode clock/interlace/doublescan)
+(II) RADEON(0): Not using mode "1024x768" (no mode of this name)
+(II) RADEON(0): Total of 2 CRTC2 modes found for MergedFB------------
+(II) RADEON(0): Modes for CRT1: ********************


il driver radeon ignora volutamente la risoluzione 1024x768 rilevata da DDC, probabilmente il server x11 rileva per quella risoluzione frequenze di lavoro che poi risultano incompatibili (bad mode clock) con le frequenze supportate dalla scheda *video*.

/EDIT: maledetta dislessia
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5


Last edited by !equilibrium on Mon Apr 30, 2007 4:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Mon Apr 30, 2007 4:20 pm    Post subject: Reply with quote

!equilibrium wrote:
il driver radeon ignora volutamente la risoluzione 1024x768 rilevata da DDC, probabilmente il server x11 rileva per quella risoluzione frequenze di lavoro che poi risultano incompatibili (bad mode clock) con le frequenze supportate dalla scheda di rete.

8O 8O 8O 8O 8O 8O

Tu lavori troppo... :lol:
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
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