The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2024, 12:13:23 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Changing resolution scrambles display
« previous next »
Pages: [1] Print
Author Topic: Changing resolution scrambles display  (Read 3929 times)
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Changing resolution scrambles display
« on: May 05, 2007, 02:50:24 am »

I'm using version 0.6.2 of UQM, and when I try to start with the opengl option (-o) or change the resolution in setup, the graphics 'scramble'.  Everything is fine if I stick with the standard resolution and don't use opengl.

I guess this is something to do with opengl.  My computer has an Intel GMA 950 - maybe that's the problem?
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Changing resolution scrambles display
« Reply #1 on: May 05, 2007, 03:44:18 am »

Do you have the most recent video drivers for your graphics card?
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: Changing resolution scrambles display
« Reply #2 on: May 05, 2007, 11:27:58 am »

I should have also mentioned that I'm running this on Linux.  I'm using the latest version of Ubuntu, 7.04.  My xorg.conf file tells me I'm using the i810 driver.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Changing resolution scrambles display
« Reply #3 on: May 05, 2007, 11:35:36 am »

Can you post your xorg.conf? My laptop (with an i855) also uses the i810 driver (on OpenSUSE 10.2, though) and UQM works fine.

Edit: And while you're at it, the outputs of xdpyinfo and glxinfo would also help.
« Last Edit: May 05, 2007, 11:39:27 am by Novus » Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: Changing resolution scrambles display
« Reply #4 on: May 05, 2007, 11:44:52 am »

xorg.conf:

Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf(5) manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice     "stylus" "SendCoreEvents"
InputDevice     "cursor" "SendCoreEvents"
InputDevice     "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

xdpyinfo output:

Code:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    70200000
X.Org version: 7.2.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x1400078, revert to Parent
number of extensions:    30
    BIG-REQUESTS
    Composite
    DAMAGE
    DPMS
    Extended-Visual-Information
    GLX
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XAccessControlExtension
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-DGA
    XFree86-DRI
    XFree86-Misc
    XFree86-VidModeExtension
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (250x181 millimeters)
  resolution:    104x108 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x5d
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xfa0033
    KeyPressMask             KeyReleaseMask           EnterWindowMask         
    LeaveWindowMask          StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask FocusChangeMask          PropertyChangeMask       
    ColormapChangeMask       
  number of visuals:    17
  default visual id:  0x23
  visual:
    visual id:    0x23
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x24
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x25
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x26
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x27
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x28
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x29
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2a
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2b
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2c
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2d
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2e
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x2f
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x30
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x31
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x32
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x5b
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

glxinfo output:
Code:
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 6.5.2
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_imaging,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
    GL_APPLE_packed_pixels, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SUN_multi_draw_arrays

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x5b 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon

Phew!
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Changing resolution scrambles display
« Reply #5 on: May 05, 2007, 05:51:53 pm »

Thanks. Looks like X.org is correctly configured, except that direct rendering does not seem to be working (which would cause OpenGL to fail).

I'd check with lsmod which modules are loaded (you should have one called i915, possibly i810) and check the X server log (/var/log/Xorg.0.log on my system) for error messages related to this.

If the necessary kernel module is missing try loading it with "modprobe i915" (as root) and restart X. If that's not it, please post the X.org log file and output of lsmod.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: Changing resolution scrambles display
« Reply #6 on: May 05, 2007, 08:27:56 pm »

It likes like the 915 module has been loaded. The output of lsmod:

Code:
Module                  Size  Used by
binfmt_misc            12680  1
rfcomm                 40856  0
l2cap                  25728  5 rfcomm
bluetooth              55908  4 rfcomm,l2cap
nvram                   9992  1
uinput                 10240  1
i915                   24448  2
drm                    81044  3 i915
ppdev                  10116  0
acpi_cpufreq           10056  1
cpufreq_ondemand        9228  1
cpufreq_powersave       2688  0
cpufreq_userspace       5408  0
cpufreq_conservative     8200  0
cpufreq_stats           7360  0
freq_table              5792  3 acpi_cpufreq,cpufreq_ondemand,cpufreq_stats
dev_acpi               12292  0
tc1100_wmi              8068  0
sony_acpi               6284  0
pcc_acpi               13184  0
ibm_acpi               31512  0
asus_acpi              17308  0
backlight               7040  2 ibm_acpi,asus_acpi
dock                   10268  0
container               5248  0
ac                      6020  0
sbs                    15652  0
battery                10756  0
i2c_ec                  5888  1 sbs
i2c_core               22784  1 i2c_ec
button                  8720  0
nls_utf8                3072  1
ntfs                  107764  1
nls_iso8859_1           5120  1
nls_cp437               6784  1
vfat                   14208  1
fat                    53916  1 vfat
ipv6                  268704  10
sbp2                   23812  0
parport_pc             36388  0
lp                     12452  0
parport                36936  3 ppdev,parport_pc,lp
fuse                   46612  0
snd_hda_intel          21912  1
snd_hda_codec         205440  1 snd_hda_intel
snd_pcm_oss            44544  0
snd_mixer_oss          17408  1 snd_pcm_oss
snd_pcm                79876  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_dummy           4740  0
snd_seq_oss            32896  0
snd_seq_midi            9600  0
snd_rawmidi            25472  1 snd_seq_midi
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
irtty_sir               9600  0
sir_dev                17156  1 irtty_sir
snd_seq                52592  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
pcmcia                 39212  0
nsc_ircc               24208  0
sdhci                  18700  0
snd_timer              23684  2 snd_pcm,snd_seq
snd_seq_device          9100  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
xpad                    9988  0
iTCO_wdt               11812  0
iTCO_vendor_support     4868  1 iTCO_wdt
usbhid                 26592  0
hid                    27392  1 usbhid
mmc_core               26756  1 sdhci
ipw3945               118816  1
irda                  201276  3 irtty_sir,sir_dev,nsc_ircc
yenta_socket           27532  1
rsrc_nonstatic         14080  1 yenta_socket
pcmcia_core            40852  3 pcmcia,yenta_socket,rsrc_nonstatic
ieee80211              34760  1 ipw3945
ieee80211_crypt         7040  1 ieee80211
crc_ccitt               3072  1 irda
pcspkr                  4224  0
af_packet              23816  2
snd                    54020  12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8672  1 snd
snd_page_alloc         10888  2 snd_hda_intel,snd_pcm
intel_agp              25116  1
psmouse                38920  0
agpgart                35400  3 drm,intel_agp
serio_raw               7940  0
shpchp                 34324  0
pci_hotplug            32576  1 shpchp
tsdev                   8768  0
evdev                  11008  6
ext3                  133128  1
jbd                    59816  1 ext3
mbcache                 9604  1 ext3
sg                     36252  0
sd_mod                 23428  5
generic                 5124  0 [permanent]
ata_piix               15492  4
ehci_hcd               34188  0
e1000                 126016  0
ata_generic             9092  0
libata                125720  2 ata_piix,ata_generic
scsi_mod              142348  4 sbp2,sg,sd_mod,libata
ohci1394               36528  0
ieee1394              299448  2 sbp2,ohci1394
uhci_hcd               25360  0
usbcore               134280  5 xpad,usbhid,ehci_hcd,uhci_hcd
thermal                14856  0
processor              31048  2 acpi_cpufreq,thermal
fan                     5636  0
fbcon                  42656  0
tileblit                3584  1 fbcon
font                    9216  1 fbcon
bitblit                 6912  1 fbcon
softcursor              3200  1 bitblit
vesafb                  9220  0
capability              5896  0
commoncap               8192  1 capability

The Xorg log file is too big to post here.   I can email you the whole file if you want it.  Here's every line in the log file that contains GLX, 810 or 915.

