[oi-dev] KMS bits landed in OpenIndiana Hipster

Мартин Бохниг opensxce at mail.ru
Mon Aug 29 19:39:19 UTC 2016


Hi Alexander,

glad to hear this. And I'm happy it will get used and wasn't created for nothing in half a year.
*Big Tnx :)*


Slight correction: In case of radeon it should perhaps be 2008/2009 or older, rather than 2006.
As mentioned before mostly OFFlist I extra bought me 4 different testing cards in June.

For those interested in pre-historic times here a small snipped from the large TODO file from June:


###1.######################################################(((((old radeon pciids???)))))
###https://blogs.oracle.com/erwann/entry/ati_support_for_compiz_easy
###https://blogs.oracle.com/erwann/entry/compiz_integrated_in_opensolaris_2008
###http://pkg.openindiana.org/legacy/manifest/0/SUNWdrmr@0.5.11,5.11-0.96%3A20080825T194737Z
###http://web.archive.org/web/20090107043722/http://mail.opensolaris.org/pipermail/xwin-discuss/2007-December/002689.html
###http://web.archive.org/web/20091006235709/http://opensolaris.org/os/project/dri


As for "old" versus "new" Intel adaptors also a slight comment:

This backport should work on everything from old Intel 8xx, 9xx to internal GPU Sandy (buggy) to Ivy, Haswell and some older valleyview Atoms, independently if Mobile, Desktop or Server version. So much for the theory at least ;)
Testing and bug reports would be highly appreciated for:  https://wiki.openindiana.org/oi/Intel+KMS+driver   (TNX to Hipster team also for that cool page !)

This HDfoo naming used by Intel sheme is a bit random and not even the DRMM/KMS upstream drivers themselves are caring about these namings (they distinguish the CPU code names and CPU generations).

Here again the too short too tiny "Mini"-announcement from some weeks ago (a few "things" have changed since then, but I kept the text un-edited) :


##### Stable Intel DRM/KMS Sol12 backport diffs and test bins #####

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


Tnx!

-- 
Мартин Бохниг



>Понедельник, 29 августа 2016, 19:11 UTC от Alexander Pyhalov <alp at rsu.ru>:
>
>Hello, people.
>
>I'm glad to announce that Martin's KMS bits has landed in OpenIndiana 
>Hipster. After update you'll receive 
>driver/graphics/drm at 0.5.11-2016.0.1.0.
>We don't longer ship old drm from illumos-gate as it seems noone 
>bothered to support it since 2010 (and they seem to be useless with our 
>Xorg/Intel video driver version). If it changes, we can switch back.
>Old radeon drm driver, which as I know didn't work for any Radeon video 
>adapter manufactured in 2006 or later, was removed.
>New driver should work fine with Intel HD Graphics 4000 and other modern 
>Intel adapters. Old Intel adapters are likely to be not supported by 
>this port.
>
>Users feedback is welcome.
>
>Big thanks to Martin for his work to make this possible. Also we should 
>thank Oracle team, who ported KMS to Solaris.
>-- 
>System Administrator of Southern Federal University Computer Center
>
>_______________________________________________
>oi-dev mailing list
>oi-dev at openindiana.org
>https://openindiana.org/mailman/listinfo/oi-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20160829/eeb4e786/attachment-0005.html>


More information about the oi-dev mailing list