Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
82845G drivers
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gilkyboy
n00b
n00b


Joined: 05 Sep 2003
Posts: 40

PostPosted: Sat Oct 04, 2003 6:43 pm    Post subject: 82845G drivers Reply with quote

I'm having trouble configuring X for resolutions greater than 640x480 at a depth greater than 8.
I have a Dell Dimension 2400 with onboard Intel Extreme 3D graphics with the 82845G/GL chip.
I've tried it with both i810 drivers and i830 drivers and am having no luck. I also tried compliling the drivers from the source on Intels site, still no luck. Can anyone shed some light on how to get this working? I have read of a memory problem limiting it, but I don't know if that's the case or not. I also tried the vesa drivers but had no luck there either (though some sites said it should work). Thanks for any help you guys can offer, I really appreciate it.
Gilkyboy
Back to top
View user's profile Send private message
ariscris
n00b
n00b


Joined: 04 Oct 2003
Posts: 4
Location: NJ

PostPosted: Sun Oct 05, 2003 4:15 am    Post subject: Reply with quote

Check this out: http://www.geocities.com/randomnumbergenerator2001/

I used it to get good resolution on my Inspiron 1100 laptop with the i845 video chip.

Aris
Back to top
View user's profile Send private message
gilkyboy
n00b
n00b


Joined: 05 Sep 2003
Posts: 40

PostPosted: Sat Oct 11, 2003 4:36 pm    Post subject: Autoload Reply with quote

This is how I used this patch and got it to autoload on boot (based on the previous link with a few gentoo specific additions):

Download the patch from here

Stop your X server, by changing runlevels (if x starts automatically, otherwise do nothing)

Untar and build the patch:

tar -zxf 845patch.tar.gz
cd 845patch
make
Then run the patch, allocating RAM for video (in KB):

./845patch 10000

You will need to add (or uncomment) a line in your /etc/X11/XF86Config file. Your Device section should include the VideoRam and Driver lines like this:

Code:
Section "Device"
Identifier "Intel I845GL chip"
Driver "i810"
VideoRam 10000
EndSection


cp 845patch /sbin/

nano -w /etc/init.d/845patch

Code:
#!/sbin/runscript
start () {
     ebegin "Loading Intel I845GL chip with 10M RAM"
     /sbin/845patch 10000 &> /dev/null
     eend $?
}
stop () {
#This section probably isn't really neccesary
     ebegin "Unloading Intel I845GL chip"
     /sbin/845patch 1024 &> /dev/null
}


chmod +x /etc/init.d/845patch

rc-update add 845patch default


I'm still having some problems however with getting the screen to be a real screen, right now it's a virtual window, which is pretty odd if you ask me. I can actually get a 800x640 or whatever resolution now though. It looks hopeful. I selected no scrolling to the side to see the rest of the screen when I built my XF86Config file. Any help you guys can give to help me solve this problem would be greatly appreciated.
Back to top
View user's profile Send private message
ariscris
n00b
n00b


Joined: 04 Oct 2003
Posts: 4
Location: NJ

PostPosted: Sun Oct 12, 2003 1:48 am    Post subject: Reply with quote

what do you mean by it being a virtual window?
Back to top
View user's profile Send private message
gilkyboy
n00b
n00b


Joined: 05 Sep 2003
Posts: 40

PostPosted: Sat Oct 25, 2003 7:49 pm    Post subject: Virtual Window Reply with quote

By it being a virtual window, I mean that the window has the correct size, but it just extended the window past the edges of the screen so I have to scroll to get to the rest of it. This didn't work before. I'm not sure though if it's getting the right resolution though because I have to scroll to the sides. Is this a problem with my settings, or does the driver just allow virtual windows? Do I need to enable the 845patch to add memory to the chip through BIOS?
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Fri Nov 14, 2003 3:18 pm    Post subject: Reply with quote

Gilkyboy,

is there a problem with your account. I am trying to reply to your message and I can not. My reply ends up in the Outbox folder.
Back to top
View user's profile Send private message
madCoder|GN
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Thu Dec 11, 2003 11:10 am    Post subject: Reply with quote

Thanks for the tip, this worked beautifully. Before the best I could get was 640x480 in 8bpp :|

Does anyone know an optimum amount to reserve for 1024x768 24bpp mode? As an overshot I'm sure, I set 32768. Will it work as well at lower values? (ie: the suggested 10000 above)
_________________
madCoder <madCoder@gamesurge.net>
Abuse Manager
http://www.gamesurge.net/
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Thu Jun 17, 2004 8:42 pm    Post subject: Reply with quote

Let me thank you as well for this patch, which has finally solved my resolution problem on my fresh install! I am also using an Intel 82845G/GL on an Intel Pentium 4, 2.5GHz. It worked perfectly and I did not observe the symptom of a virtual screen larger than the physical screen. (I have performed a networkless install from stage3 v.2004.1.)

Thanks again!
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Thu Jun 17, 2004 11:53 pm    Post subject: Reply with quote

Hmm, i never had that problem, i too am using 845gl chipset and i'm using the default i830 drivers and they seem to work perfect,

i get around 600-650 fps in glxgears at 1280 resolution..

Bye,
Jazz
_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Fri Jun 18, 2004 1:00 am    Post subject: Reply with quote

Hmm... I thought the driver to use was i810 according to my searches. Are you saying I should use i830? (Newbie question.)

Maybe the problem arises because of my monitor (IBM ThinkVision L170).

Anyway, I'm glad it works now.

Cheers
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Fri Jun 18, 2004 1:21 am    Post subject: Reply with quote

Umm, in my x.org config i have the driver name as i810 but in the modules probing i do modprobe i830, seems confusing but sadly thass teh way it works..

Lemme know if ya got problems., also be sure u got DRI and GLX loaded,. if u still get low scores in glxgears let me know..

Bye,
Jazz
_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Fri Jun 18, 2004 3:02 pm    Post subject: Reply with quote

I've tried your suggestion: I've disabled the patch and I've modprobed i830 on reboot instead of i810. Lsmod did show the i830 module loaded as well as the intel_agp. And yes my XF86Config file contains the lines
Code:
Load  "dri"
Load  "glx"
[...snip...]
Section "DRI"
   Mode 0666
EndSection

So I'm assuming I have glx and dri. BTW, I'm using the gentoo-dev-sources (kernel 2.6.5-gentoo-r1).

And... didn't work :?; kdm did not start at depth 24. So I reverted back using the patch and i810. Glxgears can do 26.667 FPS at full screen at 1280x1024 resolution. Is that good or bad?

Before I tried your suggestion I did an emerge -u world which started normally but eventually failed (because I'm befind a firewall which required authentification, but that's a different issue). I wonder if the fact that it failed in the middle might have broken something critical for your suggestion to work. So I'll try again when my system is updated and will let you know.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Fri Jun 18, 2004 9:12 pm    Post subject: Reply with quote

Hmm, please post your glxinfo results !
Lets take a looka at the pesky problem

Bye,
Jazz
_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Fri Jun 18, 2004 9:42 pm    Post subject: Reply with quote

Here it is... I'm having a hard time to understand what this means. BTW, I'm still compiling my world update, but I was NOT compiling when I tested glxgears this morning (KDE was running with only one terminal shell open).

Cheers

Code:
bash-2.05b# glxinfo
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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
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  1 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x23 24 tc  1 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  1 24  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Sat Jun 19, 2004 1:21 am    Post subject: Reply with quote

nextgen wrote:
Here it is... I'm having a hard time to understand what this means. BTW, I'm still compiling my world update, but I was NOT compiling when I tested glxgears this morning (KDE was running with only one terminal shell open).

Cheers

Code:
bash-2.05b# glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No

OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4


Duh, ok u got the Direct Rendring OFF, and it so seems that u're running the Xfree and not X.org ? is it true ?

Ok, lets go one by one.. First switch to X.org if u havent as sooner or later u have to anyways..

Then configure ur X.org config file with respect to following :-
Code:

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   Load  "dri"
   Load  "drm"
   Load  "glx"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
   Load  "speedo"
EndSection

Section "Device"
          Identifier  "Card0"
   Driver      "i810"
   VendorName  "Intel Corp."
   BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
        Option "AGPMode" "4"
        Option "EnablePageFlip" "true"
EndSection


 Section "DRI"
 Mode 0666
 EndSection


Once u done that its time to look into your kernel config.. i think u're definately messing up something there..

Code:

Device Drivers -> Character Devices ->

(63)  Maximum tty device number
[*] Legacy (BSD) PTY support
(256) Maximum number of legacy PTY in use

<*> Intel/AMD/VIA HW Random Number Generator support
<*> /dev/nvram support
<*> Enhanced Real Time Clock Support

<*> /dev/agpgart (AGP Support)
<*>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<*>   Intel 830M, 845G, 852GM, 855GM, 865G


Thats it Disable everything else, from the Charater devices section unless u need it.. but be sure u put the things that i listed into the kernel and not as modules

Then after emerging the X.org shift to the xorg open gl ! by, typing in
#Opengl-update xorg-x11

I think then u need to reboot or restart X whatever u prefer and then again check the glxinfo, this time it should point the Direct rendring as Yes.,

Then it should work fine.. Letme know how it goes,. Use a 2.6 kernel..

BYe,
Jazz
_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Mon Jun 21, 2004 5:18 pm    Post subject: Reply with quote

Hi,

Thanks for your advice. I have done all what you've said EXCEPT switching to X.org. The reason is that I did switch to X.org on another computer over the weekend after reading advice to do so on several threads on the Gentoo forums. However, I ran into various troubles (masked and blocked packages, potential future conflicts with xfree, xterm not behaving the same way). So for a newbie like me this is a day-long endeavour. It was a pain. I can't afford to spend that much time fixing my work machine (which is the machine pertaining to the current thread). So I won't switch to X.org in the short term unless you can argue that there may me serious consequences.

I wish I had installed X.org from the beginning, but the current version of the Gentoo Handbook does not even mention X.org. If it is preferable to install X.org instead of xfree, I'd suggest to add a note about this in the Gentoo Handbook.

Anyway, after applying your other fixes, I *still* need the patch to start kdm at depth 24. Glxgears does 30.400 FPS and I have:
Code:
bash-2.05b# 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: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: 2d3D, Inc
OpenGL renderer string: Mesa DRI Intel(R) 845G 20021115
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_transpose_matrix, 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_convolution, GL_EXT_compiled_vertex_array, 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_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
    GL_MESA_window_pos, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGI_color_table
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  1 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x23 24 tc  1 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  1 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  1 24  0 r  y  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x27 24 tc  1 24  0 r  .  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x28 24 tc  1 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x29 24 tc  1 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow



FYI, here is my XF86Config:

Code:
bash-2.05b# cat /etc/X11/XF86Config
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "drm" #Added on 20040621
        Load  "glx"
        Load  "xtrap"
        Load  "freetype" #Added on 20040621
        Load  "type1"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "AutoRepeat" "500 30"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "IBM"
        ModelName    "IBM L170"
        Option       "DPMS"
        HorizSync    31-81
        VertRefresh  55-76
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
        BusID       "PCI:0:2:0"
        VideoRam    65536
        Option      "AGPMode" "4"  #Added on 20040621
        Option      "EnablePageFlip" "true" #Added on 20040621
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24

        SubSection "Display"
                Depth     8
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes       "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort    0 0
        EndSubSection
EndSection

Section "DRI"
   Mode 0666
EndSection


Thanks for all your advice. I really appreciate. Sorry I'm chickening out on the switch to X.org.
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Tue Jun 22, 2004 12:34 am    Post subject: Reply with quote

Ok well if u think that it might make ur work machine useless while shifting to X.org, i think u got some misunderstanding.. it'll only take around 2-3 hrs to compile and it can easily be dont in the background..

