LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 08-15-2004, 01:04 PM   #1
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Rep: Reputation: 15
3D Hardware Acceleration For Intel 830?


I just installed Redhat 9 on my Thinkpad X30 which has an Intel 830 video card.

The basic display system works fine after installation: it probes an Intel 810 video card, and I designated the monitor as a generic LCD 1024x768. The X and Gnome works fine.

But after I compiled mplayer(0.9 Pre 5) and tried to full screenly play a divx movie, it just has half of the picture. And I noticed that in system settings -> display -> advanced: The "Enable Hardware 3D Acceleration" is grayed and cannot be checked.

I updated XFree86 to 4.4 but it is still the same. The lsmod shows:
Module Size Used by Not tainted
i830 74336 1
agpgart 47776 12 (autoclean)

So the driver should be loaded. And according to /var/log/XFree86.0.log, the DRI and DRM modules are both loaded correctly.

I tried to install the Intel 830 driver for Linux, but I got the "Kernel module did not compile" error.
 
Old 08-15-2004, 05:17 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
what does "glxinfo" say?
 
Old 08-15-2004, 06:11 PM   #3
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
The glxinfo output:

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_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
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_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_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
GLX_EXT_visual_rating
OpenGL vendor string: VA Linux, Inc
OpenGL renderer string: Mesa DRI Intel(R) 830M 20021115 x86/MMX/SSE
OpenGL version string: 1.2 Mesa 5.0.2
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, 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_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, 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_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_object,
GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, 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
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
----------------------------------------------------------------------
0x22 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x23 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x27 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x28 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
 
Old 08-16-2004, 12:15 AM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
well, glxinfo yes direct rendering is on (3d hardware acceleration)

so i don't know what the problem is (it might be grayed for multiple reasons .. maybe it cant choose to not has it on?)

so on the bight sides games work fine then (oh, and by the way, 3d hardware acceleration has nothing to do with the mplayer in full screen ... unless you use gl or gl2 display drivers for it .. then direct rendering (hardware acceleration) makes it run smoothly (well, for me at least ... full screen with no direct rendering for me it was all choppy.. very choppy)

anyways ... use a different video driver for mplayer ... type

mplayer -vo help

for a list of possible ones ... if you chose xv then type

mplayer -vo xv /path/to/move

and see what happens.. just go down the list till you find the one you like best (note: don't use drivers like jpeg, png, or things that look more like file formats ... the reason : jpeg driver outputs all the frames as jpeg files in the correct directory! (good to convert movies into pictures, bad for viewing movies )
 
Old 08-16-2004, 02:37 AM   #5
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
Yeah, maybe it is just a bug of redhat-config-monitor.


Unfortunately, I then tried a snapshot for 830 on dri.sourceforge.net and it screwed things up. It will say "unresolved symbol in ............../i830.o"

I revert back to XFree 4.3, and upgrade to 4.4. Then the DRI doesn't work anymore, if use modprobe i830, will will say: kernel module mismatch.

And I errorly deleted /lib/modules/kernal/2.4.20-8/drivers/char/agp/agpgart.

Looks like it is all messed up.
 
Old 08-16-2004, 12:19 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
yea .. get just reinstall the kernel (ill assume you didn't make it yourself) , just be sure to delete the modules first, then reinstall XFree86 and see if it works again then
 
Old 08-16-2004, 12:47 PM   #7
welson_sun
LQ Newbie
 
Registered: Jun 2004
Posts: 28

Original Poster
Rep: Reputation: 15
What do you mean by "reinstall the kernel"? I haven't compiled the kernel yet, but I plan to do that when I have more time.

Regarding the modules, anybody know what XFree86 installation added/changed? I only backed up /etc/X11, /etc/fonts, /usr/X11R6, but looks like it also added something elsewhere.

I would like to revert back to 4.3 and reinstall 4.4.

The 4.4 installation will compile the DRM ( I downloaded the DRM tgz ), but why it then shows "kernel mismatch"? Shall I do a make oldconfig first?
 
Old 10-02-2004, 04:31 PM   #8
valent_h
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
I cannot solve the problem for you. Here is a suggestion. Try "make dep" for kernel source...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware acceleration not working on Intel D845GVSR MB with Slack 10.1 rsamurti Slackware - Installation 4 02-09-2006 02:14 AM
Hardware acceleration : NVIDIA / ATI on Intel 845 koodoo Linux - Newbie 4 06-14-2005 04:20 PM
Hardware acceleration with Intel 855GME, Kernel 2.6 Ben2210 Linux - Laptop and Netbook 4 12-09-2004 06:53 AM
Enabling Hardware Acceleration Support for Intel 82865 Integrated VGA saqib Linux - Hardware 1 09-20-2004 05:15 AM
toshiba satellite 3000-X4 intel 830 video controler hylewis Linux - Software 0 01-13-2002 12:48 PM


All times are GMT -5. The time now is 05:54 AM.

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