Bug 19739 - Failed to initialize GEM. Falling back to classic.
Summary: Failed to initialize GEM. Falling back to classic.
Status: RESOLVED DUPLICATE of bug 17993
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-25 14:29 UTC by Sven
Modified: 2009-08-25 04:52 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (41.32 KB, text/plain)
2009-02-10 13:30 UTC, Dmitri Lapin
Details
Xorg.0.log (28.15 KB, application/octet-stream)
2009-02-10 13:31 UTC, Dmitri Lapin
Details
sven's dmesg (15.10 KB, text/plain)
2009-02-18 13:20 UTC, Sven
Details
sven's Xorg.0.log (22.26 KB, text/plain)
2009-02-18 13:20 UTC, Sven
Details
sven's dmesg (22.02 KB, text/plain)
2009-02-18 13:59 UTC, Sven
Details
Alex's Xorg.0.log (40.21 KB, text/x-log)
2009-02-25 11:12 UTC, Alex
Details
Alex's Dmesg (741.94 KB, application/octet-stream)
2009-02-25 11:15 UTC, Alex
Details

Description Sven 2009-01-25 14:29:50 UTC
Runnign glxgears yields the following error:
Failed to initialize GEM.  Falling back to classic.

3D works, as long as it doesn't say
  Option Legacy3D "off"
in my xorg.conf.


I'm running the following versions of relevant components:
- kernel 2.6.28.1, dmesg says:
[drm] Initialized i915 1.6.0 20080730 on minor 0
- xf86-video-intel-2.6.1
- dri2proto-1.99.3
- mesa-7.3
- xorg-server-1.5.3


What seems to be wrong? I was told, GEM is supposed to work.

I was hoping some helpful error message or warning somewhere, but found nothing in any of the logs.

If you need more information, ask me.
Comment 1 Eric Anholt 2009-01-27 17:28:34 UTC
Please attach Xorg.0.log and dmesg.
Comment 2 Dmitri Lapin 2009-02-10 13:30:58 UTC
Created attachment 22775 [details]
dmesg

I have the same problem about "Failed to initialize GEM. Switching to classic mode."

intel driver 2.6.1
libdrm 2.4.4
x11-drm 20080710
xorg-server 1.5.3-r1
Comment 3 Dmitri Lapin 2009-02-10 13:31:42 UTC
Created attachment 22776 [details]
Xorg.0.log
Comment 4 David 2009-02-10 15:07:05 UTC
I'm experiencing the same problem in gentoo.

kernel 2.6.28-ri
mesa 7.3
intel driver 2.6.1
libdrm 2.4.4
x11-drm --> not in use
xorg-server 1.5.3-r2
Comment 5 Eric Anholt 2009-02-18 13:01:02 UTC
You've installed old out-of-tree DRM modules.  Don't do that, the kernel has the DRM modules.
Comment 6 Sven 2009-02-18 13:12:35 UTC
(In reply to comment #5)
> You've installed old out-of-tree DRM modules.  Don't do that, the kernel has
> the DRM modules.

I don't. I'm using plain kernel 2.6.28.5 without any x11 relevant modules.
Comment 7 Eric Anholt 2009-02-18 13:18:16 UTC
Sorry, I went from the only dmesg posted, which (if you're right) is someone with a different problem:

[   21.679826] [drm] Initialized i915 1.13.0 20080312 on minor 0
[   21.679845] [drm] Used old pci detect: framebuffer loaded
[   21.680319] [drm:i915_getparam] *ERROR* Unknown parameter 5
(out of tree module failure)

You'll need to attach your own dmesg and Xorg.0.log as I requested.
Comment 8 Sven 2009-02-18 13:20:12 UTC
Created attachment 23085 [details]
sven's dmesg
Comment 9 Sven 2009-02-18 13:20:37 UTC
Created attachment 23086 [details]
sven's Xorg.0.log
Comment 10 Eric Anholt 2009-02-18 13:41:58 UTC
Your dmesg is truncated.  Are you using PAE maybe?
Comment 11 Sven 2009-02-18 13:57:44 UTC
(In reply to comment #10)
> Your dmesg is truncated.  Are you using PAE maybe?

I will try to upload a new dmesg taken from /var/log/messages.

Yes, I am using PAE.
Comment 12 Sven 2009-02-18 13:59:54 UTC
Created attachment 23088 [details]
sven's dmesg
Comment 13 Eric Anholt 2009-02-19 11:18:46 UTC
GEM doesn't work with PAE because AGP isn't ready for addresses over 32 bits.


*** This bug has been marked as a duplicate of bug 17993 ***
Comment 14 Alex 2009-02-25 11:05:54 UTC
I have the same issue, however, I know that I am not using PAE, I recompiled my kernel and PAE is marked as off. I will attach my dmesg and Xorg.0.log
Comment 15 Alex 2009-02-25 11:12:15 UTC
Created attachment 23290 [details]
Alex's Xorg.0.log
Comment 16 Alex 2009-02-25 11:15:14 UTC
Created attachment 23291 [details]
Alex's Dmesg
Comment 17 Adam Jackson 2009-08-24 12:31:45 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.