Giter Club home page Giter Club logo

Comments (15)

ulli-kroll avatar ulli-kroll commented on August 28, 2024

I if wonder why you cant see no desktop ...
this is right, there is currently no DRM support
please read here
#12

from fl2000.

klogg avatar klogg commented on August 28, 2024

@ulli-kroll yeah, I know about the DRM and I saw your "testing" branch (BTW, impressive work! hope you did not abandon it yet 😃) My problem is different - somehow driver with params I have created still outputs testing sample image incorrectly: it gets displayed on the screen but seems like something wrong with colors or whatever, I had no time to analyze yet. I plan to switch to your codebase, it is much more clean than the original which seem to be stalled.

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

With sample you the code in samplle/, right ?

Try do this with my testing branch, I've changed the USB part here. Some controllers may not happy with the scatter/gather approach in the driver especially my APU/APU2 devices form PC Engines I use for testing, some AMD Embedded SoC device.

The testing branch is used to check for some corner cases of the device, i.e. with the compression code, which can not work due some timing restrictions in the device and/or host. I've tested this barely with some bitmak (re)mapping, I've got about 100% cpu on one core with only 1280*1024.

So it's really needed to setup some shadow buffer an "stream" this to the device

from fl2000.

klogg avatar klogg commented on August 28, 2024

With sample you the code in sample, right ?

Yep

Try do this with my testing branch

Already did rebase, will try later. Also removing the whole "big_table" crap.

So it's really needed to setup some shadow buffer an "stream" this to the device

Did you check latest changes in DRM/KMS subsystem? I think it must be much easier to create and test DRM drivers now, I think we can try it.

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

I have a working DRM driver, but currently with no data transfer to the device. (*)
And this is specific to the device.
Depending of the plane layout some conversion is needed.
i.e.
on DRM with RGB 8 Bit (with 32 bits per pixel) to 8 bit/24 RGB windows bitmap layout.
but this is not enabled/uses yet.

Currently all I want to do, is send some generated picture data to the device to test the limitations in the area.

(*)
for this I need the shadow buffer.

from fl2000.

klogg avatar klogg commented on August 28, 2024

@ulli-kroll do you have the DRM driver published somewhere?

from fl2000.

prusswan avatar prusswan commented on August 28, 2024

For the record, the kernel source and test program is currently working on Ubuntu 18.04 Alpha 2 (linux kernel 4.13). Is there some similar driver that can be adapted to work with it? I remember there is a single usb2vga device that works on Ubuntu.

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

@klogg
As I said, I have no data transfer to the device, my big problem is memory.

@prusswan

latest kernel for me is v4.14.x due some restriction in wireless work.
for DRM this may
drivers/gpu/drm/udl/udl.ko
but this is DISPLAYLINK

some question form my side for @prusswan
which resolution
if the picture is flickering ?

from fl2000.

prusswan avatar prusswan commented on August 28, 2024

There were 3 resolutions detected (I will update when I have access to the machine again), shown using the _0 images since they are all flipped across the middle. No flickering...just display of static images.

1920x1080 and 1280x1024 are showing the _0 bmp files.
1024x768 is showing red/green/blue/white horizontal bars (the pattern repeats)

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

1920x1080 and 1280x1024 are showing the _0 bmp files.

hmm,
which output HDMI/DVI/VGA
also which CPU and/or North/Southbridge.
I get only 1280x1024 with the modified driver.

from fl2000.

prusswan avatar prusswan commented on August 28, 2024

output is VGA using Intel HD4000
For available resolutions, it may also depend on the screen/monitor you are using..

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

I have some monitor with 1920x1080, but I get only flickering with this resolution.
NO real picture, only top 50 lines or so are visible.
Running on a AMD SoC with 1GHz and most is done via DMA ...
Mabye I have some issue with the USB transfer with USB3

from fl2000.

klogg avatar klogg commented on August 28, 2024

@ulli-kroll have you seen this series? https://lists.freedesktop.org/archives/dri-devel/2017-September/152115.html

from fl2000.

ulli-kroll avatar ulli-kroll commented on August 28, 2024

The is already something in drm which I use
drm_dev_is_unplugged()

from fl2000.

klogg avatar klogg commented on August 28, 2024

Managed to get PLL setting for 800x480 by sniffing windows driver.

from fl2000.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.