So one its done all u need is to shit to the new configurations thats it.. If u want i'll post my config file here.. so u dont need to go through the configuration manually too..

On the other hand, u got ur DRI enabled, but still u're getting very very low frame rates.. now i had a working system with xfree too , but still i never got framerates below 550fps.. so i dunno exactly whats happenin in your case, Maybe some pro might help u on this..

Umm, thats al i can help for now.. if u need to swich to x.org, lemme know..

BYe,
Jazz

Code:

root@Matrix{/home/jazz}> /usr/X11R6/bin/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_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: 2d3D, Inc
OpenGL renderer string: Mesa DRI Intel(R) 845G 20021115 x86/MMX+/SSE2
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


see that i got this in my strings
OpenGL renderer string: Mesa DRI Intel(R) 845G 20021115 x86/MMX+/SSE2
OpenGL version string: 1.2 Mesa 5.0.2

First is that i got the MMX+ and the SSE2 instructions enabled and second is that i got a higher version of OpenGL Mesa driver..

So what i would advise is to add mmx and sse to your use flags and try to recompile xfree.. maybe that helps ?

So ur command should look like
Code:

USE="3dfx 3dnow mmx sse dga opengl truetype" emerge x11-base/xfree-4.3.0-r7

_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Wed Jun 23, 2004 6:47 pm    Post subject: Reply with quote

I know the machine would be useable while compiling xorg-x11, but I did try the switch on another machine and I have experienced several other problems related to this. First of all, xorg-x11 is a masked package and is blocked by xfree. So I had to unmerge xfree (which I felt was a somewhat scary operation) Then, after emerging xorg-x11 and switching to it, I had a working system. But I realised the defaults for xterm weren't the same and I did have a hard time to reset the options (in fact I never could :oops:). Then I read about the problem that some packages list xfree as a dependency, which complicates system updates. In the end, an emerge -u world reinstalled xfree on top of xorg-x11, so I ended up switching back to xfree. I know there must be way to make a clean and successful switch to xorg-x11 (and believe me I tried and read lots for solutions), but for a newbie like me I must shamely admit this was too much. Despite praises for xorg-x11, it seems to me that xfree is still the Gentoo standard at this moment.

However, I did add your USE setting to my make.conf file and I've re-emerged xfree. This didn't fix my problem. My glxinfo still doesn't show x86/MMX+/SSE2 and the OpenGL version is still lower than yours (see below). I still need the patch to start X at depth 24 and my frame rates remained as low as before. But that's something I can live with. Thanks for your help!

Code:
bash-2.05b# 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: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: 2d3D, Inc
OpenGL renderer string: Mesa DRI Intel(R) 845G 20021115
OpenGL version string: 1.2 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_transpose_matrix, 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_convolution, GL_EXT_compiled_vertex_array, 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_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
    GL_MESA_window_pos, GL_NV_texgen_reflection, GL_SGI_color_matrix,
    GL_SGI_color_table
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  1 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x23 24 tc  1 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x24 24 tc  1 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  1 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x26 24 tc  1 24  0 r  y  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x27 24 tc  1 24  0 r  .  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x28 24 tc  1 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x29 24 tc  1 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
Back to top
View user's profile Send private message
R. Bosch
Apprentice
Apprentice


Joined: 07 Jun 2004
Posts: 184
Location: NL

PostPosted: Mon Jul 05, 2004 1:25 pm    Post subject: Reply with quote

Jazz wrote:
Hmm, i never had that problem, i too am using 845gl chipset and i'm using the default i830 drivers and they seem to work perfect,

i get around 600-650 fps in glxgears at 1280 resolution..


hmmmm.... at 16bits right....?

Here i have 340fps at 24bits... :-(
Got a compraq evo with a P4@2GHz

Trying to figure out why the modules won't compile....

Modules at /usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel

Got
Code:
make -C /lib/modules/2.6.7-gentoo-r8/build  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.7-gentoo-r8'
  CC [M]  /usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel/gamma_drv.o
In file included from /usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel/gamma_drv.c:58:
/usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel/drm_vm.h: In function `gamma_do_vm_nopage':
/usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel/drm_vm.h:104: error: structure has no member named `count'
make[2]: *** [/usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel/gamma_drv.o] Error 1
make[1]: *** [_module_/usr/src/xorg-x11-6.7.0-r1/linux/drm/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.7-gentoo-r8'
make: *** [modules] Error 2
every time
:evil:
_________________
Greetings / Met vriendelijke groet,

R. Bosch
Back to top
View user's profile Send private message
gilkyboy
n00b
n00b


Joined: 05 Sep 2003
Posts: 40

PostPosted: Sat Aug 28, 2004 6:46 am    Post subject: maybe this will help Reply with quote

I found this while doing a google search:
http://www.linuxquestions.org/questions/showthread.php?s=&forumid=18&threadid=176760

it helps a gentooite out with the drivers, specifically, it says add:
VIDEO_CARDS="i810 i830"

to our make.conf , then remerge xfree-drm - I read somewhere that xorg includes drm modules, if that's true, it might help to remerge xorg. Not sure. I haven't tested this, but I'm going to try recompiling xorg tonight.
Back to top
View user's profile Send private message
nextgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 107
Location: Montreal, Quebec, Canada

PostPosted: Sat Aug 28, 2004 5:15 pm    Post subject: 845patch Reply with quote

I don't know whether gilkyboy's suggestion work, but yesterday I have installed RHEL 3.0 AS on my P4 IBM Netvista (it's my work computer) and XFree86 did *not* work out of the box after running redhat-config-xfree86. I could not get high resolutions at high depth (16 or 24)... same problem I previously had using gentoo.

This awesome page (http://www.chzsoft.com.ar/855patch.html) has a 845patch that saved me, even though my Netvista is not part of their list of affected systems. Check it out! There are several patches as well as a nicely explained diagnostic of the problem.

The page mentioned that *in some cases* updating the BIOS is sufficient to correct the problem. So you may want to check if your BIOS is up-to-date before you try the patch.

-nextgen
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri Feb 18, 2005 7:40 pm    Post subject: Reply with quote

Update: Apparently, the i915 module is replacing the i830 module with some added goodness. Check in out when you config a >=2.6.10 kernel.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Sun Dec 04, 2005 1:39 am    Post subject: Reply with quote

I've the same machine as gilkyboy, and about the same luck with X11. on exit i noticed a message about my lack of a /dev/agpgart, though i followed jazz's kernel config to a T. sup with that?
_________________
Psalm 9:16
Back to top
View user's profile Send private message
Higgaion
n00b
n00b


Joined: 01 Dec 2005
Posts: 43
Location: Oklahoma

PostPosted: Sun Dec 04, 2005 10:19 pm    Post subject: Reply with quote

a portion of my char devices configuration:

Code:
 <*> /dev/agpgart (AGP Support)                                            │ │
  │ │   < >   ALI chipset support                                                 │ │
  │ │   < >   ATI chipset support                                                 │ │
  │ │   < >   AMD Irongate, 761, and 762 chipset support                          │ │
  │ │   < >   AMD Opteron/Athlon64 on-CPU GART support                            │ │
  │ │   <M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support                   │ │
  │ │   < >   NVIDIA nForce/nForce2 chipset support                               │ │
  │ │   < >   SiS chipset support                                                 │ │
  │ └───┴(+)──────────────────────────────────────────────────────────────────────┘


Code:
drm: Unknown symbol agp_bind_memory
drm: Unknown symbol agp_enable
drm: Unknown symbol agp_find_bridge
drm: Unknown symbol agp_backend_acquire
drm: Unknown symbol agp_free_memory
drm: Unknown symbol agp_allocate_memory
drm: Unknown symbol agp_unbind_memory
drm: Unknown symbol agp_copy_info
drm: Unknown symbol agp_backend_release
i810: Unknown symbol drm_open
i810: Unknown symbol drm_fasync
i810: Unknown symbol drm_poll
i810: Unknown symbol drm_core_get_reg_ofs
i810: Unknown symbol pci_pretty_name
i810: Unknown symbol drm_irq_uninstall
i810: Unknown symbol drm_get_dev
i810: Unknown symbol drm_ioctl
i810: Unknown symbol drm_exit
i810: Unknown symbol drm_debug
i810: Unknown symbol drm_core_get_map_ofs
i810: Unknown symbol drm_init
i810: Unknown symbol drm_cleanup_pci
i810: Unknown symbol drm_mmap
i810: Unknown symbol drm_release
i830: Unknown symbol drm_open
i830: Unknown symbol drm_fasync
i830: Unknown symbol drm_poll
i830: Unknown symbol drm_core_get_reg_ofs
i830: Unknown symbol pci_pretty_name
i830: Unknown symbol drm_irq_uninstall
i830: Unknown symbol drm_get_dev
i830: Unknown symbol drm_ioctl
i830: Unknown symbol drm_exit
i830: Unknown symbol drm_debug
i830: Unknown symbol drm_core_get_map_ofs
i830: Unknown symbol drm_init
i830: Unknown symbol drm_cleanup_pci
i830: Unknown symbol drm_mmap
i830: Unknown symbol drm_release
i915: Unknown symbol drm_open
i915: Unknown symbol drm_fasync
i915: Unknown symbol drm_poll
i915: Unknown symbol drm_core_get_reg_ofs
i915: Unknown symbol drm_pci_alloc
i915: Unknown symbol drm_irq_uninstall
i915: Unknown symbol drm_ioctl
i915: Unknown symbol drm_exit
i915: Unknown symbol drm_debug
i915: Unknown symbol drm_core_get_map_ofs
i915: Unknown symbol drm_init
i915: Unknown symbol drm_pci_free
i915: Unknown symbol drm_mmap
i915: Unknown symbol drm_core_reclaim_buffers
i915: Unknown symbol drm_release
intel_agp: Unknown symbol agp_bridge
intel_agp: Unknown symbol agp_free_key
intel_agp: Unknown symbol global_cache_flush
intel_agp: Unknown symbol agp_generic_enable
intel_agp: Unknown symbol agp_generic_insert_memory
intel_agp: Unknown symbol agp_generic_destroy_page
intel_agp: Unknown symbol agp_off
intel_agp: Unknown symbol agp_remove_bridge
intel_agp: Unknown symbol agp_generic_mask_memory
intel_agp: Unknown symbol agp_create_memory
intel_agp: Unknown symbol agp_generic_alloc_by_type
intel_agp: Unknown symbol agp_generic_free_by_type
intel_agp: Unknown symbol agp_alloc_bridge
intel_agp: Unknown symbol agp_add_bridge
intel_agp: Unknown symbol agp_generic_remove_memory
intel_agp: Unknown symbol agp_generic_create_gatt_table
intel_agp: Unknown symbol agp_generic_free_gatt_table
intel_agp: Unknown symbol agp_generic_alloc_page
intel_agp: Unknown symbol agp_put_bridge


these are the dmesg i get when i try to load modules...

what module is suposed to provide the /dev/agpgart device?

i'll post any other info as needed
thank you much.
_________________
Psalm 9:16
Back to top
View user's profile Send private message
Jazz
Guru
Guru


Joined: 16 Nov 2003
Posts: 543
Location: Melbourne, Australia

PostPosted: Sun Dec 04, 2005 10:48 pm    Post subject: Reply with quote

Umm, try compiling them as internal instead of modules., and post your results.

Bye,
jazz
_________________
In 2010, M$ Windows will be a quantum processing emulation layer for a 128-bit mod of a 64-bit hack of a 32-bit patch to a 16-bit GUI for an 8-bit operating system written for a 4-bit processor from a 2-bit company that can't stand 1 bit of competition.
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
Goto page 1, 2  Next
Page 1 of 2

 
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