Solaris widescreen/fullscreen resolution MBP/iMac

Discussion in 'Other Virtual machines' started by catmistake, Jun 5, 2007.

  1. catmistake

    catmistake Member

    Messages:
    27
    I've searched around the forums, been mucking about in /etc/X11/.xorg.conf ... no satisfaction.

    When I first installed, I got 4 resolutions, 1600x1200, 1024x768, 800x600, & 640x480. 1600x1200 usable, but too big, 1024x768, usable, but too small, and the other 2 completely unusable.

    Here's what I'd like (widescreen resolutions):
    1680x1050
    1440x900
    1344x840
    1280x800

    I've seen a few posts where some have had success modifying someone else's xorg.conf file, and then summarize what they did, or posted the file, and, well, this just hasn't worked for me... and now I've been through so many mods I don't even know where I stand... (well... ok... it seems to be permanently stuck in 1024x768)... nothing I do to .xorg.conf is changing resolutions or adding options in Preferences/Desktop Preferences/Display/Screen Resolution (I'm using JDS).

    So here I am asking for a Solaris users' working xorg.conf file. No... I don't want instruction... I don't what to know what worked for your brother's wife's sister's nephew... I don't want to know how you got widescreen to work in ubuntu... I don't want to know what I can try... and I certainly don't want to know if you're in the same state I am and can't figure it out either. I can appreciate your empathy and your desire to help... but don't bother unless you're doing the same thing, and you have the answer.

    If you've got solaris running in parallels, and you got your widescreen working, such that Parallels will allow you to run it in fullscreen mode, either on an iMac or MBP... please post your .xorg.conf and I'll pop it in, and if it works, then I'll start modifying it to suit my needs.

    Thanks, and apologies for my tone... I guess I've just read a few too many posts in a few too many long threads that never quite lead anywhere...
     
    Last edited by a moderator: Jun 11, 2007
  2. catmistake

    catmistake Member

    Messages:
    27
    no one has this working?
     
  3. EnriK

    EnriK Bit poster

    Messages:
    1
  4. dkp

    dkp Forum Maven

    Messages:
    1,367
    I installed Solaris in Fusion and the Solaris tools created a file that was so complete I copied it over to my Parallels installation of Solaris. You might want to try that.

    Edit: or try this. It's that file without the comments. Take care with any lines that wrap:

    Section "ServerLayout"

    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection

    Section "Files"

    RgbPath "/usr/X11/lib/X11/rgb"
    FontPath "/usr/X11/lib/X11/fonts/TrueType/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
    FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
    FontPath "/usr/X11/lib/X11/fonts/misc/"
    FontPath "/usr/X11/lib/X11/fonts/100dpi/"
    FontPath "/usr/X11/lib/X11/fonts/75dpi/"
    EndSection

    Section "Module"

    SubSection "extmod"
    EndSubSection
    Load "bitstream"
    Load "type1"
    Load "IA"
    Load "glx"
    EndSection

    Section "InputDevice"

    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"
    EndSection

    Section "InputDevice"

    Identifier "Mouse1"
    Driver "mouse"
    Option "Device" "/dev/kdmouse"
    Option "ZAxisMapping" "4 5 6 7"
    Option "Emulate3Buttons"
    EndSection

    Section "Monitor"

    Identifier "apple"
    HorizSync 31.5 - 79.0
    VertRefresh 50.0 - 100.0

    Modeline "1440x800_60.00" 93.80 1440 1512 1664 1888 800 801 804 828 -HSync +Vsync


    EndSection

    Section "Device"

    Identifier "Standard VGA"
    Driver "vga"
    VendorName "Unknown"
    BoardName "Unknown"
    Option "DPMS"
    EndSection

    Section "Device"

    Identifier "* Generic VESA compatible"
    Driver "vesa"
    EndSection

    Section "Screen"
    Identifier "Screen 1"
    Device "* Generic VESA compatible"
    Monitor "apple"
    DefaultDepth 16
    SubSection "Display"
    Viewport 0 0
    Depth 8
    Modes "1440x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1440x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1440x800" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection

    Section "DRI"
    Group 0
    EndSection
     
    Last edited: Jun 14, 2007
  5. catmistake

    catmistake Member

    Messages:
    27
    Thanks for trying

    Appreciated.
    Still no joy on widescreen, after replacing .xorg.conf, still stuck in 1024x768 after reboot. Always was able to get vm to work in fullscreen, btw, just not in widescreen at the resolutions I posted above.
     
  6. dkp

    dkp Forum Maven

    Messages:
    1,367
    You are using the xorg X Windows and not Sun's X, right?
     
  7. catmistake

    catmistake Member

    Messages:
    27
    yup, using xorg
     
  8. dkp

    dkp Forum Maven

    Messages:
    1,367
    And you're putting the conf file in /etc/X11 with root ownership and privs?
     
  9. catmistake

    catmistake Member

    Messages:
    27
    /etc/X11/.xorg.conf

    yes
    any ideas?
     
  10. seebs

    seebs Junior Member

    Messages:
    19
    Try "xorg.conf", not ".xorg.conf". Not a dotfile.
     
  11. catmistake

    catmistake Member

    Messages:
    27
    but... it is a dot file. The default uses a dot file... there is no xorg.conf, but instead .xorg.conf

    Did you have a non dot xorg.conf in your install? Why does mine have a dot?
     
    Last edited: Jun 20, 2007
  12. sebgraf

    sebgraf Bit poster

    Messages:
    1
    Hi, for 1680x1050 on a MBP try this:

    # Generated by root on dribble at Wed Jul 5 08:21:07 2006

    # File generated by xorgconfig.
    # **********************************************************************
    # Refer to the xorg.conf(4) man page for details about the format of
    # this file.
    # **********************************************************************

    # **********************************************************************
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    # **********************************************************************
    #
    Section "Module"

    # This loads the DBE extension module.

    Load "dbe" # Double buffer extension

    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    SubSection "extmod"
    Option "omit xfree86-dga" # don't initialise the DGA extension
    EndSubSection

    # This loads the font modules
    Load "bitstream"
    Load "type1"

    # This loads the SolarisIA module
    Load "IA"
    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    # Load "dri"

    EndSection

    # **********************************************************************
    # Files section. This allows default font and rgb paths to be set
    # **********************************************************************

    Section "Files"

    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.

    RgbPath "/usr/X11/lib/X11/rgb"

    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    #
    #

    FontPath "/usr/X11/lib/X11/fonts/TrueType/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
    FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
    FontPath "/usr/X11/lib/X11/fonts/misc/"
    FontPath "/usr/X11/lib/X11/fonts/100dpi/"
    FontPath "/usr/X11/lib/X11/fonts/75dpi/"

    # The module search path. The default path is shown here.

    # ModulePath "/usr/X11/lib/modules"

    EndSection

    # **********************************************************************
    # Server flags section.
    # **********************************************************************

    Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging

    # Option "NoTrapSignals"

    # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.

    # Option "DontVTSwitch"

    # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.

    # Option "DontZap"

    # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
    # sequences. This allows clients to receive these key events.

    # Option "Dont Zoom"

    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.

    # Option "DisableVidModeExtension"

    # Uncomment this to enable the use of a non-local xvidtune client.

    # Option "AllowNonLocalXvidtune"

    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.

    # Option "DisableModInDev"

    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).

    # Option "AllowNonLocalModInDev"

    EndSection

    # **********************************************************************
    # Input devices
    # **********************************************************************

    # **********************************************************************
    # Core keyboard's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"

    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.

    # Option "Protocol" "Xqueue"

    Option "AutoRepeat" "500 30"

    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"

    # Option "LeftAlt" "Meta"
    # Option "RightAlt" "ModeShift"

    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc105"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    #
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    #
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "de"

    EndSection


    # **********************************************************************
    # Core Pointer's InputDevice section
    # **********************************************************************

    Section "InputDevice"

    # Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "PS/2" # PS/2 Mouse
    Option "Device" "/dev/kdmouse"

    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.

    # Option "Protocol" "Xqueue"

    # Mouse-speed setting for PS/2 mouse.

    # Option "Resolution" "256"

    # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
    # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
    # 3 buttons and you need to map the wheel to different button ids to avoid
    # conflicts.

    Option "ZAxisMapping" "4 5 6 7"

    # Emulate3Buttons is an option for 2-button mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"

    # ChordMiddle is an option for some 3-button Logitech mice

    # Option "ChordMiddle"

    EndSection


    # **********************************************************************
    # Monitor section
    # **********************************************************************

    # Any number of monitor sections may be present

    Section "Monitor"

    Identifier "monitor"

    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync 1-1000
    VertRefresh 40-1000
    ModeLine "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync

    EndSection


    # **********************************************************************
    # Graphics device section
    # **********************************************************************

    # Any number of graphics device sections may be present

    # Standard VGA Device:

    Section "Device"
    Identifier "Standard VGA"
    VendorName "Unknown"
    BoardName "Unknown"

    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.

    # Chipset "generic"

    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.

    Driver "vga"
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.

    # BusID "PCI:0:10:0"

    # VideoRam 256

    # Clocks 25.2 28.3

    EndSection

    # Device configured by xorgconfig:

    Section "Device"
    Identifier "card"
    Driver "vesa"
    VideoRam 262144
    # Insert Clocks lines here if appropriate
    EndSection


    # **********************************************************************
    # Screen sections
    # **********************************************************************

    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "card"
    Monitor "monitor"
    DefaultDepth 24

    Subsection "Display"
    Depth 24
    Modes "1680x1050"
    EndSubsection
    EndSection

    # **********************************************************************
    # ServerLayout sections.
    # **********************************************************************

    Section "ServerLayout"

    # The Identifier line must be present
    Identifier "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

    EndSection

    # Section "DRI"
    # Mode 0666
    # EndSection
     
  13. catmistake

    catmistake Member

    Messages:
    27
    The idea is to get widescreen to work fullscreen on a MBP. This changed resolution back to the default, but completely wacked my keyboard settings.
     
  14. rwhiffen

    rwhiffen Junior Member

    Messages:
    11
    got it working...

    Mine was named .xorg.conf in /etc/X11 I copied it to xorg.conf (removing the . and added the first example given here and did a reboot and am now typing this in full screen mode. It needs a little work though, the fonts in firefox are awful right now, but that's fixable. I don't believe the .xorg.conf file is nessesary, but I left it there anyway (by accident really, but its working so I'm not going to muck with it).

    The log file before I started said this (/var/log/Xorg.0.log)

    (EE) Unable to locate/open config file

    Now it says:

    (==) Using config file: "/etc/X11/xorg.conf"

    So renaming the file is essential it would appear.

    Good luck!

    Rich
     
  15. duncan_h

    duncan_h Bit poster

    Messages:
    8
    As well as getting a correct /etc/X11/xorg.conf configuration file, edit the parallels virtual machine to provide the screen resolution.


    In parallels desktop 2.5 (build 3214) goto "Edit" "Virtual machine"
    select "Video", "enable custom screen resolutions" and add the 1280x800
    (for the macbook) resolution

    I believe that when the virtual machine was runnung with that resolution enabled,
    one of the standard automatic methods for producing an xorg.conf file worked
    (I forget which one)


    I guess that in the current Parallels 3.0 (which I have not upgraded to, it's similar)

    in any case, here is my xorg.conf for a macbook
    ----------cut here----------------
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "Files"
    RgbPath "/usr/X11/lib/X11/rgb"
    ModulePath "/usr/X11/lib/modules"
    FontPath "/usr/X11/lib/X11/fonts/TrueType/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/"
    FontPath "/usr/X11/lib/X11/fonts/Type1/sun/"
    FontPath "/usr/X11/lib/X11/fonts/F3bitmaps/"
    FontPath "/usr/X11/lib/X11/fonts/misc/"
    FontPath "/usr/X11/lib/X11/fonts/100dpi/"
    FontPath "/usr/X11/lib/X11/fonts/75dpi/"
    EndSection

    Section "Module"
    Load "IA"
    Load "Xst"
    Load "dbe"
    Load "extmod"
    Load "record"
    Load "xtrap"
    Load "glx"
    Load "bitstream"
    Load "type1"
    EndSection

    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "keyboard"
    EndSection

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

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    # 1280x800 @ 70.00 Hz (GTF) hsync: 58.31 kHz; pclk: 98.89 MHz
    Modeline "1280x800_70.00" 98.89 1280 1352 1488 1696 800 801 804 833 -HSync +Vsync

    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 "ShadowFB" # [<bool>]
    #Option "DefaultRefresh" # [<bool>]
    #Option "ModeSetClearScreen" # [<bool>]
    Identifier "Card0"
    Driver "vesa"
    VendorName "Unknown Vendor"
    BoardName "Unknown Board"
    BusID "PCI:0:2:0"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x800" "1024x768" "800x600"
    EndSubSection
    EndSection

    ------------------cut here--------------------
     
  16. musk

    musk Junior Member

    Messages:
    18
    I got Solaris 10 running full screen on my MacBook Pro with the following settings:

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    HorizSync 31.5 - 100
    VertRefresh 59.0 - 75.0
    Modeline "1440x900_60.0" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1440x900"
    EndSubSection
    EndSection

    I also added 1440x900 to "enable custom screen resolutions" in the VM config under Edit -> Virtual Machine -> Video as suggested by duncan_h
     

Share This Page