LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2009, 05:14 PM   #1
magicdanw
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Rep: Reputation: 0
Xorg.conf Woes


I've tried for quite a while to get some Windows games running on my Ubuntu installation using WINE. Many of them run fine in a window, but if I try to run them full-screen in their native resolution, the games invariably quit, complaining that the required resolution (usually 640x480) isn't available. I've tried to configure xorg.conf to support them, but it doesn't seem to work. One thought I had is that my laptop has a widescreen display, so perhaps that causes trouble with displaying classic resolutions?

Anyway, here's my xorg.conf file. Does anyone know what I'm doing wrong?

Code:
Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth	24
	SubSection "Display"
		Viewport 0 0
		Depth 8
		Modes "640x480" "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport 0 0
		Depth 24
		Modes "640x480" "1280x800"
	EndSubSection
	SubSection "Display"
		Viewport 0 0
		Depth 32
		Modes "640x480" "1280x800"
	EndSubSection
EndSection

Section "Module"
	Load	"glx"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver	"nvidia"
	Option	"NoLogo"	"True"
EndSection

Last edited by magicdanw; 03-12-2009 at 05:21 PM.
 
Old 03-12-2009, 06:50 PM   #2
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Hello and Welcome to LQ!

Your wide-screen monitor may not support this resolution. Have you tried to put the game into a resolution that matches a widescreen format rather then a 4:3 format? Many games will give you an option to specify what resolution it runs at. As far as I can tell, your xorg.conf looks correct, if your monitor and video card support those resolutions.
 
Old 03-12-2009, 07:35 PM   #3
magicdanw
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Unfortunately, the games don't offer that kind of configuration. If it helps, they are Kudos2, Gemsweeper, and Abe's Odyssey.

Last edited by magicdanw; 03-13-2009 at 01:42 AM.
 
Old 03-13-2009, 09:45 AM   #4
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
Just a quick thought here...To test that your system can support the 640x480 resolution, try setting your desktop to this resolution. It's going to look terrible and stretch really bad but at least you'll know that your video card and monitor can support it. Also, can you give some info on what laptop and video card you have?
 
Old 03-13-2009, 10:13 AM   #5
magicdanw
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I've got a Lenovo T61 with Quadro 140 graphics card. The NVidia control panel doesn't list any non-widescreen resolutions as selectable...
 
Old 03-13-2009, 01:46 PM   #6
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
When you installed the nvidia drivers, did you run nvidia-xconfig? This will generally do a pretty good job of configuring X, and should add all or most of the modes that your video card can handle. After a little research, I don't see any reason why your setup should have problems with this resolution. The only exception is possibly the monitor itself does not support 640x480.
 
Old 03-14-2009, 02:44 AM   #7
magicdanw
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I ran nvidia-xconfig, and it added some fields to the config file, but it pretty much left the display section alone, and it didn't help. Does anyone have experience with settings widescreen displays to use standard resolutions?
 
Old 03-17-2009, 09:53 AM   #8
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
I was hoping someone would jump in here with a solution. I can't think of any reason specifically why this wouldn't work, but there may be something I'm over looking. I suspect that either you system won't support that resolution, or the game itself is trying to go to a widescreen format when you go full screen. Chances are, the games you're referring to won't support widescreen and therefore bomb out. I'm out of ideas at the moment but if I think of something else, I'll post back.
 
Old 03-18-2009, 03:17 PM   #9
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
I just saw this on another thread and thought I might mention it to you. Try this and see if it helps...
Code:
system-config-display
 
Old 03-18-2009, 03:21 PM   #10
magicdanw
LQ Newbie
 
Registered: Mar 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Ubuntu doesn't seem to have that installed...
 
Old 03-19-2009, 05:05 PM   #11
hellodio
Member
 
Registered: Oct 2005
Posts: 33

Rep: Reputation: 15
Quote:
Originally Posted by magicdanw View Post
Ubuntu doesn't seem to have that installed...
Debian Lenny neither. I also run Suse 10.3 quite often (dual boot) and I noticed that a lot of the utilities that the official Xorg configuration help page mentions do not ship with Xorg 7.4 anymore. They did w/ Suse 10.3. Those utils are:
  • xorgcfg
  • X -configure (still works, but not for your monitor or graphics card driver)
  • xorgconfig
Even 'dpkg-reconfigure xserver xorg' does not configure the video driver and monitor like ye 'ol 'xfree86config' did. What utility can we use to configure X now-a-days?

Editing /etc/X11/xorg.conf by hand may be acceptable, but one needs a good example of all options... I'd rather have a good utility, though....
 
Old 03-20-2009, 12:22 AM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
How about

X -probeonly
 
Old 03-20-2009, 04:33 PM   #13
hellodio
Member
 
Registered: Oct 2005
Posts: 33

Rep: Reputation: 15
Quote:
Originally Posted by chrism01 View Post
How about

X -probeonly
Results in:
Code:
Fatal server error:
Server is already active for display 0
        If this server is no longer running, remove /tmp/.X0-lock
        and start again.
So 'X -probeonly' seems not to be a configuration utility either...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stupid imac - xorg woes tommytomthms5 Linux - Newbie 3 06-13-2008 11:07 PM
nvidia xorg.conf OR X windows xorg.conf? machines Slackware 3 04-06-2008 02:10 PM
nvidia Xorg woes websinger Debian 2 03-15-2006 04:29 PM
someone double check my xorg.conf plz? (tri-monitor woes ubuntu 5.10) 0okami Linux - Hardware 4 01-04-2006 10:40 AM
Xorg Hard Crashes and corrupts xorg.conf Advocator Linux - General 0 07-15-2004 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration