[OpenIndiana-discuss] Nobody for whom OI/Hipster Mate on i915/KMS is working fine wants to report?

Мартин Бохниг opensxce at mail.ru
Fri Sep 9 03:16:10 UTC 2016


Ben,


oh, congrats  to your family ;)

we are also still awake and hence I quickly thank you for your follow-up message and essentially need to mention another aspect that I missed:

In  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  

and 

the resulting global gate testbins 

http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/  


I bundled already an (only extremely slightly) improved version of agpgart and friends:


$ bzcat *|tar xvf -
./
./kernel/
./kernel/misc/
./kernel/misc/amd64/
./kernel/misc/amd64/kms
./kernel/misc/amd64/agpmaster
./kernel/misc/kms
./kernel/misc/agpmaster
./kernel/drv/
./kernel/drv/i915
./kernel/drv/amd64/
./kernel/drv/amd64/agpgart
./kernel/drv/amd64/i915
./kernel/drv/amd64/agptarget
./kernel/drv/amd64/amd64_gart
./kernel/drv/agpgart.conf
./kernel/drv/agptarget
./kernel/drv/amd64_gart
./kernel/drv/agpgart
./usr/
./usr/lib/
./usr/lib/devfsadm/
./usr/lib/devfsadm/linkmod/
./usr/lib/devfsadm/linkmod/SUNW_misc_link.so
./usr/lib/devfsadm/linkmod/SUNW_cfg_link.so
./usr/lib/devfsadm/linkmod/SUNW_misc_link_i386.so
./usr/platform/
./usr/platform/i86pc/
./usr/platform/i86pc/lib/
./usr/platform/i86pc/lib/mdb/
./usr/platform/i86pc/lib/mdb/kvm/
./usr/platform/i86pc/lib/mdb/kvm/amd64/
./usr/platform/i86pc/lib/mdb/kvm/amd64/i915.so
./usr/platform/i86pc/lib/mdb/kvm/i915.so
./platform/
./platform/i86pc/
./platform/i86pc/kernel/
./platform/i86pc/kernel/kmdb/
./platform/i86pc/kernel/kmdb/amd64/
./platform/i86pc/kernel/kmdb/amd64/i915
./platform/i86pc/kernel/kmdb/i915
./platform/i86pc/kernel/misc/
./platform/i86pc/kernel/misc/gfx_private
./platform/i86pc/kernel/misc/amd64/
./platform/i86pc/kernel/misc/amd64/gfx_private




This one and much of the rest is _not_ on the Hipster test DVD because Hipster has a strict policy of keeping itself being based on vanilla-OS/Net if and where possible.
As Illumos banned me because I dared to speak the truth the slight modifications (very tiny) to agpgart* also didn't make it into the DVD. And nobody on their devel-list responded after the src diffs release in about 10 days. They simply "were not interested in that crap" and hence didn't follow their very own contribution submission proceedings before a code rev or anything could have taken place.
Simply no reaction. It's all in the archives and then they took me out without at least giving me the chance to defend myself, while they kept allowing every anonymous newcomers to kick the defenseless dead cat on their so called "Devel-List". I described it all on opensxce.org and really don't want to hijack this thread to repeat everything again. It's there on   http://opensxce.org/how2use_Sun-11.x_xhci_on_OpenSolaris/ as my self-defense. End of the story.

So, what I wanted to say was the following:

Perhaps this version of agpgart and friends is not yet good enough, but it would be important that you pls. test these bits by following the steps outlined in  http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/INSTALL.txt  


as follows:
Test/install Instruction for the Oracle Sol12 Intel-DRM/KMS backport to OpenSolaris: 

00.) cd /tmp
01.) wget http://opensxce.org/intelkms_working_testbins/Intel_DRMxKMS_S12_to_Illumos_backport__RELEASE/01__GLOBAL/01__BINS/TAR/proto__root_i386.tar.bz2
02.) wget 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
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



Perhaps you can test it after the hdd-installation pls.?


This in conjunction with your test of Sol11.3 will bring us closer to a solution.
p.s. You won't need to change /etc/driver_aliases because the Hipster DVD should already contain it and like that it gets literally cpio'ed over to hdd during installation..

pp.s. Yes - there are never enough spare-hdd's for test installs ;)
HINT: The best to use for such purposes is any external USB2 card reader with any free Photo/Video SDHC or SDXC card.

(the internal laptop card readers are often very slow and secondly never get recognized by Solaris).
Most computers - even older ones - should be able to boot off those sdhc/sdxc cards now with Hipster.

best regards,
%martin

East-Berlin



>Пятница,  9 сентября 2016, 2:46 UTC от bentahyr at chez.com:
>
>Мартин,
>I'll do the tests, I already started the download of Solaris 11.3 and will perform a boot trial on the live DVD.
>
>I found a HDD to install Hipster on for this laptop (lucky me I kept 2 of these laptops when this generation went to the bin).
>
>I'll try to do that during nights as from tonite, I'm dad full time for the rest of the week-end, so don't hold your breath unless you're good at freediving.
>
>Best regards.
>Ben
>
>----- Mail original -----
>De: "Мартин Бохниг via openindiana-discuss" < openindiana-discuss at openindiana.org >
>À: "Мартин Бохниг" < opensxce at mail.ru >, "Discussion list for OpenIndiana" < openindiana-discuss at openindiana.org >
>Envoyé: Vendredi 9 Septembre 2016 14:21:39
>Objet: Re: [OpenIndiana-discuss] Nobody for whom OI/Hipster Mate on i915/KMS is working fine wants to report?
>
>Errgh, 1 self-correction after google lead me to efb (vintage Radeon 7000 for SPARC), rather than i915 for Intel:
>
>
>https://java.net/projects/solaris-x11/sources/x-s12-clone/content/open-src/kernel/efb/src/agpgart.h?rev=1528
>line 127: #define AGPIOC_RW_GTT       _IOW(AGPIOC_BASE, 15, agp_rw_gtt_t)
>
>
>It is 4:18 AM here in Berlin.
>Nevertheless, that's it also for x64 and agpgart on IA32 and x64.
>
>I will check the details after some break.
>Good Night for now.
>
>
>_______________________________________________
>openindiana-discuss mailing list
>openindiana-discuss at openindiana.org
>https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list