Hi Dmitrij,

"To write HW GPU drivers by scratch is titanic work ! - easier to stay
in linux space without attempts to look to other sides(OS). I had
thinked to adapt libdrm for HelenOS (nativelly written for linux)."
Libdrm is a library that, in Linux, allows a 3D driver, residing in user 
space, to submit commands to GPU pipeline via a driver, residing in the 
Linux kernel. It is but a small piece of the DRI direct rendering
infrastructure, that allows for 3D-accelerated X-Windows to work. The 3D 
part of the driver is implemented in Mesa. Porting DRI to HelenOS is no 
small job either. Also in the current state of the graphics stack I think HW
acceleration is the last of our concerns...

""
 
"Sorry for my incompetention about HW programming. My level of
programming is not such high as you have... Kernel space programming
is very hard, thanks for your job - for HeleOS is exist..."
Kernel = hard, userspace=easy? Doesn't work like that, a 3D driver in 
HelenOS is not easier to write than in Linux just because it resides in user
space, right?




People usually think writing a text editor is easy and writing memory
management is hard, but it can be quite the opposite. Good application
design is hard. New time contributors will often pick something like the 
shell to work on and they don't realize that while adding support for new HW
platform is mostly straightforward and requires no design, applications must
be designed (user interaction) and that's where opinions about how the OS 
should look and feel come to play. And if you try to make HelenOS look like
Linux, you will make me unhappy.

""
 
"I had looked for small and fast OS, with supporting modern compiller
(GCC is preferred) & c++ standarts for programming for that, for port
to there a light gui library for writting modern looked gui etc..."
I am not quite sure why you wanted to do this without asking whether it 
makes sense / is desirable for that particular OS, so I'll just assume this
is "something you want to do for the heck of it".




The plan for HelenOS is to develop our own GUI library for our native
applications (I would consider the current one a prototype, though). Porting
existing GUI libraries such as GTK+, Qt, Fltk would make sense in order to
ease porting existing GUI applications. Porting an existing lightweight GUI
library should be feasible. I would, however, pick one that does not require
HW acceleration/OpenGL otherwise you are just asking for pain. Also note 
that a big rework of the graphics stack is in planning stage, so be prepared
for change...




If you asked me, porting SDL2 or SDL1.x to HelenOS (without HW acceleration)
would be a project that would be

  - much simpler

  - much more useful

because it's just about creating a window with a canvas and it would ease 
porting of applications like Qemu or Dosbox (you could just compile them 
instead of having to add HelenOS-specific support to each of them).





Cheers,

Jiri




"

--
the best regards

2018-12-19 14:30 GMT+05:00, Jiri Svoboda <[email protected]>:
>
> Hi,
>
>
>
>
> if you are serious about contributing, I suggest reading the code
carefully
>
> and starting with something really simple. If this is supposed to be some
> kind of a plan to introduce HW acceleration support to HelenOS, then it's
> obvious you have no idea what you are talking about. You've just picked up
> some random Linux packages related to graphics and suggested they should
be
>
> ported. Have you even an idea what those packages are/do? How would they
> fit
> in HelenOS graphics stack?
>
>
>
>
>
> -Jiri
>
> ---------- Původní e-mail ----------
> Od: Dmitrij V <[email protected]>
> Komu: HelenOS development mailing list <[email protected]>
> Datum: 19. 12. 2018 6:20:46
> Předmět: Re: [HelenOS-devel] I need some tips with coding for the HelenOS
> "Hello !
>
> Sorry for my delayed post...
>
> I had some time for researching the "Helen OS & GPU drivers",
> there are all done already:
>
> 1) libdrm (needs to port)
> (no deep digging, something like requerements for posix ioctl ...)
>
> 2) svgalib (needs to port, native is linux) (it has support opengl
> interface)
>
> -
> regards
>
> _______________________________________________
> HelenOS-devel mailing list
> [email protected]
> http://lists.modry.cz/listinfo/helenos-devel
> "

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel
"
_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to