Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i915 and xorg - how?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 11, 12, 13  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5082
Location: Dark side of the mood

PostPosted: Tue Jan 03, 2006 4:11 pm    Post subject: Reply with quote

Dragonlord wrote:
i can not find i915 in my kernel. i have 2.6.14 gentoo-sources .

It's in the DRM section: device Drivers > Character Devices.
Code:
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< >   3dfx Banshee/Voodoo3+
< >   ATI Rage 128
< >   ATI Radeon
< >   Intel I810
<*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->

_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Thu Jan 05, 2006 4:56 pm    Post subject: Reply with quote

Dragonlord wrote:
i'm totally at a loss here with that i915gm chipset although it damn should work but it doesnt.

my situation is the following. i use gentoo-source 2.6.14 and dri-drivers using x11-drm .

my chip is found by agp:
Quote:
dmesg | grep agp
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xa0000000


the dri-drivers are recognized:
Quote:
lsmod
Module Size Used by
i915 17472 0
drm 68184 1 i915

Quote:
dmesg | grep drm
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized i915 1.2.0 20041217 on minor 0:
[drm] Used old pci detect: framebuffer loaded


i have the dri card file:
Quote:
dir -l /dev/dri/
total 0
crw-rw---- 1 root video 226, 0 Jan 1 19:55 card0


but still xorg bails out on my using i810 driver with:
Quote:
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G
(II) Primary Device is: PCI 00:02:0
(--) Assigning device section with no busID to primary device
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) No devices detected.


( xorg is version 6.8.2-r6 )

i have no clue why it does not work as there are no errors in dmes or anything else. the driver SHOULD work but somehow xorg seems to ignore it. as you can see it only lists 915G, but not 915GM, which the dri-snapshot though should provide.

how comes xorg ignores this driver? or rather, why can't i get it working?


I think you need to specify the correct PCI ID for the controller in your Xorg.conf file as it is choosing the wrong one.

Code:
[drm] Initialized i915 1.2.0 20041217 on minor 0:


Code:
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found


Although I could be wrong. I don't have my Laptop in front of me to check my settings. I know for the i810 I had to set the PCI correctly in Xorg.conf for it to correctly pick up the display.
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sat Jan 21, 2006 5:46 pm    Post subject: Reply with quote

Has anybody solved this stupid BusID-Error with i915GM?
Waiting for months on a solution...
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5082
Location: Dark side of the mood

PostPosted: Sat Jan 21, 2006 9:25 pm    Post subject: Reply with quote

hoschi wrote:
Has anybody solved this stupid BusID-Error with i915GM?
Waiting for months on a solution...

If you mean the warning (WW) in Xorg log about the device section that is not found, it can be safely ignored. If you talk about the resource allocation error message that you get at boot with kernels >=2.6.14 (which is in fact a warning too) it can be safely ignored too.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Jan 22, 2006 12:25 pm    Post subject: Reply with quote

The first, but it's also an "Warning". I don't like warnings, sth. seems to be wrong.
Does anybody know the mail-adress from the i810/915/945-Developer?
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5082
Location: Dark side of the mood

PostPosted: Sun Jan 22, 2006 12:34 pm    Post subject: Reply with quote

hoschi wrote:
The first, but it's also an "Warning". I don't like warnings, sth. seems to be wrong.

Since I come from the Windoze world, I've seen many things like: nothing works, there's no warnings, no error messages nowhere in the event logs or maybe informational messages that nobody understands (well, me at least)...

Here I have just a warning message but my system is fullly functional. I personnally prefer that situation to the former and I can cope with it. But it's just me. 8)

hoschi wrote:
Does anybody know the mail-adress from the i810/915/945-Developer?

Should be dri-devel at lists.sourceforge.net if I've understood.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Jan 22, 2006 2:28 pm    Post subject: Reply with quote

Thanks, I unterstand what you mean, Windows in general is a failure :D
Is it a good apology, when I say I am a kraut? Exactly, thoroughly, other stupid things...

There is a little bug, a bug...we will all die :roll:
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5082
Location: Dark side of the mood

PostPosted: Sun Jan 22, 2006 6:40 pm    Post subject: Reply with quote

What is a kraut? (I suppose it's german?)

EDIT: I suppose it's german = I suppose it's a German word? (Not that kraut = German)
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!


Last edited by VinzC on Mon Jan 23, 2006 6:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Mon Jan 23, 2006 2:35 pm    Post subject: Reply with quote

yeah

<edit> Ups, sorry: Kraut = a German
_________________
Just you and me strogg!


Last edited by hoschi on Wed Jan 25, 2006 8:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Mon Jan 23, 2006 6:49 pm    Post subject: Reply with quote

Latest mesa cvs has some updates to i915 dri driver. Maybe it is worth to check it out.
Ebuild is here in tar.bz2 archive (along with some other xgl-related ebuilds) http://dev.gentoo.org/~hanno/
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Wed Jan 25, 2006 10:35 pm    Post subject: Reply with quote

VinzC wrote:
hoschi wrote:
The first, but it's also an "Warning". I don't like warnings, sth. seems to be wrong.

Since I come from the Windoze world, I've seen many things like: nothing works, there's no warnings, no error messages nowhere in the event logs or maybe informational messages that nobody understands (well, me at least)...

Here I have just a warning message but my system is fullly functional. I personnally prefer that situation to the former and I can cope with it. But it's just me. 8)

hoschi wrote:
Does anybody know the mail-adress from the i810/915/945-Developer?

Should be dri-devel at lists.sourceforge.net if I've understood.


-> BusID-Warning Message:
I mailed them today evening (yes, I am late :oops: ), here the answer of Alan Hourihane (DRI-Developer):
Quote:

It's not a problem.

Don't worry about it.

Alan.


I think it is okay to paste it here.
PS: He is fast :D

<edit>
Quote:
It causes no harm and it's just another PCI ID - that's all.

_________________
Just you and me strogg!
Back to top
View user's profile Send private message
mai16
n00b
n00b


Joined: 05 Feb 2006
Posts: 1

PostPosted: Sun Feb 05, 2006 9:47 am    Post subject: Reply with quote

the dri developerseems to be right.
Quote:
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found

its only a warning for the second device of the card. is not connected witch this:
Quote:
(EE) No devices detected.


instead it seems that the version of your i810 module in xorg does not support the chipset.

with kubuntu-live 05/10, the i810 works for i945g chips:

Quote:
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),915GM, 945G


Quote:
II) Loading /usr/X11R6/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.4.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7


with gentoo x11-base/xorg-x11-6.8.2-r6 i got
Quote:
(II) I810: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100,
i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G

and on (xorg-)module loading:
Quote:
(II) Loading /usr/lib/modules/drivers/i810_drv.o
(II) Module i810: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.3.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7


as i see, there is a different module version (1.3.0 vs 1.4.0).

but how to build only this module in newer version for xorg-x11 (without umasking xorg-x11)?
any tips?

mai
Back to top
View user's profile Send private message
mianos
n00b
n00b


Joined: 04 Apr 2004
Posts: 11
Location: Germany

PostPosted: Thu Feb 16, 2006 9:27 pm    Post subject: Reply with quote

hey there
i have here a fresh install of gentoo with modular xorg on my laptop here
before i hade ubuntu hoary and ubuntu flight dapper current rc.
on ubuntu x and dri did its job very fine.
now i am on gentoo and had many probs.
first i installaed xorg-x11 and on a startx he said: i810...bla, no such device...
then i followed the wiki and the modular xorg howto. now x is starting very well( is it much faster in starting up against non modular X?)!
But: glxinfo says: direct rendering: no!

damn :evil: :evil:

any tips? i have vanilla sources and kernel 2.6.15.1 all agp,drm,i915 drivers built as module. any trick there?
why did x his job with dri very well on any other distri, same xorg.conf, same kernel.conf. what could be prob?
i know that xorg can handle the chip in my book! i played quake3 on high details very well!
i tried so much.. :x
Back to top
View user's profile Send private message
mianos
n00b
n00b


Joined: 04 Apr 2004
Posts: 11
Location: Germany

PostPosted: Thu Feb 16, 2006 10:07 pm    Post subject: Reply with quote

glxinfo says dir= no! ok here so, here some very strange facts:

that all looks so good, am i right?
Code:
flo@localhost ~ $ cat /var/log/Xorg.0.log |grep drm
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) I810(0): [drm] DRM interface version 1.2
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe0663000
(II) I810(0): [drm] mapped SAREA 0xe0663000 to 0xb7afa000
(II) I810(0): [drm] framebuffer handle = 0xd0020000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): [drm] Registers = 0xfbe80000
(II) I810(0): [drm] Back Buffer = 0xdf000000
(II) I810(0): [drm] Depth Buffer = 0xde800000
(II) I810(0): [drm] ring buffer = 0xd0000000
(II) I810(0): [drm] textures = 0xd0860000
(II) I810(0): [drm] dma control initialized, using IRQ 10
(II) I810(0): [drm] Initialized kernel agp heap manager, 45088768
(II) I810(0): [drm] installed DRM signal handler
flo@localhost ~ $


and:
Code:
flo@localhost ~ $ cat /var/log/Xorg.0.log |grep 915
(--) PCI:*(0:2:0) Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3, Mem @ 0xfbe80000/19, 0xd0000000/28, 0xfbe40000/18, I/O @ 0xdc00/3
(--) PCI: (0:2:1) Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller rev 3, Mem @ 0xfbd80000/19
        i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915),
        915GM, 945G
(--) Chipset 915GM found
(II) I810(0): VESA VBE OEM: Intel(r)915GM/910ML/915MS Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Product: Intel(r)915GM/910ML/915MS Graphics Controller
(II) I810(0): Integrated Graphics Chipset: Intel(R) 915GM
(--) I810(0): Chipset: "915GM"
(II) I810(0): VESA VBE OEM: Intel(r)915GM/910ML/915MS Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Product: Intel(r)915GM/910ML/915MS Graphics Controller
(II) I810(0): VESA VBE OEM: Intel(r)915GM/910ML/915MS Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Product: Intel(r)915GM/910ML/915MS Graphics Controller
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
flo@localhost ~ $


ok, here some strange things....:
Code:
flo@localhost ~ $ cat /var/log/Xorg.0.log |grep dri
        X.Org XInput driver : 0.5
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
(II) Loading /usr/lib/xorg/modules/drivers/i810_drv.so
        ABI class: X.Org XInput driver, version 0.5
        ABI class: X.Org XInput driver, version 0.5
        ABI class: XFree86 XInput driver, version 0.3
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions/libdri.so
(II) UnloadModule: "dri"
(II) I810: Failed to load module "dri" (already loaded, 0)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [dri] visual configs initialized
(II) Synaptics touchpad driver version 0.14.4 (1404)


but now here is the best i found, he can't find a module named i915_dri.so
i did this: :arrow:
Code:

flo@localhost ~ $ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i915_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri/i915_dri.so failed (/usr/lib/xorg/modules/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to find driver: i915_dri.so
display: :0  screen: 0
direct rendering: No
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_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_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 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_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.2)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    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_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, 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_shadow_funcs, GL_EXT_stencil_two_side, 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_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle,
    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
    GL_HP_occlusion_test, GL_IBM_texture_mirrored_repeat,
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
    GL_SGIX_shadow_ambient, 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
flo@localhost ~ $


