Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Hardware Support > ARCHIVES - Notebooks
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Notebooks This is a special forum dedicated to notebook problems.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-Mar-2008, 21:25
barryhenry
Guest
 
Posts: n/a
Arrow

Hello All!

I have an Intel 855 GM integrated graphics card, and can't for the life of me get 3D enabled. I've downloaded the 915resolution package and installed it. I've included the read out from 915resolution -l command in Konsole. The native resolution on my laptop is 1024x768. I have also included a copy of my /etc/X11/xorg.conf file. I think that my problem is that xorg.conf is still loading the "intel" driver, but I don't know how to change this, or what to change it to. saX2 shows my resolution at 1024x768 w/ 24bit and the Activate 3D Effects box checked. I'm running openSuSE 10.3, Intel Celeron M 1.3Ghz, 512 MB Ram


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, GLX_MESA_copy_sub_buffer
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 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_SGI_make_current_read,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel® 852GM/855GM 20061017 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.0.1
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
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_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
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_cull_vertex, GL_EXT_compiled_vertex_array,
GL_EXT_convolution, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_histogram, 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_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_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
GL_EXT_vertex_array, GL_3DFX_texture_compression_FXT1,
GL_APPLE_client_storage, GL_APPLE_packed_pixels,
GL_ATI_blend_equation_separate, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_OES_read_format, 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_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 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

915resolution -l=


Intel 800/900 Series VBIOS Hack : version 0.5.3

Chipset: 855GM
BIOS: TYPE 1
Mode Table Offset: $C0000 + $29f
Mode Table Entries: 39

Mode 30 : 640x480, 8 bits/pixel
Mode 32 : 800x600, 8 bits/pixel
Mode 34 : 1024x768, 8 bits/pixel
Mode 38 : 1280x1024, 8 bits/pixel
Mode 3a : 1600x1200, 8 bits/pixel
Mode 3c : 1920x1440, 8 bits/pixel
Mode 41 : 640x480, 16 bits/pixel
Mode 43 : 800x600, 16 bits/pixel
Mode 45 : 1024x768, 16 bits/pixel
Mode 49 : 1280x1024, 16 bits/pixel
Mode 4b : 1600x1200, 16 bits/pixel
Mode 4d : 1920x1440, 16 bits/pixel
Mode 50 : 640x480, 32 bits/pixel
Mode 52 : 800x600, 32 bits/pixel
Mode 54 : 1024x768, 32 bits/pixel
Mode 58 : 1280x1024, 32 bits/pixel
Mode 5a : 1600x1200, 32 bits/pixel
Mode 5c : 1920x1440, 32 bits/pixel

/etc/X11/xorg.conf

# /.../
# SaX generated X11 config file
# Created on: 2008-03-06T16:11:11-0700.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
Load "dri"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "on"
Option "InputFashion" "Mouse"
Option "Name" "Synaptics;Touchpad"
Option "Protocol" "explorerps/2"
Option "SHMConfig" "on"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[3]"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
DisplaySize 304 228
HorizSync 30-50
Identifier "Monitor[0]"
ModelName "LGPHILIPSLCD LCD MONITOR"
Option "DPMS"
VendorName "LPL"
VertRefresh 43-60
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
Modeline "1024x768" 55.00 1024 1072 1104 1184 768 771 775 790 +HSync -VSync
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622
Modeline "800x600" 34.75 800 848 880 960 600 603 607 617 +HSync -VSync
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "855 GM"
BusID "0:2:0"
Driver "intel"
Identifier "Device[0]"
Option "monitor-LVDS" "Monitor[0]"
Screen 0
VendorName "Intel"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
InputDevice "Mouse[3]" "SendCoreEvents"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection
  #2 (permalink)  
Old 07-Mar-2008, 11:13
kzarog
Guest
 
Posts: n/a
Default

This is how I enabled the i810 driver on my 915GM. First, you need to setup properly 915resolution for the correct resolution. To do so, change in the /etc/sysconfig editor module of YaST (in the system section) the following variables

VIDEOBIOS_PATCH=yes
VIDEOBIOS_PARAMETERS=3c 1280 768

(in my case, I wanted 1280x768 so replace with what you want) 3c can be any mode when running 915resolution that you don't need. Save and restart the system so that the patching takes place. After this, as root in the text console (CTRL+ALT+F1)

1. go to runlevel 3 by

init 3

2. run SaX2 and force the i810 driver

SaX2 -r -m 0=i810

3. inside SaX2, save the configuration WITHOUT testing it. I don't know why this happens, but I used to get a black screen.

4. return to runlevel 5 by

init 5

You should have X running with i810 visibly faster.

Let us know how it went for you.
  #3 (permalink)  
Old 07-Mar-2008, 13:07
barryhenry
Guest
 
Posts: n/a
Default

Quote:
This is how I enabled the i810 driver on my 915GM. First, you need to setup properly 915resolution for the correct resolution. To do so, change in the /etc/sysconfig editor module of YaST (in the system section) the following variables

VIDEOBIOS_PATCH=yes
VIDEOBIOS_PARAMETERS=3c 1280 768

(in my case, I wanted 1280x768 so replace with what you want) 3c can be any mode when running 915resolution that you don't need. Save and restart the system so that the patching takes place. After this, as root in the text console (CTRL+ALT+F1)

1. go to runlevel 3 by

init 3

2. run SaX2 and force the i810 driver

SaX2 -r -m 0=i810

3. inside SaX2, save the configuration WITHOUT testing it. I don't know why this happens, but I used to get a black screen.

4. return to runlevel 5 by

init 5

You should have X running with i810 visibly faster.

