| Summary: | [G41] missing drm support | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | jixin.liu <jixin.liu> | ||||
| Component: | Driver/intel | Assignee: | Eric Anholt <eric> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | critical | ||||||
| Priority: | high | CC: | chaohong.guo, jixin.liu, kent.liu, zhenyu.z.wang | ||||
| Version: | 7.4 (2008.09) | ||||||
| Hardware: | All | ||||||
| OS: | Linux (All) | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
jixin.liu@cs2c.com.cn
2008-12-29 22:03:39 UTC
Created attachment 21561 [details]
Xorg log
I checked Xorg log, found start drm failed!. please help me! The problem is G41 is not supported in current kernel. First, you need agp support. Please add this patch: http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commit;h=07611cdc43893d51c10f3192a59450cce1de952f Then, you need drm support if you want 3d. Unfortunately the drm patch is not available now. So you'll have to disable dri in xorg.conf. I'll take this bug as requesting G41 drm support. I tried it with you method,but failed.
I have puted your patch into kernel before you give me. I geted it from internet.
It is wrong that I disable dri method?
I xorg configure is :
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "intel"
Option "DRI" "off"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
I checked cs2c's libdrm code which is used. It is not libdrm 2.4.0. I didn't dig out which version it is since the code has no multi-thread protection in faked buffer manager. After merging libdrm 2.4.3 code related to pthread protection to their libdrm, G41 can work now for me. Once I get confirmation from the customer, we could close this bug. This Bug is resoluted. Jixin, is it working with DRI disabled or not? I thought DRI is still a problem. I recommend they disable DRI since they have to fix this issue before Jan 16. If enabling DRI, system can work for some time even I start 6 glxgear. But if I leave it for days system still hangs (I leave the system running with 6 glxgears last Friday, and when I came back today, system already hangs). I still don't understand why dri could work (at least basically) for your G41, because the upstream kernel doesn't have that support yet. Have you added additional G41 DRM enabling patches? You could check if the G41 pci id "0x2E32" added into your drm. (In reply to comment #9) > I still don't understand why dri could work (at least basically) for your G41, > because the upstream kernel doesn't have that support yet. Have you added > additional G41 DRM enabling patches? You could check if the G41 pci id "0x2E32" > added into your drm. > I just mailed the m/b back to cs2c following their requirement. So, I cannot check it now. But I remember that 6 glxgears could work smoothly for a while, I mean that the rendering is running smoothly so that I could not see flick or lagging from the gear rotation. If DRI had not worked, it could not happen. Besides, the glxinfo did indicate DRI is enabled. I guess that upstream developers probably say G41 doesn't work with GEM (maybe I am wrong), It could work if we use faked buffer manager. If you have G41 hardware, you can try disabling GEM and let faked memory manager work. For jixin, could you please help us check it ? thanks in advance I want to try it. But G41 mainboard is kaput. So I will return it to GreatWall. |
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.