Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SavageIX DirectRendering =yes but GLXgears blank
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lunchlady55
n00b
n00b


Joined: 03 Oct 2005
Posts: 12

PostPosted: Fri Jan 12, 2007 10:51 am    Post subject: [SOLVED] SavageIX DirectRendering =yes but GLXgears blank Reply with quote

Yea, yea I know it's an old card, but I can't really replace it, it's soldered on to my T20 mobo.

So, I've been all over Google and the forums looking for an answer to my problems.

glxinfo reports that I have drm enabled, but when I run glxgears, it get a blank window. STDOUT does not show a FPS like in a working setup.
# 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_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
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_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: S3 Graphics Inc.
OpenGL renderer string: Mesa DRI Savage/MX/IX 20050829 x86/MMX/SSE
OpenGL version string: 1.2 Mesa 6.5.1
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_texture_compression, GL_ARB_transpose_matrix, GL_ARB_window_pos,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax,
GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, GL_MESA_window_pos,
GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod

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
----------------------------------------------------------------------
0x22 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x25 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
0x26 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x27 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x28 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
0x29 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow


xorg.conf:
Code:

Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load       "GLcore"
    Load       "extmod"
    Load       "type1"
    Load       "freetype"
    Load       "glx"
    Load       "dri"
EndSection

Section "Files"
    FontPath   "/usr/share/fonts/misc:unscaled"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/corefonts"
    FontPath    "/usr/share/fonts/freefont"
    FontPath    "/usr/share/fonts/sharefonts"
    FontPath    "/usr/share/fonts/terminus"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/share/fonts/unifont"
    FontPath    "/usr/share/fonts/artwiz"
    FontPath   "/usr/share/fonts/75dpi:unscaled"
    FontPath   "/usr/share/fonts/100dpi:unscaled"
    FontPath   "/usr/share/fonts/local/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc104"
    Option "XkbLayout"  "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "5"
    Option "ZAxismapping" "4 5"
EndSection

Section "Monitor"
    Identifier  "LCD"
    DisplaySize 340 270
    HorizSync   31.5 - 48.5
    VertRefresh 60
EndSection

Section "Device"
    Identifier  "Savage"
    Driver      "savage"
    BusID       "PCI:1:0:0"
    VideoRam    8192
    Option      "DmaMode" "None"
    Option      "ForcePCIMode" "true"
    Option      "BusType" "PCI"
    Option      "RenderAccel" "true"
    Option      "sw cursor" "on"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Savage"
    Monitor     "LCD"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
    Mode 0666
EndSection


I'm using the emerged ~x86 x11-drm, libdrm modules, (as opposed to kernel)
I've emerged mesa & mesa-progs

make.conf:
I'm using the emerged x11-drm, libdrm, mesa,
my USE flags have savage & dri
my VIDEO_CARD="savage"
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
USE="-arts -doc -esd -gnome -immqt -ipv6 -kde -oss -pam -python -qt -qt2 -qt3 -qt4 -spell aac alsa bitmap-fonts browser-plugin cjk canna dri drm dvd dvdread faac frontendonly gimpprint gps gtk gtkhtml html immqt-bc java javascript jpeg jpeg2k leim madwifi madwifi-ng mmx msn mysql ncurses nethack nls nptl nptlonly nsplugin offensive opengl pcmcia pcre pdf png posix real samba savage session spell sse svg svga tiff truetype-fonts ttype1-fonts unicode win32codecs X xv xvid wma wmf"
MAKEOPTS="-j2"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="savage"
#FEATURES="ccache"
#CCACHE_DIR="/var/tmp/ccache/"
#CCACHE_SIZE="2G"
ALSA_CARDS="cs46xx"
PORTAGE_BINHOST="https://e.ututo.org.ar/pentium3"
#LINGUAS="ja en_US en"


lsmod shows savage and drm modules have loaded successfully.

Anyone have any ideas?
Has anyone had any luck getting this working on a ThinkPad T20?


Last edited by lunchlady55 on Sat Jan 13, 2007 5:50 am; edited 1 time in total
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Jan 12, 2007 9:50 pm    Post subject: Reply with quote

Hi,
This is a bug with the savage X driver. See http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg26867.html
I solved it by keywording the latest savage driver under x11-drivers and emerging it some time ago...
Back to top
View user's profile Send private message
lunchlady55
n00b
n00b


Joined: 03 Oct 2005
Posts: 12

PostPosted: Sat Jan 13, 2007 5:49 am    Post subject: Reply with quote

Yea, so open mouth, insert foot. It's working now.

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum