Jump to content

Graphics


Recommended Posts

My problem with 0AD is simple: is impossible to play because the game works very very slow, perhaps it is for my video card (VIA S3), previously I had problems with Cinnamon, currently Im working with Debian 8 and XFce, but in this configuration, with wine, AoE II runs perfect, so I think is possible to improve 0ad to run faster, or not?

Link to comment
Share on other sites

Can you post your system_info.txt from the game's log folder (see this page)? That should give us an idea of whether your system can run 0 A.D. well. Another thing that might help is a profile capture with Shift+F11 when you notice the game is very slow. Please attach those files in a reply.

Hi Ben, I can not see the log file of the game, Im very newbie in Linux I think, the only two files of the game I found are in /usr/games, are 0ad and pyrogenesis:

here this are:

0ad:

----------------------------------------------------

root@yahia:/usr/games# more 0ad

#!/bin/sh

pyrogenesis=$(which pyrogenesis 2> /dev/null)

if [ -x "$pyrogenesis" ] ; then

"$pyrogenesis" "$@"

elif [ -x /usr/games/pyrogenesis ] ; then

# Fallback in case /usr/games is not in $PATH; see #679033 and LP: #1380737

/usr/games/pyrogenesis "$@"

else

echo "Error: pyrogenesis not found in ($PATH)"

exit 1

fi

-------------------------------------------------

and pyrogenesis is a compilad file.

in the game I dont see any message about graphics, simply runs almost frozen, any action is executed more or less 20 sec. later I do the order with the mouse, I think my video card is too old, it must be the reason, I was looking my system, but cant find any log file, when I have a new computer, or video card at least, may be I'll can play.

Link to comment
Share on other sites

Hello Ben, yes here is the file:

(generated 2015-06-01 09:18:12 UTC)

OS : Linux 3.16.0-4-686-pae (#1 SMP Debian 3.16.7-ckt11-1 (2015-05-2

4))

CPU : i686, Intel Pentium Dual E2140 @ 1.60GHz (1x2x1), 799.99 MHz

Memory : 942 MiB; 109 MiB free

Graphics Card : VMware, Inc. Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)

OpenGL Drivers : 3.0 Mesa 10.4.2; OpenGL 3.0 Mesa 10.4.2

Video Mode : 1600x900:32

Sound Card : Unknown

Sound Drivers : Unknown

OpenGL Extensions:

GL_ARB_multisample

GL_EXT_abgr

GL_EXT_bgra

GL_EXT_blend_color

GL_EXT_blend_minmax

GL_EXT_blend_subtract

GL_EXT_copy_texture

GL_EXT_polygon_offset

GL_EXT_subtexture

GL_EXT_texture_object

GL_EXT_vertex_array

GL_EXT_compiled_vertex_array

GL_EXT_texture

GL_EXT_texture3D

GL_IBM_rasterpos_clip

GL_ARB_point_parameters

GL_EXT_draw_range_elements

GL_EXT_packed_pixels

GL_EXT_point_parameters

GL_EXT_rescale_normal

GL_EXT_separate_specular_color

GL_EXT_texture_edge_clamp

GL_SGIS_generate_mipmap

GL_SGIS_texture_border_clamp

GL_SGIS_texture_edge_clamp

GL_SGIS_texture_lod

GL_ARB_framebuffer_sRGB

GL_ARB_multitexture

GL_EXT_framebuffer_sRGB

GL_IBM_multimode_draw_arrays

GL_IBM_texture_mirrored_repeat

GL_ARB_texture_cube_map

GL_ARB_texture_env_add

GL_ARB_transpose_matrix

GL_EXT_blend_func_separate

GL_EXT_fog_coord

GL_EXT_multi_draw_arrays

GL_EXT_secondary_color

GL_EXT_texture_env_add

GL_EXT_texture_lod_bias

GL_INGR_blend_func_separate

GL_NV_blend_square

GL_NV_light_max_exponent

GL_NV_texgen_reflection

GL_NV_texture_env_combine4

GL_S3_s3tc

GL_SUN_multi_draw_arrays

GL_ARB_texture_border_clamp

GL_ARB_texture_compression

GL_EXT_framebuffer_object

GL_EXT_texture_compression_s3tc

GL_EXT_texture_env_combine

GL_EXT_texture_env_dot3

GL_MESA_window_pos

GL_NV_packed_depth_stencil

GL_NV_texture_rectangle

GL_ARB_depth_texture

GL_ARB_occlusion_query

GL_ARB_shadow

GL_ARB_texture_env_combine

GL_ARB_texture_env_crossbar

GL_ARB_texture_env_dot3

GL_ARB_texture_mirrored_repeat

GL_ARB_window_pos

GL_EXT_stencil_two_side

GL_EXT_texture_cube_map

GL_NV_depth_clamp

GL_NV_fog_distance

GL_APPLE_packed_pixels

GL_APPLE_vertex_array_object

GL_ARB_draw_buffers

GL_ARB_fragment_program

GL_ARB_fragment_shader

GL_ARB_shader_objects

GL_ARB_vertex_program

GL_ARB_vertex_shader

GL_ATI_draw_buffers

GL_ATI_texture_env_combine3

GL_ATI_texture_float

GL_EXT_shadow_funcs

GL_EXT_stencil_wrap

GL_MESA_pack_invert

GL_MESA_ycbcr_texture

GL_NV_primitive_restart

GL_ARB_depth_clamp

GL_ARB_fragment_program_shadow

GL_ARB_half_float_pixel

GL_ARB_occlusion_query2

GL_ARB_point_sprite

GL_ARB_shading_language_100

GL_ARB_sync

GL_ARB_texture_non_power_of_two

GL_ARB_vertex_buffer_object

GL_ATI_blend_equation_separate

GL_EXT_blend_equation_separate

GL_OES_read_format

GL_ARB_color_buffer_float

GL_ARB_pixel_buffer_object

GL_ARB_texture_compression_rgtc

GL_ARB_texture_float

GL_ARB_texture_rectangle

GL_ATI_texture_compression_3dc

GL_EXT_packed_float

GL_EXT_pixel_buffer_object

GL_EXT_texture_compression_dxt1

GL_EXT_texture_compression_rgtc

GL_EXT_texture_mirror_clamp

GL_EXT_texture_rectangle

GL_EXT_texture_sRGB

GL_EXT_texture_shared_exponent

GL_ARB_framebuffer_object

GL_EXT_framebuffer_blit

GL_EXT_framebuffer_multisample

GL_EXT_packed_depth_stencil

GL_ARB_vertex_array_object

GL_ATI_separate_stencil

GL_ATI_texture_mirror_once

GL_EXT_draw_buffers2

GL_EXT_draw_instanced

GL_EXT_gpu_program_parameters

GL_EXT_texture_array

GL_EXT_texture_compression_latc

GL_EXT_texture_integer

GL_EXT_texture_sRGB_decode

GL_EXT_timer_query

GL_OES_EGL_image

GL_ARB_copy_buffer

GL_ARB_depth_buffer_float

GL_ARB_draw_instanced

GL_ARB_half_float_vertex

GL_ARB_instanced_arrays

GL_ARB_map_buffer_range

GL_ARB_texture_rg

GL_ARB_texture_swizzle

GL_ARB_vertex_array_bgra

GL_EXT_texture_swizzle

GL_EXT_vertex_array_bgra

GL_NV_conditional_render

GL_AMD_conservative_depth

GL_AMD_draw_buffers_blend

GL_AMD_seamless_cubemap_per_texture

GL_ARB_ES2_compatibility

GL_ARB_blend_func_extended

GL_ARB_debug_output

GL_ARB_draw_buffers_blend

GL_ARB_draw_elements_base_vertex

GL_ARB_explicit_attrib_location

GL_ARB_fragment_coord_conventions

GL_ARB_provoking_vertex

GL_ARB_sampler_objects

GL_ARB_seamless_cube_map

GL_ARB_shader_texture_lod

GL_ARB_texture_cube_map_array

GL_ARB_texture_multisample

GL_ARB_texture_rgb10_a2ui

GL_ARB_uniform_buffer_object

GL_ARB_vertex_type_2_10_10_10_rev

GL_EXT_provoking_vertex

GL_EXT_texture_snorm

GL_MESA_texture_signed_rgba

GL_ARB_get_program_binary

GL_ARB_robustness

GL_ARB_separate_shader_objects

GL_ARB_shader_bit_encoding

GL_ARB_timer_query

GL_ARB_transform_feedback2

GL_ARB_transform_feedback3

GL_ANGLE_texture_compression_dxt3

GL_ANGLE_texture_compression_dxt5

GL_ARB_base_instance

GL_ARB_compressed_texture_pixel_storage

GL_ARB_conservative_depth

GL_ARB_internalformat_query

