LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 07-21-2004, 10:11 PM   #1
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Rep: Reputation: 15
Distorted screen with direct rendering


Well, when I try to start a game (tuxracer ) the screen is all messed up
Well, direct rendering is ok.... so does anybody now what the problem is??

Later i'll give XF86Config and that kind of stuff
 
Old 07-21-2004, 10:19 PM   #2
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 46
It would be better to give your XF86Config now. What is your video card, and what drivers are you using?
 
Old 07-22-2004, 04:57 AM   #3
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
Yeah, yesterday it was late, and now i got all information

XF86Config-4:

################

The XF86Config is in the post below!

################

I just made it, but it works

Output of glxinfo:

################

Code:
debian:/home/erik# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float, 
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9000 DDR Generic
OpenGL version string: 1.3 (X4.3.0-3.9.0)
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array, 
    GL_S3_s3tc, GL_ARB_occlusion_query, GL_ARB_point_parameters, 
    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_transpose_matrix, GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, 
    GL_ARB_vertex_program, GL_ARB_window_pos, GL_ATI_element_array, 
    GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object, 
    GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3, 
    GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size, 
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_stencil_wrap, GL_EXT_texgen_reflection, GL_EXT_texture3D, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, 
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, 
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, 
    GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_texgen_reflection, 
    GL_NV_blend_square, GL_NV_occlusion_query, GL_SGI_color_matrix, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_lod, GL_SGIS_generate_mipmap, GL_SGIS_multitexture, 
    GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x24 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x25 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x26 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x27 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x28 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2a 24 tc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x2b 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2c 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  1 0 Slow
0x2d 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2e 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  1 0 Slow
0x2f 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x30 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  1 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
0x32 24 dc  0 24  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  1 0 None
################

Some things about my computer:
AMD 1800+
Using unstable Debian
Ati 9000 Pro (128MB)
fglrx as video driver
19" inch monitor (could the HorizSync VertRefresh setting distort?? don't know the exact values )

Well, that was all about it..... Let me know if you know the solution

Last edited by Erik Plaggenmar; 07-22-2004 at 05:48 AM.
 
Old 07-22-2004, 05:33 AM   #4
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
oh, that XF86Config is wrong (dri isn't working with it (agp init failed)
this is the one dri is working with:

Code:
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
    Mode 0666
EndSection

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

    Load        "dbe"  	# Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
    Load        "freetype"

    Load	"ati"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


    RgbPath	"/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"



EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"

    Option "AutoRepeat" "500 30"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/psaux"


EndSection


# **********************************************************************
# Monitor section
# **********************************************************************


Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   30-100
    VertRefresh 50-160
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier  "Monitor1"
    HorizSync   30-100
    VertRefresh 50-160
    Option "DPMS"
EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

    Driver      "vga"
EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
    Option "DesktopSetup"               "0x00000000" 
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified" 
    Option "VRefresh2"                  "unspecified" 
    Option "ScreenOverlap"              "0" 
# === TV-out Management ===
    Option "NoTV"                       "no"     
    Option "TVStandard"                 "PAL-N"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
#    BusID "PCI:1:0:0"  #   vendor=1002, device=496e
#    Option	"UseFBDev"		"true"
    Screen 0
EndSection

#Section "Device"
#    Identifier                          "ATI Graphics Adapter1"
#    Driver                              "fglrx"
#    BusID "PCI:01:00:0"  #   vendor=1002, device=496e
#    Option     "UseFBDev"              "true"
#    Screen 1
#EndSection


Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1600x1200" "1400x1050"
    EndSubsection
EndSection

#Section "Screen"
#    Identifier  "Screen1"
#    Device      "ATI Graphics Adapter1"
#    Monitor     "Monitor1"
#    DefaultDepth 24
    #Option "backingstore"

#    Subsection "Display"
#        Depth       24
#        Modes       "1600x1200" "1400x1050"
#    EndSubsection
#EndSection

#Section "ServerLayout"
#
#    Identifier  "Server Layout"
#
#    Screen "Screen0"
#
#
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
#
#EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
#   Screen "Screen1" RightOf "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

#Section "ServerFlags"
#  Option "Xinerama" "true"
  
#EndSection
 
Old 07-22-2004, 06:07 AM   #5
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
Well, I just found out something strange.... I wanted to make a screenshot of the game (with the distorted screen) when he took it.... TuxRacer returned to windowed mode and in windowed mode the picture is fine, no rendering problems.... but how comes that the screen in fullscreen is distroted? Some kind of switch in XF86Config?? I don't get it....
 
Old 07-22-2004, 11:04 AM   #6
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
Anybody???
 
Old 07-22-2004, 05:03 PM   #7
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
 
Old 07-23-2004, 12:37 AM   #8
LavaDevil94
Guru
 
Registered: Jul 2003
Distribution: Gentoo 2004.2: Who needs exmmpkg when you have emerge?
Posts: 1,795

Rep: Reputation: 46
I think that's a known problem with the ATi drivers, check the manual for them on the website. You could try uncommenting this line in your XF config:
# BusID "PCI:1:0:0" # vendor=1002, device=496e
By the way, next time you get a new video card, try nVidia, their support is much better.
 
Old 07-23-2004, 06:18 AM   #9
Erik Plaggenmar
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
thanks, i'll try...
and yeah nvidia is definitely the next card to be found in my pc

more suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct Rendering mapster Mandriva 3 03-30-2005 07:22 AM
Direct Rendering : Yes (but still no 3D!!!) please help! jacksmash Linux - Hardware 13 10-19-2004 07:13 PM
direct rendering zaraza Linux - Hardware 2 02-08-2004 07:20 PM
Direct Rendering jared Linux - General 6 06-05-2003 02:51 PM
Help with direct rendering HellBound Linux - General 3 08-27-2002 03:44 PM


All times are GMT -5. The time now is 11:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration