Displaying 7 results from an estimated 7 matches for "fbiopan_display".
Did you mean:
fb_pan_display
2020 Jul 05
0
Framebuffer double buffering (via FBIOPAN_DISPLAY)
Check fb_pan_display in drivers/video/fbdev/core/fbmem.c for the
argument validation of the FBIOPAN_DISPLAY ioctl.
CONFIG_FB_NVIDIA is a dedicated fbdev driver, not compatible with
nouveau (it takes over the relevant PCI device). It also won't support
your Pascal GPU, I believe -- I think it MIGHT support the Tesla
generation (i.e. G80..GT21x) but definitely not anything newer. Most
likely it suppor...
2020 Jul 05
1
Framebuffer double buffering (via FBIOPAN_DISPLAY)
Oops, the FBIOPAN_DISPLAY ioctl error was a stupid mistake on mistake on
my part.? Thanks for the info on where the validation code was.?
Comparing against that made it easy to find the mistake.? It's working
now, well...where I have been able to get over-allocation working!?
Thanks for the help.? If I can't get...
2020 Jul 05
2
Framebuffer double buffering (via FBIOPAN_DISPLAY)
...ed on my main workstation.? My
laptop running Intel graphics wasn't affected by the change in kernel
cmdline.? My workstation is a custom build from a few years ago with a
GTX 1060 6GB, running Gentoo(Kernel version: 5.4) machine, and my laptop
running Manjaro.? I also can not get the IOCTL FBIOPAN_DISPLAY to work.?
It is now giving me an invalid argument error.? I have set vinfo.xoffset
and vinfo.yoffset to 0 earlier in my program to try to eliminate them as
variables.
Other factors that may be at play:
-I am trying to run this from an alternate TTY.? I have a graphical
environment on TTY7 wit...
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)
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.
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
2020 Jul 05
2
Framebuffer double buffering (via FBIOPAN_DISPLAY)
<div dir='auto'>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 caused the mmap to fail. I no longer believe that it is a driver issue, though, because I just