Re: [oi-dev] Change in video driver ABI

2017-09-17 Thread Jim Klimov
On September 17, 2017 5:38:06 PM GMT+02:00, "Jean-Pierre André" 
 wrote:
>Gary Mills wrote:
>> On Mon, Jun 05, 2017 at 09:24:26AM +0200, Jean-Pierre André wrote:
>>> Yesterday I upgraded a Hipster installation from April 2016
>>> to the latest state (by starting a pkg update).
>>>
>>> I apparently could not boot beyond the single user mode, but
>>> the real reason appears to lie in a change in the video driver
>>> ABI.
>>
>> I had a similar problem, and have partially solved it.  I had an AMD
>> Athlon system with an NVIDIA GeForce 6200 LE video card.  It was
>> running OI Hipster installed from the 20160421 ISO.  I had installed
>> NVIDIA-Solaris-x86-304.132 to get it to recognize the video card.
>> When I upgraded to the current Hipster in a new BE, the BE failed to
>> boot.
>>
>> I couldn't find a way to uninstall the Nvidia software I had
>> installed, but I was able to boot an old BE that I made before I
>> installed the software.  It was using the VESA driver for that video
>> card, but otherwise everything ran normally.
>
>Uninstalling the driver should be straightforward :
>the install script first only does a "pkgrm" to remove
>the former version (before doing a "pkgadd" to install
>the requested one).
>
>>
>> Then I replaced the video card with a new low-end one that seemed
>> current.  It was an Nvidia card with a GT730 GPU.  The cost was less
>> than $100.  Hipster recognized that card.  It described my monitor
>> correctly and set the resolution to the monitor's default.  The
>Nvidia
>> X Server Settings GUI worked.
>>
>> That system is still running Hipster from 2016, but I'm ready to try
>> the upgrade again.
>
>So you are also back to square one. I took a simpler
>approach by restoring the whole system from a backup.
>My understanding is that irreversible changes have been
>made somewhere (dead symlinks have been found, so some
>newly required feature is probably not available in older
>drivers).
>
>And I have to give up upgrading.
>
>
>
>___
>oi-dev mailing list
>oi-dev@openindiana.org
>https://openindiana.org/mailman/listinfo/oi-dev

Note there's https://github.com/OpenIndiana/oi-userland/pull/3458 brewing, to 
provide a couple of other nvidia versions (they all support different sets of 
cards). At least, once it's merged, it should be safer to upgrade ;)

Feel free to checkout the branch and build your own packages and install them 
from local preferred repo - should work too.

Jim
--
Typos courtesy of K-9 Mail on my Android

___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Enlightenment on OpenIndiana

2017-09-17 Thread Aurelien Larcher
Maybe I should have mentioned the steps for a newcomer.

You can clone oi-userland, add my repositort as remote, and fetch my branch, 
then git checkout alarcher/e_latest.

To initialize oi-userland, at the top directory: gmake setup.

Then:
cd components/desktop/e/efl && gmake env-prep.

To fetch the master branch of efl:
gmake prep

You can then work on the git and generate patches to be put in the patches 
directory.

Another solution is to share a repository for efl and change the GIT_* 
variables accordingly.

Thanks

Aurélien 

Le Samedi 16 septembre 2017, Aurélien Larcher a écrit :
> Hi,
> I added my basic prep-git.mk in this branch to help the work on
> Enlightenment in oi-userland by Andre Lupa and Vincent Torri:
> 
> https://github.com/alarcher/oi-userland/commits/e_latest
> 
> It is basic but should be enough for dealing with git branches and share
> patches.
> 
> In the process we could make prep-git.mk properly usable and merge it into
> oi/hipster.
> 
> Please let me know if you need futher help with this.
> 
> Aurelien
> 
> -- 
> ---
> Praise the Caffeine embeddings
>

-- 
Envoyé depuis mon Jolla
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] Change in video driver ABI

2017-09-17 Thread Jean-Pierre André

Gary Mills wrote:

On Mon, Jun 05, 2017 at 09:24:26AM +0200, Jean-Pierre André wrote:

Yesterday I upgraded a Hipster installation from April 2016
to the latest state (by starting a pkg update).

I apparently could not boot beyond the single user mode, but
the real reason appears to lie in a change in the video driver
ABI.


I had a similar problem, and have partially solved it.  I had an AMD
Athlon system with an NVIDIA GeForce 6200 LE video card.  It was
running OI Hipster installed from the 20160421 ISO.  I had installed
NVIDIA-Solaris-x86-304.132 to get it to recognize the video card.
When I upgraded to the current Hipster in a new BE, the BE failed to
boot.

