Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg, creator and widescreen?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Alaric
n00b
n00b


Joined: 19 Jan 2005
Posts: 17
Location: Houston Tx

PostPosted: Sun Feb 10, 2008 4:47 am    Post subject: xorg, creator and widescreen? Reply with quote

Hey all-

Just wondering if the creator can handle a widescreen display. I have tried to set a resolution at 1680x1050 but its constantly dropped to 1280x1024 (stretched). Ive even set the depth level down to 8 bit with no luck. Maybe the creators cant push that resolution? Xorg.0.log isn't throwing out any errors that I can see. Below is my xorg.conf and I can put up a copy of the log if needed.

Code:


Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/aquafont/"
        FontPath     "/usr/share/aquapfont/"
        FontPath     "/usr/share/artwiz/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "dri"
        Load  "glx"
        Load  "freetype"
        Load  "type1"
        Load  "bitmap"
        Load  "drm"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "type5"
        Option      "XkbRules" "xorg"
        Option      "XkbLayout" "us"
        Option      "XkbGeometry" "sun(type5)"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        Identifier  "Card0"
        Driver      "sunffb"
        BusID       "SBUS:/SUNW,afb@1e,0"
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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        Identifier  "Card1"
        Driver      "sunffb"
        BusID       "SBUS:/SUNW,afb@1d,0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     24
                Modes   "1680x1050" "1600x900" "1440x900" "1280x1024"
                ViewPort 0 0
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Depth     24
                Modes   "1680x1050" "1600x900" "1440x900" "1280x1024"
                ViewPort 0 0
        EndSubSection
EndSection

Section "DRI"
        Group   "video"
        Mode    0666
EndSection



**EDIT** for some reason I cant get xdpyinfo to display the info on screen 0 correctly, unless im using it wrong which is most likely the case.
_________________
SPARC Ultra 80, 4x 440mhz, 4 gigs ram, 2x Creator 3D video card, 36 gig SCSI, SCSI CDROM, running Gentoo 2.6.21.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Feb 10, 2008 5:20 am    Post subject: Reply with quote

I think that you need to add a modeline.
Back to top
View user's profile Send private message
gtbX
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2003
Posts: 126

PostPosted: Fri Feb 15, 2008 5:08 am    Post subject: Reply with quote

AFAIK, Creators are fixed at 1280x1024. Maybe someone else can confirm this?
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Fri Feb 15, 2008 12:34 pm    Post subject: Reply with quote

First, Creator driver (sunffb) ignores mode lines.

Next, no, creator is not fixed. You can set it to several different resolutions from OBP, assuming it can't figure out from your monitor what is best. It supports about 24 different resolutions, and so I'm not going to list them here, although the highest it supports seems to be 1920x1200@70HZ. They are all listed in the Sun frame buffer handbook, available for free download here: http://onesearch.sun.com/search/docs/index.jsp?col=docs_en&locale=en&qt=Handbook+for+Sun+Frame+Buffers (just download the first one, http://dlc.sun.com/pdf/817-0438/817-0438.pdf ).

I can never remember the exact OBP (open boot prom) command to change the resolution. I *think* it is something like
Code:

setenv output screen:r1280x1024x67

for example. Someone here will know exactly, or ask on IRC freenode #gentoo-sparc channel, or check the open boot manual.

Hope this is of some use,
Regards,
Back to top
View user's profile Send private message
Alaric
n00b
n00b


Joined: 19 Jan 2005
Posts: 17
Location: Houston Tx

PostPosted: Wed Apr 02, 2008 7:42 pm    Post subject: Reply with quote

Sorry for the late replay.

Thanks Ferris for the info, it got me pointed in the right direction. I found:

http://www.sunshack.org/data/fbfaq/FrameBuffer.html#0c

which has been quite helpful. Right now im going to pull my cards out and double check the part numbers to see which Creators I actually have. I haven't yet been able to get the settings to stick in OBP, and while it looks ok from the console, I can't get my FVWM to run anything more than 1280x1024.

Anyway, barring that, ill just go back to my twin samsung's. They worked fine, i was just hoping to get a bit more real estate out of the setup.

If anyone else wants to interject, feel free. Once I have a solution (or verify the part numbers), ill mark the thread resolved. Until then, if no one minds, im going to leave it open.

Thanks!
_________________
SPARC Ultra 80, 4x 440mhz, 4 gigs ram, 2x Creator 3D video card, 36 gig SCSI, SCSI CDROM, running Gentoo 2.6.21.
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Thu Apr 24, 2008 8:55 pm    Post subject: Reply with quote

Alaric wrote:
Right now im going to pull my cards out and double check the part numbers to see which Creators I actually have.


Actually if all you want is the part number, you might get away with reading it from openboot:
Code:
cat /proc/openprom/upa@8,480000/SUNW,afb@0,0/name
(Yours will likely vary, but the 'upa' is the important part)
For example, here that gives SUNW,540-3623 which is an Elite3D.

You can also see what resolution and refresh the card is set to by reading from the height, width and v_freq files.
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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