Re: [gentoo-user] vmware/xorg.conf issues --SOLVED--

2005-07-17 Thread Bill Roberts
On 00:03 Sat 16 Jul , Richard Fish wrote:
 Bill Roberts wrote:
 
 Richard
 
 I tried all of your suggestions, without success. See inline comments:
 
 Note device and monitor section of xorg.conf at end:
 
 I've had one further idea. I have a 4-port kvm switch (Cybex), it has
 never interferred with anything in the past four or five years. Wonder
 if. . . , maybe that could be having an effect.  
 
 One other thought. In full screen, ever other line is black, giving
 the awful looking screen. Couldn't that have something to do with
 interlacing?? Wish I understood all of this better.
 
 Oh, one more thing.  Modelines can be an issue, but only if VMWare and X 
 are running at different resolutions or color depths.  For example, my 
 normal laptop resolution is 1600x1200.  If I go fullscreen VMWare at 
 1600x1200 or 1280x1024, everything works normally.  However there is 
 also a 1400x1050 mode in XP, but my hardware doesn't seem to support 
 that resolution, so if I try to go fullscreen, I get a resolution that 
 results in a corrupted display for the right 1/3 of the screen.
 
 So it is possible that a particular modeline could fix that issue for 
 me, and may be related to why you had to specify modelines previously.  
 But if the resolution and depth are the same, then the same modeline 
 should apply whether VMWare is fullscreen or not, AFAIK.
 
I finally solved the mystery. I copied the modelines generated by the
Knoppix 3.6 CD for this monitor into the Monitor section of xorg.conf,
and, voila!!, the full screen issues disappeared. Vmware now works
like a charm. Maybe it will do something for my mplayer/mythtv issues.

Thanks, Richard, for your ideas. They helped me narrow down the
potential problems, and eventually solve the problem itself.

Bill Roberts


pgprIVaby8LJm.pgp
Description: PGP signature


Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Antonino Sabetta

Oh, one other oddity. The vmware modules vmmon and vmnet which should
be loaded by /etc/init.d/vmware in default mode, don't get loaded.
Can't figure out why.


Make sure the kernel version in /usr/src/linux matches the version of
the kernel currently running.
What does the following command says?
# ls /etc/vmware

Cheers,
  AS
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Bill Roberts
On 09:41 Fri 15 Jul , Antonino Sabetta wrote:
 Oh, one other oddity. The vmware modules vmmon and vmnet which should
 be loaded by /etc/init.d/vmware in default mode, don't get loaded.
 Can't figure out why.
 
 Make sure the kernel version in /usr/src/linux matches the version of
 the kernel currently running.
 What does the following command says?
 # ls /etc/vmware

ls -al /etc/vmware/

total 85
drwxr-xr-x   3 root root   160 Jul 15 10:22 .
drwxr-xr-x  83 root root  5496 Jul 15 10:04 ..
-rw-r--r--   1 root root   211 Jul 15 10:22 config
drwxr-xr-x   9 root root   240 Jul 15 10:04 init.d
-r-xr-xr-x   1 root root 14482 Jul 15 10:04 installer.sh
-rw-r--r--   1 root root 58854 Jul 15 10:22 locations

Kernel version matches.  I also did an emerge -C', removed all files,
and re-emerged. Still blurred full-screen.

Thanks

Bill Roberts


pgpZPj3OGEZVZ.pgp
Description: PGP signature


Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Richard Fish
Well, nothing obvious is popping out at me, but see my comments inline 
below...


Bill Roberts wrote:


I am going NUTS trying to figure out how to make full-screen mode work
properly in vmware-workstation 5.

I can go into full-screen mode, but it looks like only half of the
lines get drawn, so it's very ugly, impossible to read.
 



A major reason for this can be enabling framebuffer graphics in the 
kernel.  If you are using framebuffer graphics, try compiling a new 
kernel with only text-mode console support.  Full-screen vmware sessions 
seem most reliable this way.