Code:
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "i810"
(II) Loading /usr/lib/xorg/modules/drivers//i810_drv.so
(II) Module i810: vendor="X.Org Foundation"
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
915GM, 945G, 945GM, 965G, 965G, 965Q, 946GZ
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(**) I810(0): Depth 24, (--) framebuffer bpp 32
(==) I810(0): RGB weight 888
(==) I810(0): Default visual is TrueColor
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Integrated Graphics Chipset: Intel(R) 945GM
(--) I810(0): Chipset: "945GM"
(--) I810(0): Linear framebuffer at 0xD0000000
(--) I810(0): IO registers at addr 0xEE100000
(II) I810(0): 2 display pipes available.
(II) I810(0): detected 7932 kB stolen memory.
(II) I810(0): Kernel reported 238592 total, 1 used
(II) I810(0): I830CheckAvailableMemory: 954364 kB available
(II) I810(0): Will try to reserve 32768 kiB of AGP aperture space
(II) I810(0): Monitoring connected displays enabled
(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoRAM
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 12288 kB
(II) I810(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): BIOS now sees 12288 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 7932 kByte
(==) I810(0): VideoRAM: 65536 kByte
(==) I810(0): video overlay key set to 0x101fe
(**) I810(0): page flipping disabled
(==) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 1313
(==) I810(0): Device Presence: disabled.
(==) I810(0): Display Info: enabled.
(II) I810(0): Broken BIOSes cause the system to hang here.
(II) I810(0): Display Info: CRT: attached: FALSE, present: TRUE, size: (720,400)
(II) I810(0): Display Info: TV: attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Display Info: LFP (local flat panel): attached: TRUE, present: TRUE, size: (1024,768)
(II) I810(0): Display Info: Second (second CRT): attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Display Info: DFP2 (second digital flat panel): attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Display Info: LFP2 (second local flat panel): attached: FALSE, present: FALSE, size: (0,2057)
(II) I810(0): Size of device LFP (local flat panel) is 1024 x 768
(II) I810(0): No active displays on Pipe A.
(II) I810(0): Currently active displays on Pipe B:
(II) I810(0): LFP (local flat panel)
(II) I810(0): Lowest common panel size for pipe B is 1024 x 768
(==) I810(0): Display is using Pipe B
(--) I810(0): Maximum frambuffer space: 65368 kByte
(II) I810(0): VESA VBE PanelID read successfully
(II) I810(0): PanelID returned panel resolution : 1024x768
(II) I810(0): VESA VBE DDC supported
(II) I810(0): VESA VBE DDC Level 2
(II) I810(0): VESA VBE DDC transfer in appr. 1 sec.
(II) I810(0): VESA VBE DDC read successfully
(II) I810(0): Manufacturer: LEN  Model: 4000  Serial#: 0
(II) I810(0): Year: 2006  Week: 46
(II) I810(0): EDID Version: 1.3
(II) I810(0): Digital Display Input
(II) I810(0): Max H-Image Size [cm]: horiz.: 25  vert.: 18
(II) I810(0): Gamma: 2.20
(II) I810(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) I810(0): First detailed timing is preferred mode
(II) I810(0): redX: 0.569 redY: 0.332   greenX: 0.312 greenY: 0.544
(II) I810(0): blueX: 0.149 blueY: 0.132   whiteX: 0.313 whiteY: 0.329
(II) I810(0): Supported VESA Video Modes:
(II) I810(0): 640x480@60Hz
(II) I810(0): 800x600@60Hz
(II) I810(0): 1024x768@60Hz
(II) I810(0): Manufacturer's mask: 0
(II) I810(0): Supported Future Video Modes:
(II) I810(0): #0: hsize: 1024  vsize 768  refresh: 60  vid: 16481
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 54.2 MHz   Image Size:  246 x 185 mm
(II) I810(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
(II) I810(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 806 v_border: 0
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 43.3 MHz   Image Size:  246 x 185 mm
(II) I810(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
(II) I810(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 806 v_border: 0
(II) I810(0):  LTD121ECHB
(II) I810(0): EDID (in hex):
(II) I810(0): 00ffffffffffff0030ae004000000000
(II) I810(0): 2e10010380191278eacd7591554f8b26
(II) I810(0): 21505421080061400101010101010101
(II) I810(0): 01010101010128150040410026301888
(II) I810(0): 3600f6b900000018ed10004041002630
(II) I810(0): 18883600f6b9000000180000000f0061
(II) I810(0): 433261432812010030640053000000fe
(II) I810(0): 004c5444313231454348420a20200035
(II) I810(0): Printing DDC gathered Modelines:
(II) I810(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync
(II) I810(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
(II) I810(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(II) I810(0): Modeline "1024x768"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
(II) I810(0): Modeline "1024x768"   54.16  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(II) I810(0): Modeline "1024x768"   43.33  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
(--) I810(0): A non-CRT device is attached to pipe B.
(--) I810(0): Maximum space available for video modes: 12288 kByte
*(II) I810(0): Not using mode "640x480" (vrefresh out of range)
(II) I810(0): Not using mode "640x480" (vrefresh out of range)
(II) I810(0): Not using mode "640x480" (vrefresh out of range)
*(II) I810(0): Not using mode "800x600" (vrefresh out of range)
(II) I810(0): Not using mode "800x600" (vrefresh out of range)
(II) I810(0): Not using mode "800x600" (hsync out of range)
*(II) I810(0): Not using mode "1024x768" (hsync out of range)
(II) I810(0): Not using mode "1024x768" (hsync out of range)
(II) I810(0): Not using mode "1024x768" (hsync out of range)
(II) I810(0): Generic Monitor: Using hsync range of 28.00-51.00 kHz
(II) I810(0): Generic Monitor: Using vrefresh range of 43.00-60.00 Hz
(--) I810(0): Virtual size is 1024x768 (pitch 1024)
(**) I810(0): *Built-in mode "1024x768"
(**) I810(0):  Built-in mode "800x600"
(**) I810(0):  Built-in mode "640x480"
(**) I810(0): Display dimensions: (250, 180) mm
(**) I810(0): DPI set to (104, 108)
(==) I810(0): VBE Restore workaround: enabled.
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 7872 kB
(II) I810(0): VESA VBE OEM: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r) 82945GM Chipset Family Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): Allocated 128 kB for the ring buffer at 0x0
(II) I810(0): Allocating at least 512 scanlines for pixmap cache
(II) I810(0): Initial framebuffer allocation size: 6144 kByte
(II) I810(0): Allocated 4 kB for HW cursor at 0xdfff000 (0x2fb93000)
(II) I810(0): Allocated 16 kB for HW (ARGB) cursor at 0xdffb000 (0x2e690000)
(II) I810(0): Allocated 4 kB for Overlay registers at 0xdffa000 (0x2e3dd000).
(II) I810(0): Allocated 64 kB for the scratch buffer at 0xdfea000
(II) I810(0): [drm] loaded kernel module for "i915" driver
(II) I810(0): [drm] DRM interface version 1.3
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xf8eb1000
(II) I810(0): [drm] mapped SAREA 0xf8eb1000 to 0xb7b20000
(II) I810(0): [drm] framebuffer handle = 0xd0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 32 kB for the logical context at 0xdfe2000.
(II) I810(0): Allocated 3072 kB for the back buffer at 0xd800000.
(II) I810(0): Allocated 3072 kB for the depth buffer at 0xd400000.
(II) I810(0): Allocated 52992 kB for textures at 0x620000
(II) I810(0): 0x81f72a8: Memory at offset 0x00020000, size 6144 kBytes
(II) I810(0): 0x81f80d0: Memory at offset 0x0dfff000, size 4 kBytes
(II) I810(0): 0x81f80f8: Memory at offset 0x0dffb000, size 16 kBytes
(II) I810(0): 0x81f7e2c: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x81f72e8: Memory at offset 0x0dfea000, size 64 kBytes
(II) I810(0): 0x81f8210: Memory at offset 0x0dffa000, size 4 kBytes
(II) I810(0): 0x81f7480: Memory at offset 0x0dfe2000, size 32 kBytes
(II) I810(0): 0x81f74a0: Memory at offset 0x0d800000, size 3072 kBytes
(II) I810(0): 0x81f74c0: Memory at offset 0x0d400000, size 3072 kBytes
(II) I810(0): 0x81f74e0: Memory at offset 0x00620000, size 52992 kBytes
(II) I810(0): Activating tiled memory for the back buffer.
(II) I810(0): Activating tiled memory for the depth buffer.
(II) I810(0): [drm] Registers = 0xee100000
(II) I810(0): [drm] ring buffer = 0xd0000000
(II) I810(0): [drm] init sarea width,height = 1024 x 768 (pitch 1024)
(II) I810(0): [drm] Mapping front buffer
(II) I810(0): [drm] Front Buffer = 0x2a004000
(II) I810(0): [drm] Back Buffer = 0xdd800000
(II) I810(0): [drm] Depth Buffer = 0xdd400000
(II) I810(0): [drm] textures = 0xd0620000
(II) I810(0): [drm] Initialized kernel agp heap manager, 54263808
(II) I810(0): [dri] visual configs initialized
(==) I810(0): Write-combining range (0xd0000000,0x10000000)
(II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(II) I810(0): xf86BindGARTMemory: bind key 7 at 0x007bf000 (pgoffset 1983)
(II) I810(0): xf86BindGARTMemory: bind key 0 at 0x0dfff000 (pgoffset 57343)
(II) I810(0): xf86BindGARTMemory: bind key 1 at 0x0dffb000 (pgoffset 57339)
(II) I810(0): xf86BindGARTMemory: bind key 3 at 0x0dfea000 (pgoffset 57322)
(II) I810(0): xf86BindGARTMemory: bind key 2 at 0x0dffa000 (pgoffset 57338)
(II) I810(0): xf86BindGARTMemory: bind key 4 at 0x0dfe2000 (pgoffset 57314)
(II) I810(0): xf86BindGARTMemory: bind key 5 at 0x0d800000 (pgoffset 55296)
(II) I810(0): xf86BindGARTMemory: bind key 6 at 0x0d400000 (pgoffset 54272)
(--) I810(0): A non-CRT device is attached to pipe B.
(II) I810(0): Display plane A is disabled and connected to Pipe A.
(II) I810(0): Display plane B is enabled and connected to Pipe B.
(II) I810(0): Enabling plane B.
(II) I810(0): Display plane A is now disabled and connected to Pipe A.
(II) I810(0): Display plane B is now enabled and connected to Pipe B.
(II) I810(0): PIPEACONF is 0x00000000
(II) I810(0): PIPEBCONF is 0x80000000
(II) I810(0): Mode bandwidth is 47 Mpixel/s
(II) I810(0): maxBandwidth is 1152 Mbyte/s, pipe bandwidths are 252 Mbyte/s, 0 Mbyte/s
(II) I810(0): Using XFree86 Acceleration Architecture (XAA)
(==) I810(0): Backing store disabled
(==) I810(0): Silken mouse enabled
(II) I810(0): Initializing HW Cursor
(**) I810(0): DPMS enabled
(II) I810(0): Set up overlay video
(II) I810(0): Set up textured video
(II) I810(0): X context handle = 0x1
(II) I810(0): [drm] installed DRM signal handler
(II) I810(0): [DRI] installation complete
(II) I810(0): [drm] dma control initialized, using IRQ 20
(II) I810(0): direct rendering: Enabled
(II) I810(0): RandR enabled, ignore the following RandR disabled message.
(II) I810(0): Rotating to 0 degrees
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI GL provider for screen 0




Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Changing resolution scrambles display
« Reply #7 on: May 05, 2007, 11:40:14 pm »

Interesting, it seems Feisty Fawn has AIGLX enabled by default. In my experience, this is not good for OpenGL software (last time I tried to use it, OpenGL apps either slowed down or crashed). You should be able to disable it by adding the following to /etc/X11/xorg.conf:

Code:
Section "ServerFlags"
   Option "AIGLX" "off"
 EndSection
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: Changing resolution scrambles display
« Reply #8 on: May 06, 2007, 12:24:33 pm »

Adding those lines to xorg.conf and restarting X didn't work unfortunately.  Maybe there's a way to stop AIGLX being loaded during startup?  I might ask about this on the Ubuntu forums.

It's annoying that AIGLX is on by default if this breaks other programs that use OpenGL.  I think the only reason this was done was to make it easy for people to try out compiz.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Changing resolution scrambles display
« Reply #9 on: May 06, 2007, 01:21:52 pm »

Adding those lines to xorg.conf and restarting X didn't work unfortunately.  Maybe there's a way to stop AIGLX being loaded during startup?
That was supposed to be it (according to the Ubuntu forum posts I found), but my OpenSUSE installation and your Ubuntu installation differ on this point so I can't really test it. Sorry.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
grinningman
Zebranky food
*
Offline Offline

Posts: 6



View Profile
Re: Changing resolution scrambles display
« Reply #10 on: May 06, 2007, 02:40:08 pm »

No need to be sorry!  I think you've already gone beyond the point of support for UQM and are just being generally helpful now Smiley

I must have done something wrong before.  Now including those lines in xorg.conf does stop AIGLX from being loaded on startup (none of the AIGLX-related messages appear in the Xorg log file).  However, now when I run uqm, the display is no longer scrambled, but it sort of flickers and the main menu doesn't seem to respond to keypresses.  This happens even in 640x480, which worked before.  Oh well, I don't really need to play in resolutions higher than that, I just thought it would be nice to try them out.  Thanks for all the help.

 
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Changing resolution scrambles display
« Reply #11 on: May 06, 2007, 03:36:40 pm »

Considering that your laptop display (or the Intel chipset driving it) is probably going to use the same bilinear interpolation to rescale 640x480 to the display's native resolution (1024x768, I guess) as UQM is using, I don't think the higher resolutions are going to look any better. However, if UQM isn't working, I suspect many other OpenGL games are going to have problems.

Anyhow, my last suggestion at this point is to also disable the composite extension. In Xorg.conf add:

Code:
Section "Extensions"
        Option  "Composite" "Disable"
EndSection

Edit: Just for kicks, I set up AIGLX and beryl on my laptop. I managed to get it running (at the expense of slowing things down quite a bit), but UQM (in fullscreen 1024x768 mode) started getting black rectangles of various sizes flickering on and off (works fine otherwise, though). Switching window manager back to kwin sorted that out. If your window manager is compiz or beryl, I suggest you switch to the default window manager for your desktop environment (metacity for Gnome, kwin for KDE, at least on my system; both have a --replace option to replace the current window manager).
« Last Edit: May 06, 2007, 04:23:01 pm by Novus » Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Changing resolution scrambles display
« Reply #12 on: May 06, 2007, 05:09:05 pm »

I had something similar, of specific pixels in UQM flickering. It turned out to be the tv application I had running on another virtual desktop.
For some reason, pixels that had one specific colour (or perhaps several colours) were filled in with pixels from the tv. What mattered was the location of the tv application when it was hidden (switching virtual desktops just hides the window; minimising the window works too).
I made an image in that specific colour, and as I moved it around the screen I could see parts of the tv. It was kindof cool really; as if I had "x-ray glasses". Smiley
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
flobber
Zebranky food
*
Offline Offline

Posts: 1



View Profile
Re: Changing resolution scrambles display
« Reply #13 on: November 24, 2007, 11:15:07 pm »

I got the same problem with the Radeon driver

    OpenGL renderer string: Mesa DRI R200 20060602 AGP 4x x86/MMX/SSE2 NO-TCL
    OpenGL version string: 1.3 Mesa 6.5.2

I could fix it by changing:

    glTexImage2D (GL_TEXTURE_2D, 0, GL_RGB, texture_width, ...
to
    glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA, texture_width, ...

in src/sc2code/libs/graphics/sdl/opengl.c

There seems to be a bug with glTexSubImage2D when src and dst format differ.

Ciao, ET.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!