PDA

View Full Version : 0.78 final in VM5 - max 800x600 resolution on laptop?


FAF
07-20-2005, 12:40 PM
Hi

Thank you for a nice system always liked FreeBSD and has used it for several years on servers. Just had to test PCBSD and so far so good.

I have a small problem with the resolution in VMware 5. The max. size is only 800x600 and the LCD (Laptop) can do 1400x1050 - 60 Hz.

Did anyone have the opportunity, by default, to go higher than 800x600?

Thx

/FAF

FAF
07-20-2005, 12:55 PM
Anyone know if this would work with the xf86config?

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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My 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 31.5 - 82.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh 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.

VertRefresh 40-150

EndSection


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

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Card0"
VendorName "VMware"
BoardName "PCI SVGA (FIFO)"

# 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 "vmware"
# 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 xf86config:

Section "Device"
Identifier "vmware"
Driver "vmware"
VideoRam 16384
# 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 "vmware"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

FAF
07-20-2005, 01:19 PM
Here is the current XF86config>

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
EndSection

Section "Module"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 48.5
VertRefresh 50.0 - 90.0
EndSection

Section "Device"
Identifier "Card0"
Driver "vmware"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Modes "800x600"
EndSubSection
EndSection

The Mode is 800x600, does anyone know if it will support 1400x1050 if I change that?

THX

Valio
07-20-2005, 01:41 PM
Hi

Thank you for a nice system always liked FreeBSD and has used it for several years on servers. Just had to test PCBSD and so far so good.

I have a small problem with the resolution in VMware 5. The max. size is only 800x600 and the LCD (Laptop) can do 1400x1050 - 60 Hz.

Did anyone have the opportunity, by default, to go higher than 800x600?

Thx

/FAF


What i tested here by chancing 800x600 to 1400x1050, with my monitor i can go to 1024x768.

pcbsdusr
07-20-2005, 10:57 PM
have you set the horizontal/vertical refresh rates for your monitor?

On my pc (in 0.75) it is the difference between 1024 x 768 and 1280 x x1024...

My file in.78 seems a bit strange though...



Cheers!

Renato Flórido

FAF
07-21-2005, 06:10 AM
Just found this: Using XFree86 4.x in a Linux Virtual Machine (http://www.vmware.com/support/reference/common/guest_linux_xf864.html). Will have to read some more on it later today.

There is a script (cardDetect (http://chrisbuechler.com/statcvs/freesbie/module_files_scripts_cardDetect.html)) for Freesbie which might have some interest for detecting the card and setting up XF86, if it has any value to PCBSD I don't know, I will make some research on it. Just found it on the net, didn't look into it, but if it actually sets up the XF86, then it could be used in some way.

Thx for the tips. The first thing I will do, is to set the H/V rate, just to test it out. Also I will have to understand the sync between the host system and the guest settings. Maybe try out the driver at VMWare.

EDIT: NOT THE LINUX DRIVER :)

I will try to see if I can install the vmware tools......

Thx for your time.

/FAF

sblevin
07-21-2005, 07:37 AM
Check my post here to see if it helps:

http://www.pcbsd.org/forums/viewtopic.php?t=851

FAF
07-21-2005, 07:57 AM
Thx, yes that is the way to do it.

I just want to understand how VMWare and PCBSD (XF86) interact.

There might just be a way to get those tools installed correctly, so that they actually work. I will give it some time today, maybe an hour or three.

If it dosen't work at all, I will use the manual configuration of XF86config.

I have a copy of the PCBSD virtual machine, so it not such a big deal :)

Thx.

/FAF