Displaying 7 results from an estimated 7 matches for "michaelkloos".
2020 Jul 05
1
Framebuffer double buffering (via FBIOPAN_DISPLAY)
...ent and exposes the FBDEV API.
>
> The overallocation logic was added to this emulation layer in commit
> 5f15257689bfa, which is included in v4.12 and later kernels.
>
> Hope this helps,
>
> -ilia
>
> On Sun, Jul 5, 2020 at 7:02 PM Michael T. Kloos
> <michael at michaelkloos.com> wrote:
>> Well...it's been a bit of a mixed bag. Setting
>> drm_kms_helper.drm_fbdev_overalloc=200 set the vinfo.yres_virtual to
>> 2160 as opposed to 1080 (My monitor vertical resolution) This fixed the
>> mmap() problem. However, it only worked on my main wo...
2020 Jul 05
2
Framebuffer double buffering (via FBIOPAN_DISPLAY)
...7/5/20 3:45 PM, Ilia Mirkin wrote:
> Try booting with drm_kms_helper.drm_fbdev_overalloc=200 and see if it
> works with that. (There's also CONFIG_DRM_FBDEV_OVERALLOC which sets
> the default.)
>
> Cheers,
>
> -ilia
>
> On Sun, Jul 5, 2020 at 3:41 PM <michael at michaelkloos.com> wrote:
>> I am not familiar with that setting, but I have really struggled to find documentation on dealing with the framebuffer. Referring to this guide, "http://betteros.org/tut/graphics1.php#doublebuffer", I attempted to set the mmap allocation size to double, but it cau...
2020 Jul 05
2
Framebuffer double buffering (via FBIOPAN_DISPLAY)
..." /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Are you setting the overallocation to 200?
<br>
<br>
On Sun, Jul 5, 2020 at 3:41 AM Michael T. Kloos
<br>
<michael@michaelkloos.com> wrote:
<br>
>
<br>
> Does NOUVEAU support mmaping a double-sized Framebuffer?
<br>
> When attempting to run, where fd refers to "/dev/fb0":
<br>
>
<br>
> mmap(ptr, screensize * 2, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
<br>
&...
2020 Jul 05
0
Framebuffer double buffering (via FBIOPAN_DISPLAY)
...dev emulation acts as
sort of a regular DRM client and exposes the FBDEV API.
The overallocation logic was added to this emulation layer in commit
5f15257689bfa, which is included in v4.12 and later kernels.
Hope this helps,
-ilia
On Sun, Jul 5, 2020 at 7:02 PM Michael T. Kloos
<michael at michaelkloos.com> wrote:
>
> Well...it's been a bit of a mixed bag. Setting
> drm_kms_helper.drm_fbdev_overalloc=200 set the vinfo.yres_virtual to
> 2160 as opposed to 1080 (My monitor vertical resolution) This fixed the
> mmap() problem. However, it only worked on my main workstation....
2020 Jul 05
2
Framebuffer double buffering (via FBIOPAN_DISPLAY)
Does NOUVEAU support mmaping a double-sized Framebuffer?
When attempting to run, where fd refers to "/dev/fb0":
mmap(ptr, screensize * 2, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
I get back an invalid argument error. This doesn't happen if I only
request a single screensize. Is this a limitation of the driver?
-------------- next part --------------
An HTML attachment was
2020 Jul 05
0
Framebuffer double buffering (via FBIOPAN_DISPLAY)
Try booting with drm_kms_helper.drm_fbdev_overalloc=200 and see if it
works with that. (There's also CONFIG_DRM_FBDEV_OVERALLOC which sets
the default.)
Cheers,
-ilia
On Sun, Jul 5, 2020 at 3:41 PM <michael at michaelkloos.com> wrote:
>
> I am not familiar with that setting, but I have really struggled to find documentation on dealing with the framebuffer. Referring to this guide, "http://betteros.org/tut/graphics1.php#doublebuffer", I attempted to set the mmap allocation size to double, but it ca...
2020 Jul 05
0
Framebuffer double buffering (via FBIOPAN_DISPLAY)
Are you setting the overallocation to 200?
On Sun, Jul 5, 2020 at 3:41 AM Michael T. Kloos
<michael at michaelkloos.com> wrote:
>
> Does NOUVEAU support mmaping a double-sized Framebuffer?
> When attempting to run, where fd refers to "/dev/fb0":
>
> mmap(ptr, screensize * 2, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
>
> I get back an invalid argument error. This doesn't h...