Re: X default screen resolution on sparc64

2010-07-28 Thread Pete Vickers
On 27. juli 2010, at 15.09, Pete Vickers wrote:

 Hi,

 From dmesg, the graphics card in my Sun blade100 is:

 machfb0 at pci0 dev 19 function 0 ATI Rage XL rev 0x27
 machfb0: ATY,RageXL, 1280x1024

 which is connected via DVI cable to a Sun monitor #365-1429. This monitor
 supports 1280x1...@60hz. However starting X without a config file only run
it
 at 800x600. These line appears relevant in the Xorg log file:


 (II) MACH64(0): default monitor: Using default hsync range of 31.50-37.90
 kHz
 (II) MACH64(0): default monitor: Using default vrefresh range of
50.00-70.00
 Hz
 ...
 (II) MACH64(0): Not using default mode 1280x1024 (hsync out of range)


 I thought that one of the big advantages of DVI was that the card could
query
 the monitor to discover the supported modes automatically ? Is there any
 commands I can use to enable such probing ? or do I can to create an entire
 cfg file to manually enable a higher resolution ? Is there any way to
 automatically generate a basic config file to subsequently edit ?



To answer my own question for the sake of the archive, you can ofcourse just
write a partial /etc/X11/xorg.conf, and let the defaults provide the rest.
This was all that was necessary for me:


Section Device
 Identifier  ATI Rage XL
 Driver  ati
 BusID   PCI:0:19:0
 Option  composite_sync True
 Option  reference_clock 29.5MHz
EndSection

Section Monitor
 Identifier Sun L9ZF
 # 31.5 kHz to 81.1 kHz Horizantal
 # 56.0 Hz to 76.0 Hz Vertical
 HorizSync 32-81
 VertRefresh 56-76
EndSection

Section Screen
 Identifier Default Screen
 Device ATI Rage XL
 Monitor Sun L9ZF
 DefaultDepth 16
  SubSection Display
  Depth 16
  Modes 1280x1024
  EndSubSection
EndSection
===



Re: X default screen resolution on sparc64

2010-07-28 Thread Christian Weisgerber
Pete Vickers p...@systemnet.no wrote:

 From dmesg, the graphics card in my Sun blade100 is:
 
 machfb0 at pci0 dev 19 function 0 ATI Rage XL rev 0x27
 machfb0: ATY,RageXL, 1280x1024
 
 which is connected via DVI cable to a Sun monitor #365-1429.

DVI?  On a Blade 100?

 I thought that one of the big advantages of DVI was that the card could query
 the monitor to discover the supported modes automatically ?

DDC was already available on VGA connectors.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



X default screen resolution on sparc64

2010-07-27 Thread Pete Vickers
Hi,

From dmesg, the graphics card in my Sun blade100 is:

machfb0 at pci0 dev 19 function 0 ATI Rage XL rev 0x27
machfb0: ATY,RageXL, 1280x1024

which is connected via DVI cable to a Sun monitor #365-1429. This monitor
supports 1280x1...@60hz. However starting X without a config file only run it
at 800x600. These line appears relevant in the Xorg log file:


(II) MACH64(0): default monitor: Using default hsync range of 31.50-37.90
kHz
(II) MACH64(0): default monitor: Using default vrefresh range of 50.00-70.00
Hz
...
(II) MACH64(0): Not using default mode 1280x1024 (hsync out of range)


I thought that one of the big advantages of DVI was that the card could query
the monitor to discover the supported modes automatically ? Is there any
commands I can use to enable such probing ? or do I can to create an entire
cfg file to manually enable a higher resolution ? Is there any way to
automatically generate a basic config file to subsequently edit ?


thanks,



/Pete



Xorg.log  dmesg follow:



r...@blade100 ~ cat /var/log/Xorg.0.log
(--) Using wscons driver

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.7 sparc64
Current Operating System: OpenBSD blade100.my.domain 4.7 GENERIC#258 sparc64
Build Date: 15 March 2010  06:22:14PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Tue Jul 27 14:37:09 2010
(II) Loader magic: 0x1b20
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on openbsd
(--) PCI: (0:0:3:0) 10b9:7101:: Acer Labs M7101 Power rev 0
(--) PCI:*(0:0:19:0) 1002:4752:: ATI Rage XL rev 39, Mem @
0x0400/16777216, 0x00426000/4096, I/O @ 0x0b00/256, BIOS @
0x/131072
(==) Using default built-in configuration (12 lines)
(==) --- Start of built-in configuration ---
Section Device
Identifier  Builtin Default ati Device 0
Driver  ati
EndSection
Section Screen
Identifier  Builtin Default ati Screen 0
Device  Builtin Default ati Device 0
EndSection
Section ServerLayout
Identifier  Builtin Default Layout
Screen  Builtin Default ati Screen 0
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout Builtin Default Layout
(**) |--Screen Builtin Default ati Screen 0 (0)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default ati Device 0
(==) No monitor specified for screen Builtin Default ati Screen 0.
Using a default monitor configuration.
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
(==) ModulePath set to /usr/X11R6/lib/modules
(==) |--Input Device default pointer
(==) |--Input Device default keyboard
(==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
(II) System resource ranges:
(II) LoadModule: extmod
(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.6.5, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.6.5, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: dri
(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor=X.Org Foundation