Displaying 4 results from an estimated 4 matches for "drmmode_event_handler".
2020 Aug 16
1
[PATCH 1/2] drmmode: make event handler leave a note that there are stuck events
...1 file changed, 11 insertions(+)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 2d3229c..45292c4 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -159,6 +159,8 @@ drmmode_events = {
 	.prev = &drmmode_events,
 };
 
+static bool warned = false;
+
 static void
 drmmode_event_handler(int fd, unsigned int frame, unsigned int tv_sec,
 		      unsigned int tv_usec, void *event_data)
@@ -166,7 +168,10 @@ drmmode_event_handler(int fd, unsigned int frame, unsigned int tv_sec,
 	const uint64_t ust = (uint64_t)tv_sec * 1000000 + tv_usec;
 	struct drmmode_event *e = event_data;
 
+	int...
2020 Aug 13
2
Accumulating CPU load from Xorg process with DRI3
I observed this bug for quite some time, but so far I workarounded it
with just setting DRI2 (default) in xorg.conf.d/20-nouveau.conf 
Now with two GPU i iwsh to use DRI3, so right now it set up like this:
cat /etc/X11/xorg.conf.d/20-nouveau.conf
Section "Device"
    Identifier "Card0"
    Driver "nouveau"
    Option "PageFlip" "1"
    #Option
2020 Aug 13
0
Accumulating CPU load from Xorg process with DRI3
I'm aware of this issue, and am experiencing it myself.
The issue is that drmmode_event_handler takes up more and more CPU
time. It seems like some events are being "left behind". I haven't had
time to debug it further yet though.
I also have DRI3 enabled, but only very rarely do I make use of my
secondary GPUs, and I'm pretty sure I've seen the problem happen
without a...
2020 Aug 16
1
Accumulating CPU load from Xorg process with DRI3
...>
> > >   -ilia
> > >
> > > On Thu, Aug 13, 2020 at 6:47 PM Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> > > >
> > > > I'm aware of this issue, and am experiencing it myself.
> > > >
> > > > The issue is that drmmode_event_handler takes up more and more CPU
> > > > time. It seems like some events are being "left behind". I haven't had
> > > > time to debug it further yet though.
> > > >
> > > > I also have DRI3 enabled, but only very rarely do I make use of my
>...