View previous topic :: View next topic |
Author |
Message |
ironiq n00b
Joined: 21 Jun 2006 Posts: 4
|
Posted: Wed Jun 21, 2006 1:37 pm Post subject: Ultra5 and Xorg 6.8.2 problem |
|
|
Hi all!
I have problem with Xorg 6.8.2 on an Ultra5 400MHz. The card is the well-known ati mach64, the monitor is a 21" sun.
If i test X with "X -config /root/xorg.conf.new", the mode goes back to 640x480. The console works at 1280x1024 resolution and i wanted to use quiet the same (16 or 24bit depth). What's the problem? How can i use 1280x1024 or 1024x768 resolution?
Xorg version: x11-base/xorg-x11-6.8.2-r7
Xorg.conf:
------------
# cat ~/xorg.conf.new
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
ModulePath "/usr/lib/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbKeycodes" "sun(type5)"
Option "XkbModel" "type5"
Option "XkbRules" "sun"
Option "XkbLayout" "en_US"
Option "XkbTypes" "types/complete"
Option "XkbCompat" "compat/complete"
Option "XkbGeometry" "sun(type5unix)"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "MouseSystems"
Option "Device" "/dev/sunmouse"
EndSection
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" # [<bool>]
#Option "composite_sync" # [<bool>]
#Option "hw_cursor" # [<bool>]
#Option "mmio_cache" # [<bool>]
#Option "test_mmio_cache" # [<bool>]
#Option "panel_display" # [<bool>]
#Option "probe_clocks" # [<bool>]
#Option "reference_clock" # <freq>
#Option "shadow_fb" # [<bool>]
#Option "sw_cursor" # [<bool>]
Identifier "Card0"
Driver "ati"
VendorName "ATI"
BoardName "3D Rage Pro 215GP"
Option "UseFBDev" "true"
BusID "PCI:1:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
The emerge --info output:
------------------------------
# emerge --info
Portage 2.0.54 (default-linux/sparc/sparc64/2006.0/2.4, gcc-3.4.5, glibc-2.3.5-r3, 2.4.32-sparc-r4 sparc64)
=================================================================
System uname: 2.4.32-sparc-r4 sparc64 sun4u
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/ "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 arts avi berkdb bitmap-fonts bzip2 cli crypt cups dba dlloader dri eds encode esd expat fbcon foomaticdb fortran gcc64 gd gdbm gif gnome gstreamer gtk gtk2 imlib isdnlog jpeg kde libwww mad mikmod motif mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png pppd python qt readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Jun 21, 2006 4:46 pm Post subject: |
|
|
In the "Screen" section, you'll need to define the modes you want. I have an old Ultra 5 X config that you can reference here. Keep in mind some of the areas in this config outside of "Screen" section may be out of date, as its been a few years since I had an Ultra 5 with X running on it. |
|
Back to top |
|
|
ironiq n00b
Joined: 21 Jun 2006 Posts: 4
|
Posted: Wed Jun 21, 2006 5:03 pm Post subject: |
|
|
Weeve wrote: | In the "Screen" section, you'll need to define the modes you want. I have an old Ultra 5 X config that you can reference here. Keep in mind some of the areas in this config outside of "Screen" section may be out of date, as its been a few years since I had an Ultra 5 with X running on it. |
I tried it, but did not work. I forgot to add the part of the logfile, but as i can remember the proble was out of sync or so (currently i'm at home, i'll post the part of the log tomorrow). |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Wed Jun 21, 2006 9:07 pm Post subject: |
|
|
adding this might help... it helped me in a problem not exactly like this, but kinda related
Code: | Section "DRI"
Group 0
Mode 0666
EndSection
|
_________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
ironiq n00b
Joined: 21 Jun 2006 Posts: 4
|
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Fri Jun 23, 2006 11:54 am Post subject: |
|
|
The Log is normal, but it's setting the monitor to a pretty weird mode, and I guess that is what your question is about. Unfortunately, I don't have any mach64 systems, but they are pretty common. If you can, you might join the IRC freenote #gentoo-sparc channel and ask for how other people use sun monitors with mach64. |
|
Back to top |
|
|
ironiq n00b
Joined: 21 Jun 2006 Posts: 4
|
Posted: Fri Jun 23, 2006 12:53 pm Post subject: |
|
|
Finally it's working. Just for the archive:
The problem was that Xorg recognized the monitor refresh rates wrong and could only handle the standard VGA resolution. After adding the correct refresh rates to xorg.conf everything gone well.
Thanks for the help. |
|
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
|
|