I had beautiful screens in 4.5.2 which turned ugly at some point
(don't know causal factor). I emerged 5, got beautiful screens again.

I have been trying to get mplayer  hdtv working, so I've been playing
around with xorg.conf a lot, and I guess I managed to break it. I think
I need additional modelines to make vmware work properly, not sure how
to get the right ones. 

 



My guess is that this has nothing to do with the modelines, because on a 
modern system with a DDC capable monitor, everything should be 
autodetected.  Specifically, double check your monitor section and try 
commenting out any HorizSync or VertRefresh settings that you have.



Oh, one other oddity. The vmware modules vmmon and vmnet which should
be loaded by /etc/init.d/vmware in default mode, don't get loaded.
Can't figure out why.
 



Explain a bit more please...are you saying the vmware init script runs 
as part of your startup, but produces errors?  You didn't by chance 
accidentally replace this with the VMWare version, did you?  The second 
line of that script should say Copyright ... Gentoo Foundation.


If this doesn't give you any ideas, I would like to see the device and 
monitor sections from your xorg.conf file. 


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Bill Roberts
Richard

I tried all of your suggestions, without success. See inline comments:

Note device and monitor section of xorg.conf at end:

I've had one further idea. I have a 4-port kvm switch (Cybex), it has
never interferred with anything in the past four or five years. Wonder
if. . . , maybe that could be having an effect.  

One other thought. In full screen, ever other line is black, giving
the awful looking screen. Couldn't that have something to do with
interlacing?? Wish I understood all of this better.

On 21:05 Fri 15 Jul , Richard Fish wrote:
 Well, nothing obvious is popping out at me, but see my comments
 inline below...
 
 Bill Roberts wrote:
 
 I am going NUTS trying to figure out how to make full-screen mode
 work properly in vmware-workstation 5.
 
 I can go into full-screen mode, but it looks like only half of the
 lines get drawn, so it's very ugly, impossible to read.
  
 A major reason for this can be enabling framebuffer graphics in the
 kernel.  If you are using framebuffer graphics, try compiling a new
 kernel with only text-mode console support.  Full-screen vmware
 sessions seem most reliable this way.
 
I did have framebuffer graphics enabled, just for the smaller fonts. I
diabled them, didn't make any difference. Also, when I had good full
screens, I did have framebuffer graphics enabled.

 I had beautiful screens in 4.5.2 which turned ugly at some point
 (don't know causal factor). I emerged 5, got beautiful screens again.
 
 I have been trying to get mplayer  hdtv working, so I've been playing
 around with xorg.conf a lot, and I guess I managed to break it. I think
 I need additional modelines to make vmware work properly, not sure how
 to get the right ones. 
 
 My guess is that this has nothing to do with the modelines, because on a 
 modern system with a DDC capable monitor, everything should be 
 autodetected.  Specifically, double check your monitor section and try 
 commenting out any HorizSync or VertRefresh settings that you have.
 
Modelines are supposed to be generally obsolete, and my Dell monitor
is DDC compliant, but I've been having difficulty with mplayer/mythtv.
Also, VmWare says I can run into these kind of problems if there isn't
an appropriate resolution available.

 Oh, one other oddity. The vmware modules vmmon and vmnet which should
 be loaded by /etc/init.d/vmware in default mode, don't get loaded.
 Can't figure out why.
 
 Explain a bit more please...are you saying the vmware init script runs 
 as part of your startup, but produces errors?  You didn't by chance 
 accidentally replace this with the VMWare version, did you?  The second 
 line of that script should say Copyright ... Gentoo Foundation.
 
I did a rc-update add vmware default and back when, it actually
started the vmmon/vmnet modules. No longer. No error messages, no
hiccups, nothing. And when I manually do a /etc/init.d/vmware start,
it works perfectly. The Copyright ... is there.

 If this doesn't give you any ideas, I would like to see the device and 
 monitor sections from your xorg.conf file. 
 
Here are the device and monitor sections of xorg.conf, plus a couple
of extra, maybe pertinent items.

Section Monitor
DisplaySize   350   255 # mm
Identifier   Monitor0
VendorName   DEL
ModelNameDELL D1226H
#   HorizSync30.0 - 95.0
#   VertRefresh  50.0 - 160.0
Option  DPMS
EndSection


Section Device
Identifier  n6600gt
Driver  nvidia
Option   NoLogo 1
EndSection

Section Screen
Identifier Screen0
Device n6600gt
MonitorMonitor0
DefaultDepth  24
SubSection Display
Depth 16
Modes 1024x768 800x600 640x480 
EndSubSection
SubSection Display
Depth 24
Modes 1024x768 800x600 640x480
EndSubSection
EndSection

Maybe some of the following should be disabled???

Section Module
Load  record
Load  extmod
Load  dbe
Load  glx
Load  xtrap
Load  type1
Load  freetype
EndSection


pgpJzYEyhAeru.pgp
Description: PGP signature


Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Richard Fish

Bill Roberts wrote:


Richard

I tried all of your suggestions, without success. See inline comments:

Note device and monitor section of xorg.conf at end:

I've had one further idea. I have a 4-port kvm switch (Cybex), it has
never interferred with anything in the past four or five years. Wonder
if. . . , maybe that could be having an effect.  


One other thought. In full screen, ever other line is black, giving
the awful looking screen. Couldn't that have something to do with
interlacing?? Wish I understood all of this better.

 



Well, I'm not completely certain, but I don't think so.  To the best of 
my knowledge, PC cards today work on a fairly simply frame-buffer 
concept...the software renders the image it wants displayed to a memory 
location, usually on the card itself.  It then instructs the GPU that it 
has updated the image, and it is up to the GPU to read and create the 
analog signals required for the monitor.  Interlacing should have 
nothing to do with the framebuffer, it should only be considered in 
instructing the GPU how to communicate with a given monitor.  So it is 
only between the GPU and the monitor that I would expect a disagreement 
over interlacing to result in a problem like this, but the image would 
also not be synchronized correctly (rolling, distorting horizontally, 
basically looking like a 1970's-era American TV!)


Note that the above is even true for accelerated 2D or 3D graphics...the 
main difference there is that the GPU has many additional instructions 
available for common drawing operations so that the system CPU doesn't 
have to perform them.  The idea is still the same...render first to a 
memory buffer, then let the hardware figure out how to transmit that.


My best guess here is that VMWare and the X server are having a 
disagreement about the layout of the framebuffer.   In addition to width 
and height, a particular framebuffer is expected to have a particular 
alignment in memory for how many pixels per line, lines per screen, bits 
per pixel, and bits per color, and the order of the colors.


So, on that front, I have several other suggestions to try:

1. Try using the x.org 'nv' driver instead of the proprietary nvidia driver.

2. Try setting DefaultDepth to 16. (with both drivers)

3. Try setting DefaultDepth to 32 (and create the appropriate subsection 
for Depth 32).  This may only work with the proprietary driver


HTH,

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware/xorg.conf issues

2005-07-15 Thread Richard Fish

Bill Roberts wrote:


Richard

I tried all of your suggestions, without success. See inline comments:

Note device and monitor section of xorg.conf at end:

I've had one further idea. I have a 4-port kvm switch (Cybex), it has
never interferred with anything in the past four or five years. Wonder
if. . . , maybe that could be having an effect.  


One other thought. In full screen, ever other line is black, giving
the awful looking screen. Couldn't that have something to do with
interlacing?? Wish I understood all of this better.

 



Oh, one more thing.  Modelines can be an issue, but only if VMWare and X 
are running at different resolutions or color depths.  For example, my 
normal laptop resolution is 1600x1200.  If I go fullscreen VMWare at 
1600x1200 or 1280x1024, everything works normally.  However there is 
also a 1400x1050 mode in XP, but my hardware doesn't seem to support 
that resolution, so if I try to go fullscreen, I get a resolution that 
results in a corrupted display for the right 1/3 of the screen.


So it is possible that a particular modeline could fix that issue for 
me, and may be related to why you had to specify modelines previously.  
But if the resolution and depth are the same, then the same modeline 
should apply whether VMWare is fullscreen or not, AFAIK.


-Richard

--
gentoo-user@gentoo.org mailing list