^^^ here you can see that he is searching for /usr/lib/xorg/modules/dri/i915_dri.so!
but this file doesn't exist! :roll:
in /usr/lib/xorg/modules/drivers there's no dir called dri

i did a locate i915_dri, this is what i get:
flo@localhost ~ $ locate i915_dri
/usr/lib/modules/dri/dri-old.i915_dri.so
/usr/lib/modules/dri/i915_dri.so

i will trying to do a symlink and wil post any result....

greets, flo
Back to top
View user's profile Send private message
mianos
n00b
n00b


Joined: 04 Apr 2004
Posts: 11
Location: Germany

PostPosted: Thu Feb 16, 2006 10:16 pm    Post subject: Reply with quote

hi, after symlinking i get this:


Code:
flo@localhost ~ $ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.4.1 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/i915_dri.so
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
libGL error:
i915 DRI driver expected DRM version 1.4.x but got version 1.1.0
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No


is there any version conflict? i think, yes there is, and i think its from an early i915-snapshot installation-try :wink:

in which package are the i915 dri drivers? (i have modular x) should i re-emerge mesa? i will try and error :D
Back to top
View user's profile Send private message
mianos
n00b
n00b


Joined: 04 Apr 2004
Posts: 11
Location: Germany

PostPosted: Thu Feb 16, 2006 10:28 pm    Post subject: Reply with quote

oh lol
little tip: if you migrate to modular x (do it!!!!!!!), DON'T FORGET TO RE-EMERGE MESA
lol
all works fine


flo@localhost ~ $ glxgears
4079 frames in 5.0 seconds = 815.676 FPS

ok, not much - but glxgears sux - quacke 3 and enemy territory runs fine!!
Back to top
View user's profile Send private message
benjaoming
n00b
n00b


Joined: 18 Feb 2006
Posts: 21

PostPosted: Sat Feb 18, 2006 1:12 am    Post subject: Reply with quote

Hi all!

I know I'm new in this thread, but I've read everything very thourughly and thus found no answers =(

But it seems that VinzC has exactly the same problem as me. No problems with kernel modules and no real errors in the XOrg log... but somehow everything just looks funny. No wallpaper in xfce, scrolling doesn't work, mouse cursor is missing, computer freezes on ctrl+alt+backspace and so on.

I have an i915GM, using Modular XOrg with i810 driver.

Any hints are very very appreciated. I so much want Xgl to work =)

- Benjamin
Back to top
View user's profile Send private message
mianos
n00b
n00b


Joined: 04 Apr 2004
Posts: 11
Location: Germany

PostPosted: Sat Feb 18, 2006 9:35 am    Post subject: Reply with quote

did you a install of:
-synaptic
- the modular org -evdev-driver
these are for your touchpad(like scrolling, tipping...)
and did you a install of the xorg-cursors?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5082
Location: Dark side of the mood

PostPosted: Sat Feb 18, 2006 11:40 pm    Post subject: Reply with quote

benjaoming wrote:
Hi all!

I know I'm new in this thread, but I've read everything very thourughly and thus found no answers =(

But it seems that VinzC has exactly the same problem as me. No problems with kernel modules and no real errors in the XOrg log... but somehow everything just looks funny. No wallpaper in xfce, scrolling doesn't work, mouse cursor is missing, computer freezes on ctrl+alt+backspace and so on.

I have an i915GM, using Modular XOrg with i810 driver.

Any hints are very very appreciated. I so much want Xgl to work =)

- Benjamin

In fact I *had* troubles in the beginning. As mianos said, you must emerge package synaptics and add the related section to your xorg.conf. I don't know if it's the same with the modular Xorg but there are different configs for Alps and Synaptics. I've googled to find appropriate parameters each time, once for Alps, once for Synaptics.

I think my Dell i6k had an Alps touchpad while the i9k4 has a true Synaptics. Note I didn't use modular Xorg and am still not using it.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
benjaoming
n00b
n00b