I couldn't find a way to uninstall the Nvidia software I had
installed, but I was able to boot an old BE that I made before I
installed the software.  It was using the VESA driver for that video
card, but otherwise everything ran normally.


Uninstalling the driver should be straightforward :
the install script first only does a "pkgrm" to remove
the former version (before doing a "pkgadd" to install
the requested one).



Then I replaced the video card with a new low-end one that seemed
current.  It was an Nvidia card with a GT730 GPU.  The cost was less
than $100.  Hipster recognized that card.  It described my monitor
correctly and set the resolution to the monitor's default.  The Nvidia
X Server Settings GUI worked.

That system is still running Hipster from 2016, but I'm ready to try
the upgrade again.


So you are also back to square one. I took a simpler
approach by restoring the whole system from a backup.
My understanding is that irreversible changes have been
made somewhere (dead symlinks have been found, so some
newly required feature is probably not available in older
drivers).

And I have to give up upgrading.



___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev


Re: [oi-dev] The ATI video driver for OI

2017-09-17 Thread Aurélien Larcher
Hi,
sorry Martin I misremembered that the radeon drm driver was not kms.
I did not have much time to reply and my memory did not serve me well.
Kind regards

Aurelien

On Sun, Sep 17, 2017 at 11:51 AM, Мартин Бохниг via oi-dev <
oi-dev@openindiana.org> wrote:

> Hi Aurélien,
>
> how often shall I explain and repeat it to you?
> Here again: https://openindiana.org/pipermail/oi-dev/2017-
> September/005650.html
>
>
> Воскресенье, 17 сентября 2017, 0:45 +02:00 от Aurélien Larcher <
> aurelien.larc...@gmail.com>:
> Unfortunately newer versions require KMS support which requires actual
> kernel work at:
>
> https://github.com/illumos/gfx-drm
>
>
>
> There my STOLEN and further improved work is located.
> Unfortunately without my CDDL license headers!
>
> This is a LICENSE BREACH and may be prosecuted at some moment when I have
> less work and enough time.
>
>
>
>
> but also in illumos-gate itself.
>
> Ideally if someone decided to work on it the code would reside under the
> radeon directory here:
>
> https://github.com/illumos/gfx-drm/tree/master/usr/src/uts/intel
>
>
>
>
> That's a good one.
> It is as if I tell my wife: Yeahh, I found a solution I made some room
> for one Billion USD in the basement.
> Now we are finally ready to receive it, just in case anybody decides to
> sendf us 1 Billion USD.
>
> I recommend you to read my messages.
> Start with those from yesterday.
>
>
>
>
>
> There was a KMS radeon driver in Solaris but I am not sure if it is still
> maintained and it certainly supported only the ATI cards provided with Sun
> HW.
>
>
>
>
> Wrong guess.
> KMS didn't exist at that time.
> It was a DRM radeon driver mathing the first drm submodule that was in
> OpenSolaris - from the stone age.
>
> Because it dates back to 2006/2007 when it was ported over by the Sun
> Beijing team.
> I myself ported that to SPARC in 2007.
> So I - on contrast to most others - do know the code.
>
> Hopeless to explain it to you. I did already, 200 times  ...
>
>
>
> Kind regards,
> %martin bochnig
>
>
>
>
> Kind regards
>
> Aurelien
>
>
>
> --
> -Gary Mills--refurb--Winnipeg, Manitoba,
> Canada-
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
>
> --
> ---
> Praise the Caffeine embeddings
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
> --
> Мартин Бохниг
>
> ___
> oi-dev mailing list
> oi-dev@openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>



-- 
---
Praise the Caffeine embeddings
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] The ATI video driver for OI

2017-09-17 Thread Мартин Бохниг via oi-dev
Hi Aurélien,

how often shall I explain and repeat it to you?
Here again: https://openindiana.org/pipermail/oi-dev/2017-September/005650.html


>Воскресенье, 17 сентября 2017, 0:45 +02:00 от Aurélien Larcher 
>:
>Unfortunately newer versions require KMS support which requires actual kernel 
>work at:
>
>https://github.com/illumos/gfx-drm


There my STOLEN and further improved work is located.
Unfortunately without my CDDL license headers!

This is a LICENSE BREACH and may be prosecuted at some moment when I have less 
work and enough time.


>
>
>but also in illumos-gate itself.
>
>Ideally if someone decided to work on it the code would reside under the 
>radeon directory here:
>
>https://github.com/illumos/gfx-drm/tree/master/usr/src/uts/intel


That's a good one.
It is as if I tell my wife: Yeahh, I found a solution I made some room for 
one Billion USD in the basement.
Now we are finally ready to receive it, just in case anybody decides to sendf 
us 1 Billion USD.

I recommend you to read my messages.
Start with those from yesterday.



>
>
>There was a KMS radeon driver in Solaris but I am not sure if it is still 
>maintained and it certainly supported only the ATI cards provided with Sun HW.



Wrong guess.
KMS didn't exist at that time.
It was a DRM radeon driver mathing the first drm submodule that was in 
OpenSolaris - from the stone age.

Because it dates back to 2006/2007 when it was ported over by the Sun Beijing 
team.
I myself ported that to SPARC in 2007.
So I - on contrast to most others - do know the code.

Hopeless to explain it to you. I did already, 200 times  ...



Kind regards,
%martin bochnig



>
>Kind regards
>
>Aurelien
>>
>>
>>--
>>-Gary Mills-            -refurb-                -Winnipeg, Manitoba, Canada-
>>
>>___
>>oi-dev mailing list
>>oi-dev@openindiana.org
>>https://openindiana.org/mailman/listinfo/oi-dev
>
>
>
>-- 
>---
>Praise the Caffeine embeddings
>___
>oi-dev mailing list
>oi-dev@openindiana.org
>https://openindiana.org/mailman/listinfo/oi-dev


-- 
Мартин Бохниг
___
oi-dev mailing list
oi-dev@openindiana.org
https://openindiana.org/mailman/listinfo/oi-dev

Re: [oi-dev] The ATI video driver for OI

2017-09-17 Thread Мартин Бохниг via oi-dev

>Воскресенье, 17 сентября 2017, 7:27 +02:00 от Alan Coopersmith 
>:
>
>On 09/16/17 03:44 PM, Aurélien Larcher wrote:
>> There was a KMS radeon driver in Solaris but I am not sure if it is still 
>> maintained and it certainly supported only the ATI cards provided with Sun 
>> HW.
>
>It predated KMS and was dropped in the switch to KMS instead of updating it.
>(It actually supported the ATI chipsets in the Acer Ferrari laptops popular
>  with Sun developers at the time, but not anything you'd have found on the
>  market in the past 5+ years.)
>
>-alan-

Hi Alan,

you name it, tnx! Also: Garry, yep, that's correct.
Well, I can write stuff 200 times and people still will not manage to put the 
pieces together.

https://illumos.topicbox.com/groups/developer/Tfc93e9c670687f0b-Mfaebac3ca2d7abe1be816085
  
Martin Bochnig wrote Aug 9, '16 (1 year 1 month ago)
"
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."

I even earlier posted the same here and sent it to 30 selected individuals at a 
time when I still couldn't post to illumos-devel (from summer 2013 till summer 
2016 and then again, with the totally undemocratic and ARBITRARY plus 
UNJUSTIFIED exception of about 2 "generous" weeks) after having been banned 
during that time, because they don't behave like a community, but like a 
politically biased totalitarian dictatorship regime). That's how this 
"community" thanks its long-term core contributors. Even though I didn't even 
mention the really brutal stuff (psycho-terror, licence-breach and CODE-THEFT.  
That sitz inside  http://opensxce.org/how2use_Sun-11.x_xhci_on_OpenSolaris/ and 
honestly, I try to forget it. But what this "community" has done not only to me 
but more so to itself never lets me forget it.


Aurelien belonged to the receipients, also Alan. Check your 2016 Inbox.

http://svr4.opensxce.org/intelkms_working_testbins/UNHIDE20160824wed.txt  

"While I removed the old legacy i915, I still kept the old legacy drm 
inside, for old legacy radeon.
This requited me to prefix all files, because the OS/Net Makefiles system uses 
wildcards (simply renaming the folder is not enough)."


I had intentionally imported old Radeon test hardware from overseas to find out 
if the old 2007 era radeon Non-KMS radeon drm module would still be worth 
anything.
And in lengthy tests that I performed it came out, what I recalled from the old 
times: In late 2007 / early 2008 Sun *themselves* disabled thesingle ever at 
some point "supported"  /etc/driver_aliases pciid for the radeon drm module, 
simply because it never really worked at all. Not even in Alpha quality.


I marked, commened on and hinted at that all the time, such as here in the 
diffs.
Because at first I thought maybe the old drm should still be left intact for 
the legacy radeon module.
(drm is not a module as Aurelien claims, but a misc/drm *sub*module.
For this reason it has to closely match the corresponding other end.

After I really spent another month and hardware purchases in June 2016 and even 
passed all pciids that *should* have been compatible with the old legacy NonKMS 
radeon module, I finally decided to drop it from Illumos.
Just as the thifes also did under NO NAMES" in the CDDL headers!
But with his name GORDON ROSS in the illumos committs.

But before I made that decision, I even made the old and new drm live together, 
just in case the community would later decide to keep radeon in place: