Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i810 DRM not working after xorg-X11 upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Sun May 13, 2007 12:21 am    Post subject: i810 DRM not working after xorg-X11 upgrade Reply with quote

After the recent version bump in xorg-x11 3D acceleration seems to have stopped working.

Up until that point, 3D acceleration was working pretty well (for an older IBM chipset) - was even running Beryl on it.

Chipset is i810:

Code:

00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)


I see this in xorg logs:

Code:

(II) I810(0): [drm] DRM interface version 1.3
(II) I810(0): [drm] created "i915" driver at busid "pci:0000:00:02.0"
(II) I810(0): [drm] added 8192 byte SAREA at 0xe0271000
(II) I810(0): [drm] mapped SAREA 0xe0271000 to 0xb7a8d000

...which looks like things are going well...
then..
Code:

(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions//libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0


uh oh - no Beryl for me...

Any thoughts as to where to begin debugging this?
Back to top
View user's profile Send private message
alanic
n00b
n00b


Joined: 13 Jan 2006
Posts: 41

PostPosted: Sun May 13, 2007 12:41 am    Post subject: Reply with quote

You should post your xorg.conf, I'm pretty sure you should be able to overcome this with editing xorg.conf. I have the same device as you do and some lines I have are:

Code:

Section "Module"
        Load    "dri"
        Load    "glx"
EndSection


Section "Device"
        Option          "NoAccel"       "false"
        Option          "DRI"           "true"
EndSection

Section "ServerLayout"
        Option          "AIGLX" "true"
EndSection

Section "DRI"
        Group        0
        Mode    0666
EndSection

Section "Extensions"
        Option          "Composite"   "Enable"
EndSection


(clipped irrelevant lines in sections)
Back to top
View user's profile Send private message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Sun May 13, 2007 12:51 am    Post subject: Reply with quote

Yes - here's the conf - like I said, this was working until the upgrade, and I made no changes to the config file, so I would imagine that it would still work.

Relevant sections are:
Code:


Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "AlwaysCore"
        #InputDevice    "Mouse1" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "AIGLX" "true"
EndSection

Section "DRI"
        Group 0
        Mode 0666
EndSection

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

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corp."
        BoardName   "82852/855GM Integrated Graphics Device"
        VideoRam    67108864
        Option      "XAANoOffscreenPixmaps" "true"
        Option      "DRI" "true"
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection


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


Joined: 13 Jan 2006
Posts: 41

PostPosted: Sun May 13, 2007 1:14 am    Post subject: Reply with quote

I think you may need to remove the load "glcore" line in modules. edit: if it's actually there of course:)
Back to top
View user's profile Send private message
db_404
Guru
Guru


Joined: 05 Dec 2002
Posts: 336

PostPosted: Fri May 18, 2007 2:23 pm    Post subject: Reply with quote

OK - so replying to my own post.

Seems removing the line:

Code:

VideoRam    67108864


Solved at least part of the problem - DRI now loads OK, an glxinfo reports it as working. However Beryl is still a no go as I get screen corruption (mostly of gtk menus on mouse over).
Back to top
View user's profile Send private message
vespaman
Guru
Guru


Joined: 28 Aug 2002
Posts: 356
Location: Stockholm, Sweden

PostPosted: Sat May 19, 2007 1:58 pm    Post subject: Reply with quote

Quote:
However Beryl is still a no go as I get screen corruption (mostly of gtk menus on mouse over).


This is where I am since a week with my laptop! Well, even worse; after starting beryl, I get mostly empty windows, a resize makes them show as the ought to, but they don't seem to get any input from keyboard and sometimes mouse presses.

Tried also Compiz, but that gives me other (similar) problems.

So, if you (did?) find any solution to this... ...share please! :)

Edit: 855 chipset on the laptop, 2.6.21 gentoo r1.

Edit2: Thanks to this thead https://forums.gentoo.org/viewtopic-t-556694-highlight-white+beryl.html I'm allright now!
It seams xf86-video-i810-2.0.0 is not compatible with Beryl at this point, downgrading did it for me!
Back to top
View user's profile Send private message
hammy
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 91
Location: Sacramento, CA

PostPosted: Sun May 20, 2007 11:58 pm    Post subject: Reply with quote

Set VIDEO_CARDS="i810" in /etc/make.conf and emerge x11-drm
_________________
arbiter_dev @ irc.freenode.net

Silent PC Review - It doesn't have to be loud
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

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