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:


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

2017-09-16 Thread 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-

___
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-16 Thread Gary Mills
On Sun, Sep 17, 2017 at 12:44:47AM +0200, Aurélien Larcher wrote:
> 
>What you mention is the Xorg module which is already present here
>(which I tested when I bumped Xorg to 1.18.x):
>[2]https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/component
>s/x11/xf86-video-ati
>Unfortunately newer versions require KMS support which requires actual
>kernel work at:
>[3]https://github.com/illumos/gfx-drm
>but also in illumos-gate itself.

So, what you are saying, and Martin also said, is that using the
ATI and Radeon drivers is much more complicated than it seems at
first.  OI needs KMS support for these newer drivers to work.

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

It won't be me.  I know almost nothing about kernel code or graphics
hardware.

>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.

I don't think that its still present.  I notice that Xorg.0.log on
Solaris 11.3, where I have a Radeon card installed, says this:

[   302.632] (II) GPU only supported with KMS, using vesa instead.



-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

___
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-16 Thread Aurélien Larcher
On Fri, Sep 15, 2017 at 8:56 PM, Gary Mills  wrote:

> What is required to integrate the ATI video driver with OI?
>
> I notice that the ATI video driver is present in Freebsd.  It comes
> from X.org, and supports a long list of AMD/ATI/Radeon GPUs.  The
> Freebsd package is called `xf86-video-ati'.  It provides two shared
> libraries, ati_drv.so and radeon_drv.so, that are loaded by the X
> server.
>
> Could we do the same thing with the X server in OI?  What do we need
> to change?
>

What you mention is the Xorg module which is already present here (which I
tested when I bumped Xorg to 1.18.x):

https://github.com/OpenIndiana/oi-userland/tree/oi/hipster/components/x11/xf86-video-ati

Unfortunately newer versions require KMS support which requires actual
kernel work at:

https://github.com/illumos/gfx-drm

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

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.

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

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

2017-09-15 Thread Мартин Бохниг via oi-dev
While there aren't many who *could* do this, I see little benefit in why 
anybody *should* put a couple of years of his life into it.
Because that's what it would cost, the minimum price so to say.

Graphics drivers and the BSDs
https://lwn.net/Articles/616097/
Rather than following FreeBSD's approach to make FreeBSD act like a LinUX 
kernel to get this going, my personal choice for opensxce was and is to *move* 
to LinUX and to finally replace hardly maintained the legacy SunOS crap with a 
modern kernel, LinUX 4.x

Reminder: It is easier to make any kernel behave like LinUX, than to get the 
DRM/KMS drivers ported to another kernel other than LinUX.
But yeh, how those local expert wizards use to say cluelessly: "it's just 
code, and code can be made working".

What a bunch of fools over there at ill-u-mos(t).

http://opensxce.org/how2use_Sun-11.x_xhci_on_OpenSolaris/  

p.s. Did you ever take the time to check out the FreeBSD kernel src, before 
asking such questions?

https://github.com/freebsd/freebsd  


[In Progress] FreeBSD Compatibility Layer To Run Linux DRM Drivers
https://www.freebsdnews.com/2016/05/13/freebsd-is-pursuing-a-compatibility-layer-to-make-it-easier-to-run-linux-drm-drivers/
  



Once again: Special Gurus and bigots laughed about everybody who still runs 
Ill-u-mos(t) based distros on the desktop (x86_64). But often reality is even 
faster and funnier than such freaks: Because since ZFS runs natively on all 
major UNIX platforms including LinUX it is a matter of fact, that really nobody 
needs SunOS for anything anymore.

Thinking this to the end gives you wonderful driver support that you may not 
have dreamt of in 10 years.
After some minutes of a download and install at that.

http://zfsonlinux.org/  

Ubuntu 16.04 Root on ZFS
https://github.com/zfsonlinux/zfs/wiki/Ubuntu-16.04-Root-on-ZFS
// written in webmail, sorry, html cannot be disabled in the ISP's settings.


%martin bochnig







>Пятница, 15 сентября 2017, 20:56 +02:00 от Gary Mills :
>
>What is required to integrate the ATI video driver with OI?
>
>I notice that the ATI video driver is present in Freebsd.  It comes
>from X.org, and supports a long list of AMD/ATI/Radeon GPUs.  The
>Freebsd package is called `xf86-video-ati'.  It provides two shared
>libraries, ati_drv.so and radeon_drv.so, that are loaded by the X
>server.
>
>Could we do the same thing with the X server in OI?  What do we need
>to change?
>
>
>-- 
>-Gary Mills-   -refurb--Winnipeg, Manitoba, Canada-
>
>___
>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-15 Thread Мартин Бохниг via oi-dev
Wow, that was a good one *lol*
First you need ATI-KMS to get the modern KMS-only ddx working.
While FreeBSD uses a very special method trick to get it working, don't expect 
*me* to ever in my life waste my time for OI and then someone steals it and 
distributes it under his name and gets the credits.

People asking such basic questions - that made my day.



>Пятница, 15 сентября 2017, 20:56 +02:00 от Gary Mills :
>
>What is required to integrate the ATI video driver with OI?
>
>I notice that the ATI video driver is present in Freebsd.  It comes
>from X.org, and supports a long list of AMD/ATI/Radeon GPUs.  The
>Freebsd package is called `xf86-video-ati'.  It provides two shared
>libraries, ati_drv.so and radeon_drv.so, that are loaded by the X
>server.
>
>Could we do the same thing with the X server in OI?  What do we need
>to change?
>
>
>-- 
>-Gary Mills-   -refurb--Winnipeg, Manitoba, Canada-
>
>___
>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

[oi-dev] The ATI video driver for OI

2017-09-15 Thread Gary Mills
What is required to integrate the ATI video driver with OI?

I notice that the ATI video driver is present in Freebsd.  It comes
from X.org, and supports a long list of AMD/ATI/Radeon GPUs.  The
Freebsd package is called `xf86-video-ati'.  It provides two shared
libraries, ati_drv.so and radeon_drv.so, that are loaded by the X
server.

Could we do the same thing with the X server in OI?  What do we need
to change?


-- 
-Gary Mills--refurb--Winnipeg, Manitoba, Canada-

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