Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
nicodds
Looking at the source code of the packages, I see that who is responsible of setting up the "/dev/dri/card0" device file is libdrm-poulsbo and particularly the drmOpenDevice function in xf86drm.c.
So I started adding some debug messages to this function and recompiled the package and... kaboom! X started, I was able to look at the gdm login screen with the correct resolution, but whenever I tried to login, xorg crashed.
Well, this is strange. I added that patch, rebuilt libdrm-poulsbo, reinstalled it and libdrm-poulsbo-dev, and nothing happened different here, and none of those debug showed on dmesg or Xorg.0.log. So I rebuilt xserver-xorg-video-psb, and also no difference.
Re: Guide to Get the Best Performace from the GMA 500
i'm currently building the drivers by hand... i'll try the nicodds' verbose patch too.
Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
lucazade
i'm currently building the drivers by hand... i'll try the nicodds' verbose patch too.
I've added a few extra debug lines, let's see if we can find what is failing. Have you updated anything in the repo? I updated libva this morning.
Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
jbernardo
I've added a few extra debug lines, let's see if we can find what is failing. Have you updated anything in the repo? I updated libva this morning.
Seen. I've updated up to r18 svn (new libva included)
Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
lucazade
Seen. I've updated up to r18 svn (new libva included)
I found the problem - libdrm2 now installs to /lib instead of /usr/lib! DOH.
I removed /lib/libdrm.so.*, and the driver loaded!!!!!
Now we need to fix the redirections in libdrm-poulsbo. And then find any remaining bugs, but I think we got it now! YES! Will you do it Luca, I have to run now, will be back in 1 hour?
Re: Guide to Get the Best Performace from the GMA 500
GREAT!!!
Compliments.. i'll try to fix the redirections..
Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
jbernardo
I found the problem - libdrm2 now installs to /lib instead of /usr/lib! DOH.
I removed /lib/libdrm.so.*, and the driver loaded!!!!!
Now we need to fix the redirections in libdrm-poulsbo. And then find any remaining bugs, but I think we got it now! YES! Will you do it Luca, I have to run now, will be back in 1 hour?
Well, that's the trick! Before rebuilding the package I've done a configure-make-make_install with /usr as prefix and so that's why I was able get gdm working! :-)
Great work jbernardo!
Re: Guide to Get the Best Performace from the GMA 500
Quote:
Originally Posted by
nicodds
Well, that's the trick! Before rebuilding the package I've done a configure-make-make_install with /usr as prefix and so that's why I was able get gdm working! :-)
Great work jbernardo!
Thanks a lot nicodds, if it hadn't been for you I wouldn't have found it so quickly! I knew there was something different, but hadn't started looking into libdrm-poulsbo yet.
Well, we can fix it now with the redirections, but maybe we could now direct our efforts to do a cleaner implementation, porting it to work alongside libdrm2, like libdrm-noveau or libdrm-intel?
Edit: Ooops - just had a segfault, and was dumped out of X, it is too soon to cry victory. Time to install debug modules, and see if this happens a second time.
Re: Guide to Get the Best Performace from the GMA 500
"Cleaner implementation" sounds like the nicest tune in days in my ears :-)
Get this clean and adaptable might even spare us this same procedure every time that there's a new release (given of course that there might be some things we need to update).
First let's see if this really works as expected (i still have issues on my system, the screen stays blank, but i was playing around a lot, i might want to clean my system and start anew). Then ensore to have the original source, clean patches, a nice debian dir and a ppa :-)
Re: Guide to Get the Best Performace from the GMA 500
just got home and updated to rev 18.. started building the packages and hopefully get to the point that all modules are loaded :p
did anyone edit the debian rules(?) or one of the other files to configure with /usr as prefix?
@jbernardo: PM me for the data you need to give me an account on SVN, so I'll be able to commit changes I make...