Bug 21602 - Problem with new jglisse kms radeon driver and 2d driver
Summary: Problem with new jglisse kms radeon driver and 2d driver
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 11:52 UTC by Krzysztof A. Sobiecki
Modified: 2009-05-20 11:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log from failed X start (27.84 KB, application/x-trash)
2009-05-06 11:52 UTC, Krzysztof A. Sobiecki
no flags Details
dmesg(drm debug=1) output for yesterday, no visible error from drm_mode_addfb (64.91 KB, text/x-log)
2009-05-06 11:56 UTC, Krzysztof A. Sobiecki
no flags Details

Description Krzysztof A. Sobiecki 2009-05-06 11:52:40 UTC
Created attachment 25566 [details]
Xorg.0.log from failed X start

I have done everything as described here:
http://jglisse.livejournal.com/1822.html
After overconing vesafb and vga16 problem I was able to see console but starting X failed and I only get error(full log attached):
failed to add fb

After reading some code I found that 2d driver uses drmModeAddFB
with in fact calls ioctl DRM_IOCTL_MODE_ADDFB. Unfortunately it returns -1. So I checked drm module to find out why the -1 is returned. The drm_mode_addfb should support this ioctl, but I don't think it was even called once. I have even added DRM_ERROR line to show if it was used, but I never saw anything printed from it.
Comment 1 Krzysztof A. Sobiecki 2009-05-06 11:56:38 UTC
Created attachment 25567 [details]
dmesg(drm debug=1)  output for yesterday, no visible error from drm_mode_addfb
Comment 2 Jerome Glisse 2009-05-18 07:59:12 UTC
Do you still have issue with recent checkout ?
Comment 3 Krzysztof A. Sobiecki 2009-05-18 16:17:32 UTC
After testing your xf86-video-ati:fba534017e581fcd9b9e49ba0b281fb500f576a7 with drm-next(drm-next-radeon):57ed16f7686e9c0c4ec5f7711688a503481987c2 I didn't saw this problem.
Comment 4 Jerome Glisse 2009-05-20 11:03:52 UTC
Closing the bug.


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.