Hallo to everyone. And sorry for my poor English...
have two problem:
I can’t understand…
I would use 720x576Noscale but every time X on TV CRT Sony start with 1024x768 I don’t know how it can do that!!!
this is part of my xorg.cong
Code:
Section "Monitor"
Identifier "MonitorTv"
VendorName ""
ModelName "TV-PAL"
HorizSync 24.0 - 80.0
VertRefresh 50.0 - 75.0
Option "nodpms"
Option "noddc"
# Set for 4:3 display
# DisplaySize 300 225
# Set for 16:9 display
DisplaySize 400 225
#Refresh Rate 60Hz
ModeLine "720x480" 26.7 720 736 808 896 480 481 484 497
ModeLine "720x576" 32.7 720 744 816 912 576 577 580 597
ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497
ModeLine "856x480" 31.7 856 872 960 1064 480 481 484 497
ModeLine "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531
ModeLine "1280x768" 80.1 1280 1344 1480 1680 768 769 772 795
ModeLine "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087
EndSection
Section "Device"
Identifier "VideocardViaTv"
Driver "via"
VendorName "Via"
BoardName "cle266"
Option "PciRetry" "true"
Option "TVType" "PAL"
Option "TVOutput" "S-Video"
Option "EnableAGPDMA" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "VideocardViaTv"
Monitor "MonitorTv"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "720x576Noscale"
EndSubSection
SubSection "Display"
Depth 16
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
Modes "720x576"
Modes "720x576Noscale"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
And this is part of xserver.log
Code:
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) VIA(0): VIASave
(II) VIA(0): Primary
(II) VIA(0): TVSave...
(II) VIA(0): VT162xSave
(II) VIA(0): VIAWriteMode
(II) VIA(0): ViaModePrimary
(II) VIA(0): ViaModePrimaryVGA
(II) VIA(0): ViaModePrimaryVGA: Setting up 1024x768Over
(II) VIA(0): CrtcHTotal: 0x4B0
(II) VIA(0): CrtcHDisplay: 0x400
(II) VIA(0): CrtcHBlankStart: 0x400
(II) VIA(0): CrtcHBlankEnd: 0x4B0
(II) VIA(0): CrtcHSyncStart: 0x410
(II) VIA(0): CrtcHSyncEnd: 0x458
(II) VIA(0): CrtcVTotal: 0x348
(II) VIA(0): CrtcVDisplay: 0x300
(II) VIA(0): CrtcVSyncStart: 0x304
(II) VIA(0): CrtcVSyncEnd: 0x308
(II) VIA(0): CrtcVBlankStart: 0x300
(II) VIA(0): CrtcVBlankEnd: 0x348
(II) VIA(0): Offset: 0x200
(II) VIA(0): Fetch Count: 0x200
(II) VIA(0): ViaComputeDotClock 50400 : 0000 : c471
(II) VIA(0): ViaSetPrimaryDotclock to 0x00471c
(II) VIA(0): ViaSetUseExternalClock
(II) VIA(0): VT1622ModeI2C
(II) VIA(0): VT1622ModeIndex
(WW) VIA(0): width=640:1024, height=480:768, std=1:1, name=640x480:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=2:1, name=640x480:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=1:1, name=800x600:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=2:1, name=800x600:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=1:1, name=1024x768:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=2:1, name=1024x768:1024x768Over.
(WW) VIA(0): width=848:1024, height=480:768, std=1:1, name=848x480:1024x768Over.
(WW) VIA(0): width=848:1024, height=480:768, std=2:1, name=848x480:1024x768Over.
(WW) VIA(0): width=720:1024, height=480:768, std=1:1, name=720x480:1024x768Over.
(WW) VIA(0): width=720:1024, height=576:768, std=2:1, name=720x576:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=1:1, name=640x480Over:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=2:1, name=640x480Over:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=1:1, name=800x600Over:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=2:1, name=800x600Over:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=1:1, name=1024x768Over:1024x768Over.
(II) VIA(0): VT1622ModeCrtc
(II) VIA(0): VT1622ModeIndex
(WW) VIA(0): width=640:1024, height=480:768, std=1:1, name=640x480:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=2:1, name=640x480:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=1:1, name=800x600:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=2:1, name=800x600:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=1:1, name=1024x768:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=2:1, name=1024x768:1024x768Over.
(WW) VIA(0): width=848:1024, height=480:768, std=1:1, name=848x480:1024x768Over.
(WW) VIA(0): width=848:1024, height=480:768, std=2:1, name=848x480:1024x768Over.
(WW) VIA(0): width=720:1024, height=480:768, std=1:1, name=720x480:1024x768Over.
(WW) VIA(0): width=720:1024, height=576:768, std=2:1, name=720x576:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=1:1, name=640x480Over:1024x768Over.
(WW) VIA(0): width=640:1024, height=480:768, std=2:1, name=640x480Over:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=1:1, name=800x600Over:1024x768Over.
(WW) VIA(0): width=800:1024, height=600:768, std=2:1, name=800x600Over:1024x768Over.
(WW) VIA(0): width=1024:1024, height=768:768, std=1:1, name=1024x768Over:1024x768Over.
(II) VIA(0): ViaSetPrimaryFIFO
(II) VIA(0): ViaSetPrimaryExpireNumber
(II) VIA(0): ViaSetPrimaryDotclock to 0x00471c
(II) VIA(0): VIAAdjustFrame
(II) VIA(0): VIAAdjustFrame
(II) VIA(0): - Blanked
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) VIA(0): [drm] DRM interface version 1.2
(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
(II) VIA(0): [drm] added 8192 byte SAREA at 0xf90ae000
(II) VIA(0): [drm] mapped SAREA 0xf90ae000 to 0xb3a93000
(II) VIA(0): [drm] framebuffer handle = 0xd0000000
(II) VIA(0): [drm] added 1 reserved context for kernel
(II) VIA(0): [dri] visual configs initialized.
(II) VIA(0): [drm] register handle = 0xd4000000
(II) VIA(0): [drm] framebuffer handle = 0xd0000000
(II) VIA(0): [drm] mmio Registers = 0xd4000000
(II) VIA(0): [dri] mmio mapped.
(II) VIA(0): - Visuals set up
(II) VIA(0): VIAInternalScreenInit
(II) VIA(0): - B & W
(II) VIA(0): Using 2304 lines for offscreen memory.
(II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
8x8 color pattern filled rectangles
Solid Lines
Dashed Lines
Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
31 128x128 slots
12 256x256 slots
4 512x512 slots
32 8x8 color pattern slots
(==) VIA(0): Backing store disabled
(II) VIA(0): - Backing store set up
(II) VIA(0): - SW cursor set up
(II) VIA(0): VIAHWCursorInit
(II) VIA(0): - Def Color map set up
(II) VIA(0): VIALoadPalette
(II) VIA(0): - Palette loaded
(II) VIA(0): - DPMS set up
(II) VIA(0): - Color maps etc. set up
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x3123
(II) VIA(0): [drm] Didn't find any AGP v3 compatible device. Trying AGP 4X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xc0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xc0000000
(II) VIA(0): [drm] agpSize = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] Using 54251488 bytes for DRM memory heap.
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Irq handler installed, using IRQ 11.
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP offset 0x1e00000.
(II) VIA(0): direct rendering enabled
Fulfilled via DRI at 12587008
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed libc YUV420 copy... 8241107. Throughput: 67.2 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 8166407. Throughput: 67.8 MiB/s.
(--) VIA(0): Ditch SSE YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed MMX YUV420 copy... 5426851. Throughput: 102.0 MiB/s.
(--) VIA(0): Timed 3DNow! YUV420 copy... 5412340. Throughput: 102.3 MiB/s.
(--) VIA(0): Ditch MMX2 YUV420 copy... Not supported by CPU.
Freed 12587008 (pool 2)
(--) VIA(0): Using 3DNow! YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(WW) VIA(0): Option "TVVScan" is not used
(WW) VIA(0): Option "nodpms" is not used
(II) VIA(0): - Done
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(WW) AIGLX: 3D driver claims to not support visual 0x22
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(II) AIGLX: Loaded and initialized /usr/lib/dri/unichrome_dri.so
(II) GLX: Initialized DRI GL provider for screen 0
(**) Option "Protocol" "PS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "it"
(**) Keyboard0: XkbLayout: "it"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+it" };
xkb_geometry { include "pc(pc105)" };
(II) Mouse0: ps2EnableDataReporting: succeeded
Problem 2:
Xmame game colour is not correct and all game freezing….
Thx
Mamo74
KnoppMyth R5F1