[oi-dev] Stable Intel DRM/KMS Sol12 backport diffs and test bins

Мартин Бохниг opensxce at mail.ru
Tue Aug 9 16:06:41 UTC 2016


http://opensxce.org/intelkms_working_testbins/
 
Diffs against local Oracle gate https://java.net/projects/solaris-x11/sources/x-s12-clone/show/open-src/kernel?rev=1650 (older and newer) :
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/00__LOCAL/s12_101__793b981fad152111e7d49fc6838183fb6e36f383__standalone/solaris-x11~x-s12-clone__vs__solaris-x11~x-s12-clone__OpenSXCE__005FINALXXX20160614.gdiff.bz2
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/00__LOCAL/s12_103__a0f3bac86729be05a6bd44083198004c58921026__latest__needs_libdrm_headers/solaris-x11~x-s12-clone__s12_103_a0f3bac86729__vs__solaris-x11~x-s12-clone__s12_103_a0f3bac86729__OpenSXCE__005FINALXXX20160704.gdiff.bz2
 
Diff against Illumos as full incorporation (preferred over local gate, more stable bins on problematic older rev'ed buggy Sandy) :
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/00__SRC/DIFFS/illumos-gate__VANILLA__checkout20160629_git450b24a3e08dd5d6007467b18ef9cea400f7385a_____versus_____illumos-gate__checkout20160629_git450b24a3e08dd5d6007467b18ef9cea400f7385a__OpenSXCE_DRMKMS.diff.bz2
 
Test-Bins for instant deployment:
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/proto__root_i386.tar.bz2
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/proto__root_i386.tar.bz2__MD5SUM.txt
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/driver_aliases
 
http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/INSTALL.txt
 
 Test/install Instruction for the Oracle Sol12 Intel-DRM/KMS backport to OpenSolaris: 00.) cd /tmp 01.) wget http://opensxce/kms/01__GLOBAL/01__BINS/TAR/proto__root_i386.tar.bz2 02.) wget http://opensxce/kms/01__GLOBAL/01__BINS/TAR/proto__root_i386.tar.bz2__MD5SUM.txt 03.) su - 04.) beadm create MyNewBE 05.) beadm activate MyNewBE 06.) beadm mount MyNewBE /a 07.) cd /a 08.) bzcat /tmp/proto__root_i386.tar.bz2|tar xvf - 09.) This README assumes that the old /kernel/drv/amd64/i915 was already add_drv'ed before, if not, `add_drv -R /a i915` now 10.) Make sure that /a/etc/driver_aliases contains exactly the following lines for i915: i915 "pci8086,42" i915 "pci8086,46" i915 "pci8086,102" i915 "pci8086,106" i915 "pci8086,10a" i915 "pci8086,112" i915 "pci8086,116" i915 "pci8086,122" i915 "pci8086,126" i915 "pci8086,152" i915 "pci8086,156" i915 "pci8086,15a" i915 "pci8086,162" i915 "pci8086,166" i915 "pci8086,16a" i915 "pci8086,402" i915 "pci8086,406" i915 "pci8086,40a" i915 "pci8086,40b" i915 "pci8086,40e" i915 "pci8086,412" i915 "pci8086,416" i915 "pci8086,41a" i915 "pci8086,41b" i915 "pci8086,41e" i915 "pci8086,422" i915 "pci8086,426" i915 "pci8086,42a" i915 "pci8086,42b" i915 "pci8086,42e" i915 "pci8086,a02" i915 "pci8086,a06" i915 "pci8086,a0a" i915 "pci8086,a0b" i915 "pci8086,a0e" i915 "pci8086,a12" i915 "pci8086,a16" i915 "pci8086,a1a" i915 "pci8086,a1b" i915 "pci8086,a1e" i915 "pci8086,a22" i915 "pci8086,a26" i915 "pci8086,a2a" i915 "pci8086,a2b" i915 "pci8086,a2e" i915 "pci8086,c02" i915 "pci8086,c06" i915 "pci8086,c0a" i915 "pci8086,c0b" i915 "pci8086,c0e" i915 "pci8086,c12" i915 "pci8086,c16" i915 "pci8086,c1a" i915 "pci8086,c1b" i915 "pci8086,c1e" i915 "pci8086,c22" i915 "pci8086,c26" i915 "pci8086,c2a" i915 "pci8086,c2b" i915 "pci8086,c2e" i915 "pci8086,d02" i915 "pci8086,d06" i915 "pci8086,d0a" i915 "pci8086,d0b" i915 "pci8086,d0e" i915 "pci8086,d12" i915 "pci8086,d16" i915 "pci8086,d1a" i915 "pci8086,d1b" i915 "pci8086,d1e" i915 "pci8086,d22" i915 "pci8086,d26" i915 "pci8086,d2a" i915 "pci8086,d2b" i915 "pci8086,d2e" i915 "pci8086,2562" i915 "pci8086,2572" i915 "pci8086,2582" i915 "pci8086,2592" i915 "pci8086,2772" i915 "pci8086,27a2" i915 "pci8086,27ae" i915 "pci8086,2972" i915 "pci8086,2982" i915 "pci8086,2992" i915 "pci8086,29a2" i915 "pci8086,29b2" i915 "pci8086,29c2" i915 "pci8086,29d2" i915 "pci8086,2a02" i915 "pci8086,2a12" i915 "pci8086,2a42" i915 "pci8086,2e02.8086.2e02" i915 "pci8086,2e12" i915 "pci8086,2e22" i915 "pci8086,2e32" i915 "pci8086,2e42" i915 "pci8086,3582" i915 "pci8086,a001" i915 "pci8086,a011" Or simply rename your own /a/etc/driver_aliases and cp over mine from this directory here. Then make a reconf reboot and you should end up in a Intel-KMS-DRM-GEM Gnome session! Don't forget to also remove or rename /a/etc/X11/xorg.conf (or replace "vesa" with "intel" in the device section) 11.) mv /dev/dri /dev/dri__OLD 12.) touch /a/reconfigure 13.) bootadm update-archive -R /a -v 14.) reboot -p -- -r Then you can enable compiz via the right mouse button and gnome settings menues. In case of questions feel free to drop me a message to Martin Bochnig <opensxce at gmx.org> (cannot access martin at martux.org since August 2015!) If you find this work useful, give some of my unpaid time back to PAYPAL: opensxce at gmx.org - and you would get listed as SPONSOR on opensxce.org's README. Please let me know if it works for you or if it doesn't, very important! I can then forward this information to my friends at the Hipster/OpenIndiana Community for listing on  http://wiki.openindiana.org/oi/Intel+KMS+driver  


Sorry, still didn't have time to write up release notes.
But here now the same diffs and bins that really want out for more than a month now  ;)
Brings you accellerated gfx and compiz on Intel 8xx, 9xx (as before) but now plus Sandy, Ivy, Haswell (and in theory some older Valleyview) and finally lets you load modern userland Xorg ddx's which are kms-only since rev 2.9 (2010).
p.s. I kept the legacy radeon driver inside my local Illumos gate and for it the obsolete drm module had to survive/co-exist, too. That's why Illumos's Makefiles forced me to prefix the files with redundant names in old drm vs. new kms (renaming the folders wasn't sufficient). Just to explain to you: Didn't do that to cosmetically make the diff look larger ;)
I also bought me legacy radeon testing hardware and for the first time in overall-OpenSolaris history assigned more than a single pciid to it (Sun dropped that single one in 2009, too unstable).
We must decide later if we get the legacy OpenSolaris radeon drm kernel driver to function or otherwise remove it until either Oracle published more modern KMS port sources, or until I'm at the point to make FreeBSD's linuxkp work on OpenSolaris via lx zones https://wiki.freebsd.org/Use%20linuxkpi%20in%20DRM .
Will explain the full story in long ReleaseNotes some day.
Here however finally the diffs and bins because it would be a quite long document and I so far found the EFI32 Atom Z3735F port more interesting ;)
p.s. I will over August finally have the time to move all OpenSXCE.org legacy gates including openXsun Illumos port to https://github.com/OpenSXCE-org/FireFox-43-port-for-all-OpenSolaris-distros and also update the FF gate and sync it back with Hipster's latest changes which they added.
 

regards,
%martin bochnig


-- 
Мартин Бохниг
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20160809/72731932/attachment-0004.html>


More information about the oi-dev mailing list