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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-12-2009, 06:14 PM
|
#1
|
LQ Newbie
Registered: Mar 2009
Posts: 9
Rep:
|
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 06:21 PM.
|
|
|
03-12-2009, 07:50 PM
|
#2
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
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.
|
|
|
03-12-2009, 08:35 PM
|
#3
|
LQ Newbie
Registered: Mar 2009
Posts: 9
Original Poster
Rep:
|
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 02:42 AM.
|
|
|
03-13-2009, 10:45 AM
|
#4
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
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?
|
|
|
03-13-2009, 11:13 AM
|
#5
|
LQ Newbie
Registered: Mar 2009
Posts: 9
Original Poster
Rep:
|
I've got a Lenovo T61 with Quadro 140 graphics card. The NVidia control panel doesn't list any non-widescreen resolutions as selectable...
|
|
|
03-13-2009, 02:46 PM
|
#6
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
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.
|
|
|
03-14-2009, 03:44 AM
|
#7
|
LQ Newbie
Registered: Mar 2009
Posts: 9
Original Poster
Rep:
|
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?
|
|
|
03-17-2009, 10:53 AM
|
#8
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
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.
|
|
|
03-18-2009, 04:17 PM
|
#9
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
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
|
|
|
03-18-2009, 04:21 PM
|
#10
|
LQ Newbie
Registered: Mar 2009
Posts: 9
Original Poster
Rep:
|
Ubuntu doesn't seem to have that installed...
|
|
|
03-19-2009, 06:05 PM
|
#11
|
Member
Registered: Oct 2005
Posts: 33
Rep:
|
Quote:
Originally Posted by magicdanw
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....
|
|
|
03-20-2009, 01:22 AM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,418
|
How about
X -probeonly
|
|
|
03-20-2009, 05:33 PM
|
#13
|
Member
Registered: Oct 2005
Posts: 33
Rep:
|
Quote:
Originally Posted by chrism01
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...
|
|
|
All times are GMT -5. The time now is 03:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|