GL_ARB_map_buffer_alignment

GL_ARB_shading_language_420pack

GL_ARB_shading_language_packing

GL_ARB_texture_storage

GL_ARB_transform_feedback_instanced

GL_EXT_framebuffer_multisample_blit_scaled

GL_EXT_transform_feedback

GL_AMD_shader_trinary_minmax

GL_ARB_ES3_compatibility

GL_ARB_clear_buffer_object

GL_ARB_explicit_uniform_location

GL_ARB_invalidate_subdata

GL_ARB_stencil_texturing

GL_ARB_texture_query_levels

GL_ARB_texture_storage_multisample

GL_ARB_vertex_attrib_binding

GL_KHR_debug

GL_ARB_multi_bind

GL_ARB_seamless_cubemap_per_texture

GL_ARB_texture_mirror_clamp_to_edge

GL_ARB_vertex_type_10f_11f_11f_rev

GL_EXT_shader_integer_mix

GL_ARB_clip_control

GL_ARB_conditional_render_inverted

GL_KHR_context_flush_control

SMBIOS:

ThatÅ› all, I dont understand this file... do you think is my hardware or my configuration? Very thanks.

Link to comment
Share on other sites

My friend Ben: perhaps you know, the imports in Argentine are closed, so, we can buy hardware, except wich are in stocks of vendors here, if I have any solution to can play 0ad it will be great.

By the other side, I understand you are developer of 0ad, I wish to colaborate, with translation and I'm teacher in history, I can write historical information on all civilizations of the game, if it is requiered.

Thanks, Juan M. Barreiro Arater

Link to comment
Share on other sites

Graphics Card : VMware, Inc. Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)

OpenGL Drivers : 3.0 Mesa 10.4.2; OpenGL 3.0 Mesa 10.4.2

Are you running in a VMWare virtual machine? That wouldn't be a good idea on your system. In any case, it's using software rendering, which will be extremely slow even on brand new computers. If you're not using a VM, you need to find better graphics drivers.

What is the output of this command:

lspci | grep VGA
Link to comment
Share on other sites

Are you running in a VMWare virtual machine? That wouldn't be a good idea on your system. In any case, it's using software rendering, which will be extremely slow even on brand new computers. If you're not using a VM, you need to find better graphics drivers.

What is the output of this command:

lspci | grep VGA
Dear Ben:

I dont install any virtual machine. On the software rendering, it may be a problem, when in the past I tried cinnamon, it shows an alert: "without hardware graphic aceleleration,,,,,"; it was in a previous instalation of Linux Mint, and in that configuration, the probles was obviously, specially in video, (i.e. youtube) now I have Debian with Xfce, and I see a good work in the video speed.

The output of lspci | grep VGA is :

01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [s3 UniChrome Pro] (rev 01)

do you think is possible to play the game with this hardware?

Link to comment
Share on other sites

The output of lspci | grep VGA is :

01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [s3 UniChrome Pro] (rev 01)

do you think is possible to play the game with this hardware?

That is an integrated graphics card from the Via chipset. For some reason, Debian has chosen or defaulted to a software driver for you.

You may have a few different options. First, you need a better driver, and surprisingly there is a project called OpenChrome that works to develop open source drivers for your Via. If you want to try installing the driver, it's available as a Debian package: xserver-xorg-video-openchrome. I don't know what performance you will get with that, probably not worse than software rendering, but it might not work at all or it might have a lot of bugs (it's always a risk with drivers). I'm no expert with Linux drivers.

The next option would be to buy a better discrete graphics card. According to this page, you have a PCI express slot, which is good - that would let you buy just about any graphics card from the past 7-8 years (I wouldn't spend much though, and you would have to check your power supply's max output). Please post the full output of running "lspci" to confirm this.

  • Like 1
Link to comment
Share on other sites

That is an integrated graphics card from the Via chipset. For some reason, Debian has chosen or defaulted to a software driver for you.

You may have a few different options. First, you need a better driver, and surprisingly there is a project called OpenChrome that works to develop open source drivers for your Via. If you want to try installing the driver, it's available as a Debian package: xserver-xorg-video-openchrome. I don't know what performance you will get with that, probably not worse than software rendering, but it might not work at all or it might have a lot of bugs (it's always a risk with drivers). I'm no expert with Linux drivers.

The next option would be to buy a better discrete graphics card. According to this page, you have a PCI express slot, which is good - that would let you buy just about any graphics card from the past 7-8 years (I wouldn't spend much though, and you would have to check your power supply's max output). Please post the full output of running "lspci" to confirm this.

Hi Ben, in fact I was looking for a better driver in openchrome when I had the problem in Mint with cinnamon, and later to improve the performance of video in Debian, but just as you said, it have a lot of bugs (the instalations of some packages of opencrome broken Xfce i.e) I think the better solution will be to buy a NVidia card, Im almost sure I can get one (oldie) .

the output of lspci is:

yahia@yahia:~$ lspci

00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller

00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device

00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge

00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller

00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller

00:0f.0 IDE interface: VIA Technologies, Inc. Device 5337 (rev 80)

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)

00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge

00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)