Joined: 18 Feb 2006
Posts: 21

PostPosted: Sun Feb 19, 2006 11:57 am    Post subject: Reply with quote

I found the solution on the X.org bugzilla. Aparently many people has this problem:

https://bugs.freedesktop.org/show_bug.cgi?id=5201
https://bugs.freedesktop.org/show_bug.cgi?id=5443

I would like to manilulate the source code for my X-server, but I'm not quite sure howto "emerge source code - edit source code - compile".
Back to top
View user's profile Send private message
benjaoming
n00b
n00b


Joined: 18 Feb 2006
Posts: 21

PostPosted: Sun Feb 19, 2006 1:29 pm    Post subject: Reply with quote

Yes yes yes! Made it work!

So this is what to do:

Code:

host~ # ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.0.1-r3.ebuild unpack
host~ # cd /var/tmp/portage/xorg-server-1.0.1-r3
host~ # find . | grep xf86Bus.c


Open xf86Bus.c with nano and comment out "ValidatePci();".
Now recompile the manipulated source code like this:

Code:

host~ # ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.0.1-r3.ebuild compile
host~ # ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.0.1-r3.ebuild install
host~ # ebuild /usr/portage/x11-base/xorg-server/xorg-server-1.0.1-r3.ebuild qmerge


For me everything is working fine now. Even accelleration. I don't no if this method has any downsides as compared to VinzC's patching method. And I don't really know how/if this fix is related to it.

Anyways.. this only takes 5 mins (except for re-compiling). :)
Back to top
View user's profile Send private message
benjaoming
n00b
n00b


Joined: 18 Feb 2006
Posts: 21

PostPosted: Sun Feb 19, 2006 3:29 pm    Post subject: Reply with quote

I checked out the source code in Xorg 7.0 and it seems that the patch/workaround is included in lnx_agp.c. Conclusion: If you use modular Xorg, you have to comment out ValidatePCI() in the source code... supposing you have the "my x looks really f*cked up when I use i810 driver" problem :)
Back to top
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Mon Mar 06, 2006 2:40 pm    Post subject: Reply with quote

i've compiled xorg 7 modular and made i810 driver from x11-drm almost everything running fine, glxgears gives me ~800fps but windows in kde drawing sloow extreamly sloooow.

someone know this prob?

system, xorg, kde compiled with CFLAGS="-Os -mtune=pentium-m -msse2 -msse -mmmx -pipe -fomit-frame-pointer" and GCC 4.0.2
Back to top
View user's profile Send private message
jwj
Apprentice
Apprentice


Joined: 07 May 2004
Posts: 240

PostPosted: Mon Mar 06, 2006 4:33 pm    Post subject: Reply with quote

benjaoming wrote:
Yes yes yes! Made it work!
Open xf86Bus.c with nano and comment out "ValidatePci();".
Now recompile the manipulated source code like this:


Thanks benjaoming, this made my i915gm work!
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Tue Mar 14, 2006 5:21 pm    Post subject: Reply with quote

^marcs wrote:
i've compiled xorg 7 modular and made i810 driver from x11-drm almost everything running fine, glxgears gives me ~800fps but windows in kde drawing sloow extreamly sloooow.
someone know this prob?
system, xorg, kde compiled with CFLAGS="-Os -mtune=pentium-m -msse2 -msse -mmmx -pipe -fomit-frame-pointer" and GCC 4.0.2


I think I have the same problem (on laptop Asus W5)
I have an i915gm with Modular X on KDE. I have DRI enabled and 1200 fps with glxgears but there is a big annoying slowdown.
When I click on any icon, the little expanding square takes about 2seconds to expand.
Also the videos are very slow.

But, when glxgears is running everything runs fast again... and the videos play right.
Where on earth this may come from :?:

EDIT: moved to new topic
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 Previous  1, 2, 3 ... 11, 12, 13
Page 13 of 13

 
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