Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:24
    dasSubjekt commented #2869
  • 16:22
    dasSubjekt closed #2869
  • 16:22
    dasSubjekt commented #2869
  • 16:06
    dasSubjekt commented #2869
  • 15:54
    kekekeks commented #2869
  • 15:51
    dasSubjekt opened #2869
  • 11:42
    aguahombre edited #2868
  • 11:39
    aguahombre edited #2868
  • 11:27
    Gillibald synchronize #2866
  • 11:22
    aguahombre opened #2868
  • 10:28
    Gillibald synchronize #2866
  • 08:47
    Gillibald commented #2866
  • 08:43
    Gillibald synchronize #2866
  • 07:33
    ahopper commented #2866
  • 04:38
    Karnah synchronize #2867
  • Aug 21 21:33
    worldbeater synchronize #2816
  • Aug 21 21:29
    worldbeater synchronize #2816
  • Aug 21 19:48
    Gillibald synchronize #2866
  • Aug 21 19:48
    Gillibald synchronize #2866
  • Aug 21 19:36
    Gillibald synchronize #2866
Nikita Tsukanov
@kekekeks
@soerendd you probably need to configure access rights to device files first
or just run as root
also check if kmscube works
@johnnyasantoss you probably need Avalonia.FreeDesktop project that will be merged alongside with AvaloniaUI/Avalonia#2777
Johnny Anderson dos Santos
@johnnyasantoss
@kekekeks Oh, nice! That's exactly what I was looking for :) I'll merge against that branch/fork and then later wait for it to be merged to Avalonia :D
soerendd
@soerendd
@kekekeks kmscube shows the same. To compile kmscube I needed to install all sort of libraries. I needed to install Mesa-dev. After that glxinfo shows emulated VMware. Will see how far I get.
vlad0s777
@vlad0s777

@vlad0s777

Hello! When creating SaveFileDialog I use InitialFileName. On Windows, this works well, but on Linux an empty string((

soerendd
@soerendd
@kekekeks kmscube runs finally. I needed to switch to the kms opengl driver and start it from the pi itself and not via ssh. The Avalonia part does not works nevertheless. It complains about drmModeAddFb failed in GetFbIdForBo
Bakuryu
@Bakuryu
@worldbeater For that article you sent it mentions not being compatible with UWP, does that mean it would have issues working on Windows or just being a UWP App
Nikita Tsukanov
@kekekeks
@soerendd make sure that XOrg isn't running
or make a vt switch to a clean console
You've mentioned that you were able to get opengl working without X
what method did you use?
soerendd
@soerendd
@kekekeks when running X neither kmscube nor my Avalonia test starts. It tells that it can not open a device. Ok so far for me. Kmscube works when X is not running. If I start my Avalonia test without X I get the error from above. When running X I can start glxgears eg. This does not run without X
It complains about drmModeAddFb failed in GetFbIdForBo
When I start my Avalonia test
If I can get it to work on the rpi3 armv7 I will recompile skia for the armv7 and provide the so if you r interested
Nikita Tsukanov
@kekekeks
there is a prebuilt so for armv7-hard-float
see the nuget package
Check if your display has 16 bit depth
soerendd
@soerendd
Yes, that's what I use for the rpi3 currently. How to check for 16bit depth?
Nikita Tsukanov
@kekekeks
it should be in the specs
soerendd
@soerendd
My final device is a rpi zero which is armv6
we are trying to add a fb with 32 bpp and 24-bit depth
Also, try debugging that code, there might be some other function I haven't checked the return value for
Nikita Tsukanov
@kekekeks
I've only checked with Intel hardware
soerendd
@soerendd
It is set to 32 bit. I it seems I cannot change this. Setting framebuffer_depth=24 does not seem to have any effect. Fbset always reports 32
Nikita Tsukanov
@kekekeks
fbset reports the emulated framebuffer parameters
try debugging the code, we might be choosing a wrong mode, wrong crtc, etc
soerendd
@soerendd
Maybe a dumb question. How to debug on the raspi from my windows machine? Or is there a debugger directly avail on the raspi?
ALIENQuake
@ALIENQuake
Hello
I have general question regarding Avalonia Theming posibilites
Let's take look a this application, it's Angular2-based + Node etc:
image.png
Does AV have capabilites to create application which looks like this?
Nikita Tsukanov
@kekekeks
Yes
ALIENQuake
@ALIENQuake
Can I ask some more questions which are not rleated to coding ?
btw, the app is Vortex mod manager from mexusmods.com
ALIENQuake
@ALIENQuake
How AV compare to:
  1. QT in terms of stablity on MacOS and Linux?
  2. WPF in terms of Controls/Fearutes?
  3. TreeView implementation?
Nikita Tsukanov
@kekekeks
  1. mostly stable, wasabi wallet guys have catched most of the issues
  2. no flow document, video playback, RTL scripts, CJK input and accessibility yet
  3. TreeView works the same as in WPF
ALIENQuake
@ALIENQuake
:O
ALIENQuake
@ALIENQuake
At 2 - dosen't matter for me
Can I create standalone executable where everything which is needed in order to run AV app is bundled inside executable ? (Net Core dll + Avalonia dll etc)
Jeremy Koritzinsky
@jkoritzinsky
You can use the single-exe feature in .NET Core 3.0
ALIENQuake
@ALIENQuake
@jkoritzinsky But does AV support Net Core 3.x ?
Jeremy Koritzinsky
@jkoritzinsky
AFAIK yes
ahopper
@ahopper
netcore 3.0 plays perfectly with Avalonia for me.