00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge

00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge

01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [s3 UniChrome Pro] (rev 01)

80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)

I think it have no solution or at least a simple solution in the way of configuration, but Im very outdated about Linux, (for 10 years I left linux and I reinstall it 6 monts ago), my previous linux was a Slackware 8, in 2003 more or less, in other computer of course

Im very intrested in 0AD, it looks very the best strategic game anytime, I'm very impressed with the civilizations, is magnific, you can imagine Im teacher in history, a non good in history game can be so bored, but the work in 0AD is good, the shields of civilizations i.e. I know some simbols, and are, in fact simbols from the right people, the eagleof the Visigoths is that eagle, fantastic, I spect when I'll play the game I'll be very happy, congratullations your work in programing it is wonderfull.

Link to comment
Share on other sites

the output of lspci is:

yahia@yahia:~$ lspci

00:00.0 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.1 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.2 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.3 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.4 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:00.5 PIC: VIA Technologies, Inc. P4M890 I/O APIC Interrupt Controller

00:00.6 Host bridge: VIA Technologies, Inc. P4M890 Security Device

00:00.7 Host bridge: VIA Technologies, Inc. P4M890 Host Bridge

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge

00:02.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller

00:03.0 PCI bridge: VIA Technologies, Inc. P4M890 PCI to PCI Bridge Controller

00:0f.0 IDE interface: VIA Technologies, Inc. Device 5337 (rev 80)

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 07)

00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.3 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)

00:10.4 USB controller: VIA Technologies, Inc. USB 2.0 (rev 86)

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237A PCI to ISA Bridge

00:11.7 Host bridge: VIA Technologies, Inc. VT8237/8251 Ultra VLINK Controller

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 7c)

00:13.0 Host bridge: VIA Technologies, Inc. VT8237A Host Bridge

00:13.1 PCI bridge: VIA Technologies, Inc. VT8237A PCI to PCI Bridge

01:00.0 VGA compatible controller: VIA Technologies, Inc. P4M890 [s3 UniChrome Pro] (rev 01)

80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller (rev 10)

Hmm, it doesn't list PCI express (PCIe), maybe they didn't include one on that motherboard, though it's advertised as a feature of the chipset... Care to open the case and take a look at the PCI slots? This image shows the different types side by side: http://en.wikipedia.org/wiki/PCI_Express#/media/File:PCIExpress.jpg

Link to comment
Share on other sites

Hmm, it doesn't list PCI express (PCIe), maybe they didn't include one on that motherboard, though it's advertised as a feature of the chipset... Care to open the case and take a look at the PCI slots? This image shows the different types side by side: http://en.wikipedia.org/wiki/PCI_Express#/media/File:PCIExpress.jpg

Yes Ben I have 3 free PCI slots, two PCI Express ×16 and one PCI Express ×4, I see. Must I burn my computer Ben?

Edited by yahia
  • Like 1
Link to comment
Share on other sites

Yeah, you shouldn't have a problem finding a decent, cheap PCI-e graphics card that works with Linux. Years ago, I upgraded my old computer from a GeForce4 Ti (pre-shaders) to a GeForce 7600 (one of their last to support AGP) and it really helped game performance, even though the overall system became too unstable to use anymore.

Link to comment
Share on other sites

Yeah, you shouldn't have a problem finding a decent, cheap PCI-e graphics card that works with Linux. Years ago, I upgraded my old computer from a GeForce4 Ti (pre-shaders) to a GeForce 7600 (one of their last to support AGP) and it really helped game performance, even though the overall system became too unstable to use anymore.

cards Evga E-geforce 7600gt 256 mb Gddr3 or Nvidia Geforce 7600 Gt Chipset Gv-nx76t256d-r are the two for sale at low cost here , it is a good choice one of the two I must get?, thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...