EMGD-Community / intel-binaries-linux

Binaries and source code published by Intel®
https://thopiekar.eu:5443/EMGD
Other
37 stars 11 forks source link

Moorestown support question #39

Open yoshi314 opened 8 years ago

yoshi314 commented 8 years ago

It seems that 1.16 drm driver has moorestown support, except it's commented out and disabled.

The drm driver expects CONFIG_MSRT to be defined at build time, but it seems it causes more build problems and needs more build time options.

Is there any guide on building the driver with those features?

thopiekar commented 8 years ago

Actually in my PPA and here in the repository there is 1.18. The latest version by Intel and I also think the last. It doesn't look so bad for you getting it working. I browsed the code for "MSRT" and found https://github.com/EMGD-Community/intel-binaries-linux/blob/a70eb871406057951153120657bdebe2b640a7c2/drm/emgd/include/intelpci.h#L63 commented out for any reason. Looks like they started supporting your GPU, but ended at commenting it out of the code.

I googled for that, didn't find anything. The good is that your GPU is the same as GMA500 but clocked a double speed. So EMGD should work...

Feel free to post here some logs, the distribution you are using, etc. If you find a solution, which won't break GMA500, I would love to see a PR about it.

thopiekar commented 8 years ago

Additionally: According to this thread I found EMGD was really (what I didn't know) supporting GMA600: https://communities.intel.com/thread/32552?start=0&tstart=0

So, I would suggest to google for EMGD 1.8, maybe you'll find it somewhere and compare both drivers. If they only removed some parts you can try to copy them back to EMGD 1.18 and try your results. Or: Take 1.8 and apply all fixes I made to 1.18 ;)

Good luck :+1:

yoshi314 commented 8 years ago

The header file fix seems not to be enough, so i needed the CONFIG_MSRT, except it requires even more stuff to be enabled otherwise i get missing symbols at module link time (and then more and more)

Well, i'll try building the 1.18 module. There is another ppa, but the module fails to build on ubuntu 14.04 kernel, so maybe it's about some missing patches

thopiekar commented 8 years ago

Do you mean https://launchpad.net/~gma500/+archive/ubuntu/emgd-1.8 ? I would take the sources of emgd-dkms, take a kernel which was released with Ubuntu Natty or Oneiric and make a first test ;)