doom3 graphic issue with resolution above 1024*768
Linux - GamesThis forum is for all discussion relating to gaming in Linux.
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.
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.
doom3 graphic issue with resolution above 1024*768
Hey there for first time
I'm running the native version of the game.
My hardware is just a a dell laptop with ATI/Intel video card, currently using intel video driver.
The game itself runs smoothly, except for the resolution.
If I switch it to one above 1024*768, the game either will come up in a separate screen or run in a fullscreen but oustide of the center of the screen. The only way then it is to kill it with a tty.
Now, I've been tracking down some possible reasons of this behaviour and managed to get some logs from the game.
Quote:
----- R_InitOpenGL -----
Setup X display connection
dlopen(libGL.so.1)
Initializing OpenGL display
Using XFree86-VidModeExtension Version 2.2
DGA DirectVideo Mouse (Version 2.0) initialized
Free86-VidModeExtension: No acceptable modes found
I suppose it may have something to do with the X settings which currently look like this :
Now you know why people pay €€€ or $$$ for a video card and spend ages getting it sorted. Given that, like me, you have crappy equipment, there's a few things you can do.
Make sure you have the latest drivers and that all possible tweaks are set up in X. There are things you can do to make the card go a little faster. Find out what they are and do them if they are not done.Options in X, native code. less going on in the background, etc. You will find pages devoted to it. Think of it a bit like 50cc racing. People used to race 50cc bikes, and works factories went to ridiculous lengths (in the 50s and early 60s) designing multi cylinder 50cc bikes with scores of gears. The guys making the rules stepped in and said "Maximum 2 cylinders and six gears below 250cc." So then it became a weight lightening contest.
There are differences between the various Intel cards. Intel what?
Last edited by business_kid; 12-21-2013 at 03:41 AM.
I don't think, the issue occurs due to "crappy equipment". This is a Dell bran new model, shipped with i5 and 8 GB of ram. Maybe I'm not getting you the way I should, but do you mean the hardware is crappy itself or graphic manufacturers produce crappy hardware?
Anyway, this is the output of what lays beyond my vga architecture:
As you see, this is a hybrid chip and here we're touching another problem: Linux software support for such models.
As far as I know, only Ubuntu now supports fully intel/ati hybrid with it's own X driver; same for the powerxpress technology.
Other distro are still stuck to the vgaswitcheroo kernel switching or acpi_call which means disabling discrete chip, thus getting rid of any (real) 3d acceleration
Having said that. Should I look for some intel specific tweaks for X? general tweaks for X? I am kind of confused as game itself doesn't run slowly, the problem is the resolution.
Crappy might be overstatement.
Games stress a pc to it's limit. So a gamer pc will perform at higher resolutions, background detail etc.
I presume you have a hd4000 graphics GPU. Intel are behind nvidia and ATI graphics - I think that's the general concensus.
Your pc has a lower limit than if you had a top of the range nvidia or ati cerd. At 1024x768 I think you have hit it. Mind you, if it's giving you 1024x768(4:3 aspect ratio monitor) on a new machine(presumably 16:0 aspect ratio) you may be running off the vesa driver or something. What is your X video driver?
Yes, it is Intel HD4000 indeed. I am running "intel" driver (as stated in my first post )
I've also checked mesa, it's version 9.x
Any ideas on how to improve?
Can you get the hd4000 out of it and get going on the ATI 7670?
You have a Sports car and a banger in there. The banger(hd 4000) won't go fast enough. You gotta wake up the 7670. Google for whether oss or binary blob drivers are better. Probably the latter is.
Yeah; Installing a binary driver is always a way but honestly, I am still not convinced this is the main reason of the issue.
C'mon. The game itself is from 2000-something so it's highly unlike that it runs slowly on my hardware specs given.
My video card is using mesa which is an opengl library and the game is awareof that, also the graphic and frame rate is fine.
I suppose this has something to do with some xorg settings, look:
Quote:
Using XFree86-VidModeExtension Version 2.2
, I'll try to tune it a bit and test.
Eventually, I will install the binary driver but as the very last solution.
Then it will be question of luck if my X starts (problem with hybrid video chips)
Just fired up doom3 to check out myself, since I recentry go intel processor with integrated graphics (hd2500). Game runs flawlessly, with most graphic settings to highest. As for resolution, I needed to do some config file tweaking. In <your doom install dir>/base directory make new file autoexec.cfg and paste the following there:
Just adjust screen resolution as needed, and set r_aspectRatio to "1" for 16:9 aspect ratio or leave to "2" for 16:10. As for xorg config file, mine looks very simple:
Works flawlessly. "SwapbuffersWait" should improve performance, but can introduce video tearing (which I dont mind). "AccelMethod" shouldnt impact 3d performance at all, I think, so it's completely optional. Anyway, good luck
Just fired up doom3 to check out myself, since I recentry go intel processor with integrated graphics (hd2500). Game runs flawlessly, with most graphic settings to highest. As for resolution, I needed to do some config file tweaking. In <your doom install dir>/base directory make new file autoexec.cfg and paste the following there:
Just adjust screen resolution as needed, and set r_aspectRatio to "1" for 16:9 aspect ratio or leave to "2" for 16:10. As for xorg config file, mine looks very simple:
Works flawlessly. "SwapbuffersWait" should improve performance, but can introduce video tearing (which I dont mind). "AccelMethod" shouldnt impact 3d performance at all, I think, so it's completely optional. Anyway, good luck
Thanks for the tip but with this config game starts in an angle - both for 16:9, 10.
I tried with various resolutions but always I get the same result - the game window "streched" in a window.
The only solution to that is to delete doom 3 config file which will revert the changes to the defaults.
I am attaching it for your revision.
Last edited by fuorviato; 12-27-2013 at 11:36 AM.
Reason: additional info
Thanks for the tip but with this config game starts in an angle - both for 16:9, 10.
Hm, I forgot to mention one pretty important detail - my doom3 is running in Wine. In winecfg I set so that game runs in wine's virtual desktop, so 1) doom3 cant mess with my screen resolution, and 2) I can easily switch to other programs. And one more thing - are you running latest patched version (1.3) of game? Because older versions apparently dont support custom resolutions. And could you clarify what you meant by 'game starts in an angle'?
I looked at your config, but I dont see my changes there (I assume your screen resolution isnt 720x486? )
Well, so you're running native linux code in wine? If I get you right.
Mine doom is a linux native version with .pak files copied over to the game directory.
The attached config is the default one that the game recreates when getting rid of previous configs.
By "game starts in an angle" I mean that it does start in a window. Dimensionally speaking, it's a half-screen.
Hope you get my point this time
No, it's MS Windows version of doom I'm running in Wine, since, well, that's what Wine is for Anyway, I have never been dealing with dual graphics setup before, could you post your Xorg.0.log file?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.