Let us know how it went for you.
[/b]

After I go through all of these steps, how do I log back into KDE?
  #4 (permalink)  
Old 07-Mar-2008, 14:36
kzarog
Guest
 
Posts: n/a
Default

When you perform the last step, init 5 the X server starts with the new settings. Yous should be seeing the Login screen soon; if not, there was something wrong.

I forgot to mention the most important part, that is to backup your present xorg.conf in /etc/X11/ so that you can replace the newly produced with the old one in the case that the above instructions do not work.

Actually, now that I see your glxinfo output, there seems to be 3D enabled! The Direct Rendering = Yes says so. Maybe you are not satisfied with the performance of your graphics card?
  #5 (permalink)  
Old 08-Mar-2008, 21:27
barryhenry
Guest
 
Posts: n/a
Default

Quote:
When you perform the last step, init 5 the X server starts with the new settings. Yous should be seeing the Login screen soon; if not, there was something wrong.

I forgot to mention the most important part, that is to backup your present xorg.conf in /etc/X11/ so that you can replace the newly produced with the old one in the case that the above instructions do not work.

Actually, now that I see your glxinfo output, there seems to be 3D enabled! The Direct Rendering = Yes says so. Maybe you are not satisfied with the performance of your graphics card?
[/b]

That's quite possibly the problem. Maybe I'm just expecting more out of my graphics card. I followed the steps above, and now if I try to open SaX2 through Yast, I get a pop up that says I am unable to enable 3D. Is there a way to bring back my old driver, and maybe allocate more RAM to graphics usage?
  #6 (permalink)  
Old 09-Mar-2008, 08:16
kzarog
Guest
 
Posts: n/a
Default

As I said in step 3, you don't need to test the configuration via SaX2. 3D should be configured automatically. Unfortunately, SaX2 doesn't understand it any more for some reason. The way to check if you have 3D acceleration is not via SaX2, but by running

glxgears | grep direct

The output should be

Direct Rendering: Yes

Now, for the i810 driver which should be properly configured if you followed the steps above, you should have in your xorg.conf file the following in the section "Device" with the BoardName and BusID options different since you have the 855, not the 915 as I do

Section "Device"
BoardName "915 GM"
BusID "0:2:0"
Driver "i810"
Identifier "Device[0]"
Option "NoDDC"
Option "LinearAlloc" "65536"
VendorName "Intel"
EndSection

The option LinearAlloc specifies the memory used by the graphics card. In my case, I have set it to 64MB ( 64*1024 ).

To go back to the "intel" driver, just use SaX2 without any extra arguments. For the "intel" driver that ships with 10.3 I'm afraid I do not know how to manually allocate memory.
  #7 (permalink)  
Old 12-Mar-2008, 21:58
barryhenry
Guest
 
Posts: n/a
Default

Quote:
As I said in step 3, you don't need to test the configuration via SaX2. 3D should be configured automatically. Unfortunately, SaX2 doesn't understand it any more for some reason. The way to check if you have 3D acceleration is not via SaX2, but by running

glxgears | grep direct

The output should be

Direct Rendering: Yes

Now, for the i810 driver which should be properly configured if you followed the steps above, you should have in your xorg.conf file the following in the section "Device" with the BoardName and BusID options different since you have the 855, not the 915 as I do

Section "Device"
BoardName "915 GM"
BusID "0:2:0"
Driver "i810"
Identifier "Device[0]"
Option "NoDDC"
Option "LinearAlloc" "65536"
VendorName "Intel"
EndSection

The option LinearAlloc specifies the memory used by the graphics card. In my case, I have set it to 64MB ( 64*1024 ).

To go back to the "intel" driver, just use SaX2 without any extra arguments. For the "intel" driver that ships with 10.3 I'm afraid I do not know how to manually allocate memory.
[/b]
Sorry it took me so long to reply... I tried to run the "glxgears | grep direct" command, nothing happened except opening glxgears. Is this command supposed to print info to a file or something? All of my info matches the above "Device Section" of the xorg.conf file. But, one major thing that I've noticed after following these instructions is that my 3D "Euphoria" screensaver has gotten extremely choppy! It used to flow so nicely before I made these changes. How can I get things back to the way that they were? I think that for my chipset, those were probably the best settings.
  #8 (permalink)  
Old 13-Mar-2008, 08:47
kzarog
Guest
 
Posts: n/a
Default

I'm sorry, it's my mistake it's not glxgears, its

glxinfo | grep direct

If the answer is "yes" and you see chopping screensavers in the first run of the X server, try rebooting.

To go back to your previous settings, just run as root SaX2. This will automatically select the "intel" driver. Test the configuration and if all is well, save it. You should be back to where you were.
  #9 (permalink)  
Old 13-Mar-2008, 13:52
barryhenry
Guest
 
Posts: n/a
Default

Thanks, I'll try to run that as soon as I get home tonight!!
  #10 (permalink)  
Old 13-Mar-2008, 22:47
barryhenry
Guest
 
Posts: n/a
Default

SOLVED!

I ran glxinfo | grep direct as root, I received the reply "NO". So... I ran (again as root)

# sax2 -r

The print out on the screen showed "intel" as the driver. I opened up sax2, checked the "3D Acceleration" box, and I got a pop up that said my changes will take affect the next time X starts. So I pressed "ctrl+alt+backspace", relogged in to X, opened up Konsole, ran the command:

# glxinfo | grep direct

And BOOM! Direct Rendering = YES!!

HA HA! I guess, a new rule! Test to see if it's broken, before trying to fix it! Ah the Linux learning process!

*sorry, Forum Humor
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2