-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
800x480 resolution support #13
Comments
I if wonder why you cant see no desktop ... |
@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. |
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 |
Yep
Already did rebase, will try later. Also removing the whole "big_table" crap.
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. |
I have a working DRM driver, but currently with no data transfer to the device. (*) Currently all I want to do, is send some generated picture data to the device to test the limitations in the area. (*) |
@ulli-kroll do you have the DRM driver published somewhere? |
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. |
@klogg latest kernel for me is v4.14.x due some restriction in wireless work. some question form my side for @prusswan |
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. |
hmm, |
output is VGA using Intel HD4000 |
I have some monitor with 1920x1080, but I get only flickering with this resolution. |
@ulli-kroll have you seen this series? https://lists.freedesktop.org/archives/dri-devel/2017-September/152115.html |
The is already something in drm which I use |
Managed to get PLL setting for 800x480 by sniffing windows driver. |
Any chance to get values for big_table_<24,16,8>bit_r<0,1> resolution_entry structures that support 800x480 displays? I'd like to connect standard Raspberry Pi HDMI display
EDIT some more information below
Based on EDID information from monitor
I have built table with display values:
and filled register values in the 'big_table':
From the code it seems that in addition to these registers driver also sets bulk_asic_pll register. Checking the big_table it seems that this register configures pll for pixel clock (32MHz according to EDID) and has at least 3 groups of fields (MSB to LSB):
With 10MHz XTAL I have have value of 0x00100105 for pll register (32MHz = 10MHz / 8 * 128 / 5)
Based on the data above I have created an extra line for the big_table, but right now it still does not work and I am a bit puzzled why. Also I am wondering why driver does not use EDIDs properly? BTW, the device works perfectly (well, except known issue with flickering) with this monitor with Windows 10...
The text was updated successfully, but these errors were encountered: