EMGD-Community / intel-binaries-linux

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

Slightly confusing instruction in README #40

Open noway opened 8 years ago

noway commented 8 years ago

Thanks for the binaries. It works! Although, I have found it to be confusing that I need to explicitly blacklist gma500_gfx and psb_gfx in order to driver to work. Can you add to the instruction in the README? Also, for non-root xorg, emgd mod should be probed by hand. That can be useful in the readme as well.

Thanks.

thopiekar commented 8 years ago

The reason, why you'll need to blacklist them is that the kernel prefers these opensource drivers, before choosing EMGD. So you need to go to /etc/modprobe.d/ and create a file, eg. "blacklist-emgd.conf" and add there two lines:

blacklist gma500_gfx
blacklist psb_gfx

Yes, I can add this into the instructions. The whole README needs a update. I'm just to lazy updating it.

I'm not sure, whether I understand you right, but you don't need to modprobe emgd manually. I added some configs here, which tell initramfs-tools to add emgd after being built into the initrd. So the emgd module can be loaded even very early on boot. Correct me if I get you wrong :wink:

No problem. Hope I'll get EMGD working with kernel 4.3 and 4.4 soon. Currently on 4.3 the graphics are very laggy until the screen freezes after a while. The kernel developers just change the DRM API so often :sob:

thopiekar commented 8 years ago

PS: You can also fork this repository, update the README and send a pull request :+1: This would save my time and I could use it for reading the DRM mailing-lists to check what they have changed :smiley:

noway commented 8 years ago

As far as I understood, xorg can load emgd on its own if it has root rights. If xorg is executed from a non-privileged user, then it can't be done and emgd module should be loaded somewhere else. Probably I didn't do # update-initramfs, or maybe hadn't rebooted, sorry, don't remember already.

I've made a pull-request.

thopiekar commented 8 years ago

If you mean with '''emgd''' the kernel module than this feature is new to me. However, login managers like SDDM or Lightdm are executing Xorg as non-root. So this is no option.

Thank you for the PR. Will hopefully check and merge it soon :+1: