[Ubuntu] VMWare / xorg

Jun 4, 2005
19,723
1
0
I've got XGL running, so my x manager is xorg. When I try to run VMWare in Fullscreen, I get this error:

Unable to find an appropriate host video mode.
Adding the guest mode to the 'display' subsection of the 'screen' section of your /etc/X11/XF86Config and restarting X is likely to help.

Failed to switch to full screen SVGA mode.

It's mentioning XF86Config, which I don't have..

Does anyone happen to know how I would go about changing to so it uses xorg.conf?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I haven't tried VMWare in XGL yet, but it's possible that you just need to add the proper resolution to the display section of xorg.conf, just like it says.
 
Jun 4, 2005
19,723
1
0
This is my xorg.conf without any modifications on my part. Am I missing something obvious? I'm a little apprehensive about screwing with thie file. :eek:

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV17 [GeForce4 MX 420]"
Monitor "DELL M992"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Jun 4, 2005
19,723
1
0
According to some websites, XGL and VMWare won't play together. I'll be trying a few more things, but worst case scenario I can just create a new Session for VMWare.

Thanks for trying. =]
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Yeah, just run it all on a separate X server. Google "second X server games" and you'll pull up a bunch of hits from Ubuntu and Gentoo folks. Basically, you just need to change /etc/X11/Xwrapper.config to allow "everybody" X server startup rights, then run

xinit <full-path-to-command> <command arguments> -- :1

But there's also a bit of screwing around with xauth and magic cookies that you have to do once before it all works. Otherwise, pretty straight up.
 

P0ldy

Senior member
Dec 13, 2004
420
0
0
I don't see the problem.

I get the same error when actually trying the 'Full Screen' button, but why bother. Set the resolution in the OS you're using in VMWare to your desktop res, and then use the 'Quick Switch' button (F11).
 
Jun 4, 2005
19,723
1
0
Originally posted by: xtknight
VMware doesn't support acceleration under the XGL server (yet).

Looks like the nomination paid off, you got your Elite!

Originally posted by: P0ldy
I get the same error when actually trying the 'Full Screen' button, but why bother. Set the resolution in the OS you're using in VMWare to your desktop res, and then use the 'Quick Switch' button (F11).

It's a nuissance when trying to play fullscreen games, because if you move the cursor to the top... ;)
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: fyleow
On a side note I've been messing with Xgl/Compiz and jeez it's buggy.
On the contrary, I'm surprised how *not* buggy it is, given the magnitude of what XGL is doing.
Cedega would not run games properly...
Well, yeah... it can't directly access the video hardware the way it expects to. It was written for a completely different underlying architecture. That's not really a "bug". From the little I understand of this, AIGLX might help here.
...and Totem gets pretty messed up.
That one I've seen, but don't know much about. Totem has had some display corruption issues before XGL, so the new system might just be exacerbating the issue.

 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Originally posted by: cleverhandle
Yeah, just run it all on a separate X server. Google "second X server games" and you'll pull up a bunch of hits from Ubuntu and Gentoo folks. Basically, you just need to change /etc/X11/Xwrapper.config to allow "everybody" X server startup rights, then run

xinit <full-path-to-command> <command arguments> -- :1

But there's also a bit of screwing around with xauth and magic cookies that you have to do once before it all works. Otherwise, pretty straight up.

I've always just gone:
startx -- :1
To start a extra X server. Then I run a minimalist window manager on it.
(put the command to startup whatever in your .xinitrc)

I didn't mess with setting up any permissions or editing the x config file.

This works fine on Debian, I don't know for sure about others.

With some drivers they don't support 3d acceleration on more then one x server however.. I don't get 3d acceleration with Intel (on my old laptop) or R300 DRI drivers on the 2nd X server.

I did with the propriatory nvidia drivers and got 3d acceleration on multiple X servers. I don't know about the propriatory ATI drivers.

 
Jun 4, 2005
19,723
1
0
I tried going into the text console with ctrl+alt+1 and then typing startx -- :1 but it was giving me an error like "X Server already running on Display: 0". My xserver starts when Ubuntu starts. How would I go about killing the current xserver, and would that be a bad idea?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
xscreensaver now has a 'New Login' button which should start another X server for you. Also I believe gdmflexiserver will work, if you have GDM installed.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
It could be gnome trying to start up or something like that. You only realy can have one instance of Gnome (or KDE) running per user at one time. So maybe what happenned is that gnome is starting up, failing on some critical part and giving you that error. If the main program fails then it will kick you back into the command line, although what usually happens is you get some stuff working and it's pretty useless.

Maybe try to install a minimalist window like Icewm, then sticking the command to start that window manager in your ~/.xinitrc

For instance to start Icewm the command is 'icewm'. So you'd go:
echo "icewm" > ~/.xinitrc

although try what nothinman says also.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
mplayer is definately more capable then Totem. You should be able to find 3rd party repositories with good versions of mplayer pre-compiled.

mplayer's aspect ratio stuff depends heavily on the type of driver you choose to use. To find out options you would go:
mplayer -vo help

but mplayer realy isn't to hot for normal users. It's more of a very advanced thing.. It has all sorts of filters and features to get highest image quaiity and such and you can play around with options all day to get best quality of playback. Get rid of jerkiness, get rid of noise from too high of mpeg4 compression (those squares that form in the backgrounds and such), get rid of deinterlacing artifacts, match framerates for the dispay. Set abtritrary aspect ratios, etc etc. It's to much.

As for SAMBA.. It shouldn't matter much. More then likely it's a performance issue.. I f your going through the Gnome-VFS stuff (The gnome equivelent of going through the network neighborhood in windows) I would not be suprised if you had performance problems. If that is the case then mount the smb share to your directory system.. like you would mount a partition or whatnot. Google around for a good example of the command syntax.