View Full Version : Dom3 font issue on Linux
nilfilter
December 4th, 2006, 05:29 PM
Hi there,
I have an ugly font issue with Dominions 3 on Debian sid:
The menu fonts look blurred/skewed. The same problem happened on Ubuntu Dapper Drake.
I have scoured these forums for a solution but couldn't find any. Also, I have changed font resolutions without success. As an example, please view
this screenshot (http://www.arponline.de/~nil/dom/dom_fonts.png).
It shows Dom2 and Dom3 running side by side in windowed mode. As you can see, only Dom3 is affected. Dom2 looks just fine.
Any ideas?
ps: I created a support ticket on Oct 19, its status still is "Awaiting Response".
Endoperez
December 6th, 2006, 06:59 AM
Have you tried changing Video Preferences? I think Filter settings, at least, might have an effect.
It does seem to be a bug, though. It looks like the text is drawn twice, the second being a little off from the first.
Gandalf Parker
December 6th, 2006, 02:48 PM
Wont some of the switches affect that?
--filtering X Quality of OpenGL filtering 0-3 (default=2)
--texqual X Texture quality 1-5 (default=3)
--noglext Don't use any OpenGL extensions
--renderpath X Use different optimizations 0-1 (0=good for low mem cards)
-x --fastgrx Faster graphics (use 3 times for best performance (-xxx))
Im sure that I turned some of those on when I wanted to capture sprites with no fading around the edges.
Johan K
December 6th, 2006, 03:35 PM
Gandlaf has some good ideas there. Likely only --filtering or --noglext may help. Try them out.
nilfilter
December 6th, 2006, 05:51 PM
Thanks to everyone for their suggestions!
Setting Filter Quality to Low improves the font rendering considerably. Not perfect now but still...
Now I only need it to run in fullscreen mode. ALT+Enter doesn't help. There are no corresponding options in the video settings, and I couldn't find a command line switch. I did reinstall and quickly test Dom2 just to rule out faulty driver installations etc.
Oh well, life's a ... witch and then you die http://forum.shrapnelgames.com/images/smilies/wink.gif
Johan K
December 7th, 2006, 05:21 AM
Use -u to start in fullscreen
nilfilter
December 7th, 2006, 08:48 AM
Johan K said:
Use -u to start in fullscreen
Thanks. I found the -u switch yesterday in another thread, using it does not make a difference though.
Strangely, the -u switch is not being listed at all (dom3 --help).
Someone more knowledgeable than I am might find a hint in the debugging info. Again, Dom2 works just fine on this machine.
<font class="small">Code:</font><hr /><pre> $ dom3 -d -o -u
-------------------------
----- DOMINIONS ---------
-------------------------
Version version 3.01 (301)dbglevel 1 pc_endian
datapath='/usr/local/games/dominions3'
confpath='/home/rude/dominions3'
savepath='/home/rude/dominions3/savedgames'
modpath='/home/rude/dominions3/mods'
mappath='/usr/local/games/dominions3/maps'
localmappath='/home/rude/dominions3/maps'
temppath='/tmp/dominions3_14233'
-- InitGLStuff --
Init OpenGL extensions
Renderer (Mesa DRI ProSavageDDR 20050829 AGP 1x)
Vendor (S3 Graphics Inc.)
Version (1.2 Mesa 6.5.1)
supported_ARB_vertex_buffer_object = 0
supported_ARB_multitexture = 1
supported_EXT_texture_env_combine = 0
supported_SGIS_generate_mipmap = 0
supported_ARB_texture_compression = 1
supported_GLX_SGI_swap_control = 0
domdata_path = /usr/local/games/dominions3
Max texture size = 1024
Not a sgi pic, 0
Not a sgi pic, 0
InitPrint
Not a sgi pic, 0
reaver_texshrink 1
Reaver file version 1040
Reaver highestrmod 42 (filemods 43)
Reaver highestrtex 44 (filertex 45)
LoadReaver, time 510
Reaver file version 1030
Reaver highestrmod 78 (filemods 36)
Reaver highestrtex 88 (filertex 44)
Not a sgi pic, 0
-- sound_init --
Init sound
open /dev/dsp
success
-- general_init --
-- start -- </pre><hr />
Arralen
December 7th, 2006, 09:40 AM
Might be the combination of the newer version of the SDL library and your particular graphics card.
Try using the SDL library from Dom2 (1.2.7.0) with Dom3 (1.2.11.0), and the other way round. (backup the old files, or zip them up, first, o.c.)
thejeff
December 7th, 2006, 09:53 AM
As of 3.02 -u didn't run in full screen on Linux for me either. It uses a maximized window, but not full-screen.
Nor was there any other way to get to full-screen.
-u and Alt-Enter both worked in the initial release.
Dedas
December 7th, 2006, 10:10 AM
I run it with --fullscreen and it works wonders.
thejeff
December 7th, 2006, 11:05 AM
Dedas: Does -u work for you? Or switching with Alt-Enter?
Dedas
December 7th, 2006, 11:36 AM
I did some testing:
Version 3.04
-u // working
--fullscreen // working
Alt-Enter // not working
Fullscreen switch in preferences menu // not visible
Version 3.01
Same results as above
-u // working
--fullscreen // working
Alt-Enter // not working
Fullscreen switch in preferences menu // not visible
Version 3.00
Haven't tested recently, but I remember that I could both see the fullscreen switch and use Alt+Enter.
And I know for a fact that I played in fullscreen without adding any switches to the start script. Yes, I have several witnesses http://forum.shrapnelgames.com/images/smilies/happy.gif.
I run Fedora Core 6 (Zod) fully updated yesterday (the 6 of December) with nvidia's latest drivers on an Athlon 1733Mhz with a Geforce 6200.
thejeff
December 7th, 2006, 11:43 AM
Hmmm. I'll play with it again tonight. And try 3.04!
Johan K
December 7th, 2006, 12:51 PM
Thank you for the summary Dedas. What resolution do you run X-windows in? And which resolutions can you choose from?
Dedas
December 7th, 2006, 01:10 PM
I can choose everything from 1280x1024 (used resolution on LCD monitor 17") to 640x480 24bit. Resolutions are autodetected by X11. Here is my xorg.conf:
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "DisableGLXRootClipping" "True"
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Oh, and just want to report that the current version of Beryl freezes the game when switching resolutions. So if anyone is running Beryl (which is very buggy at the moment) switch it off to avoid that and a lot of other problems that it probably will cause.
nilfilter
December 7th, 2006, 05:37 PM
Thanks & Hi again,
Versions 3.0.1 through 3.0.4:
-u // not working
--fullscreen // not working
Alt-Enter // not working
Fullscreen switch in preferences menu // not visible
My X server runs with 16bpp, valid resolutions are 1024x768, 800x600, 640x480 (all at 60Hz). DRI is enabled and working. Let me know if you need more info, e.g. xorg.conf or the xorg log.
Johan K
December 7th, 2006, 07:10 PM
I found the fullscreen problem, sdl was not used and therfore no fullscreen support. It will be fixed in the next patch. 64-bit linux binary should be fine though.
nilfilter
December 7th, 2006, 07:36 PM
Johan K said:
I found the fullscreen problem, sdl was not used and therfore no fullscreen support. It will be fixed in the next patch.
Yayness! Thanks.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.