<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">I looked up your Asus on their site. I
      found no information about the Intel graphics controller there. I
      know many OLD Intel graphics controllers used shared system memory
      for video - that's slower than dedicated memory as part of the
      controller. I don't know if that Intel controller has its own
      memory or not.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">The NVidia GTX 850M has its own
      dedicated video memory, much faster than system memory.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">But I really don't know if video memory
      has anything to do with getting xruns when running videos. One
      possibility might be to switch to using the Nouveau driver.
      According to its specs, the NVidia controller has hardware support
      for decoding a lot of video codecs. Which means the graphics
      adapter would be handling the decoding. That might or might not
      fix the xruns.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I don't know how to do that. I found
      this page about it:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><a class="moz-txt-link-freetext" href="https://nouveau.freedesktop.org/wiki/InstallNouveau/">https://nouveau.freedesktop.org/wiki/InstallNouveau/</a></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I'm guessing that if installing or
      reinstalling the nouveau driver doesn't change the setting, you
      can change it using the instructions here "Under Configuring the X
      Server", it has a conf file to add to the Xorg configuration: <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">/etc/X11xorg.conf.d/20-nouveau.conf</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Section "Device"<br>
          Identifier "n"<br>
          Driver "nouveau"<br>
      EndSection</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">My laptop has an NVIDIA GeForce GTX
      1650 in it but I haven't tried using that yet. I'm not sure
      Nouveau supports the GPU I have.<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">On 8/24/20 7:16 AM, Nicola Pandini
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:3cab5914-7db2-cf4c-4e7f-4465ba26a3cf@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">Thank you David,</div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="">I kept i8042 in
            RTIRQ_NAME_LIST because it was present in the default
            configuration of rtirq.</span> <span title="" class="">I
            have now removed it from RTIRQ_NAME_LIST, but the situation
            doesn't seem to have changed.</span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class=""><br>
          </span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class="">Shared memory:<br>
          </span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class="">I don't know
            how to find it, c</span></span><span class="tlid-translation
          translation" lang="en"><span title="" class=""><span
              class="tlid-translation translation" lang="en"><span
                title="" class="">ould you please tell me how to check
                it out?</span></span></span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class=""><span
              class="tlid-translation translation" lang="en"><span
                title="" class=""></span></span>Here is the lspci for
            the video interface:</span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class=""><br>
          </span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class="">00:02.0 VGA
            compatible controller: Intel Corporation 4th Gen Core
            Processor Integrated Graphics Controller (rev 06) (prog-if
            00 [VGA controller])<br>
                Subsystem: ASUSTeK Computer Inc. 4th Gen Core Processor
            Integrated Graphics Controller<br>
                Flags: bus master, fast devsel, latency 0, IRQ 36<br>
                Memory at f7400000 (64-bit, non-prefetchable) [size=4M]<br>
                Memory at d0000000 (64-bit, prefetchable) [size=256M]<br>
                I/O ports at f000 [size=64]<br>
                [virtual] Expansion ROM at 000c0000 [disabled]
            [size=128K]<br>
                Capabilities: <access denied><br>
                Kernel driver in use: i915<br>
                Kernel modules: i915</span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class=""><br>
          </span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class="">01:00.0 3D
            controller: NVIDIA Corporation GM107M [GeForce GTX 850M]
            (rev a2)<br>
                Subsystem: ASUSTeK Computer Inc. GM107M [GeForce GTX
            850M]<br>
                Flags: bus master, fast devsel, latency 0, IRQ 255<br>
                Memory at f6000000 (32-bit, non-prefetchable) [size=16M]<br>
                Memory at e0000000 (64-bit, prefetchable) [size=256M]<br>
                Memory at f0000000 (64-bit, prefetchable) [size=32M]<br>
                I/O ports at e000 [size=128]<br>
                Expansion ROM at f7000000 [disabled] [size=512K]<br>
                Capabilities: <access denied><br>
                Kernel modules: nouveau<br>
          </span></span></div>
      <div class="moz-cite-prefix"><span class="tlid-translation
          translation" lang="en"><span title="" class=""><br>
          </span></span></div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">Il 23/08/20 06:35, David W. Jones ha
        scritto:<br>
      </div>
      <blockquote type="cite"
        cite="mid:7659175E-9DB4-4F43-B300-DA39B2120762@hawaii.rr.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        I don't know about the rest of the settings, but why is i8042
        (PS/2 keyboard/mouse controller) on the RTIRQ_NAME_LIST?<br>
        <br>
        Does the laptop use shared system memory for video?<br>
        <br>
        <div class="gmail_quote">On August 22, 2020 12:29:58 PM HST,
          Nicola Pandini <a class="moz-txt-link-rfc2396E"
            href="mailto:nicola.pandini@gmail.com"
            moz-do-not-send="true"><nicola.pandini@gmail.com></a>
          wrote:
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <pre class="k9mail">Hello list!
I have a setup that I use in my live sets made with an ASUS N551 laptops 
and a NI Komplete Audio 6, which allows me to play without XRUNS at 64 
frames / period with a modular approach (Qtractor, LinuxSampler, 
Yoshimi, SooperLooper, PureData).
The whole thing runs on Debian Stretch with AVLinux 4.9.47-rt37avl2 kernel.
I am quite happy with the performance of this setup, but I started 
having XRUNS when I added real-time video management as well. Those 
issues made me notice that the system runs without XRUNS only if XOrg is 
not stressed much, while it starts producing XRUNS when I play a video, 
or when I open the browser, or even when I quickly move or resize a window.

I would like to understand if the problem is due to an incorrect 
configuration of realtime priorities, or to something that I have not 
yet managed to trap.

I currently use these configurations:

[Xorg]
The video driver is i915.
I read on the internet that:
"If your graphic card was manufactured in 2007 and newer, try 
uninstalling the xserver-xorg-video-intel package and use the builtin 
modesetting driver (xserver-xorg-core) instead"
Questions:
- I uninstalled xserver-xorg-video-intel, but I still see the i915 
driver: is that correct, or should I see another driver?

[rtirq]
RTIRQ_NAME_LIST = "snd usb i8042"
RTIRQ_PRIO_HIGH = 90
RTIRQ_PRIO_DECR = 5
RTIRQ_PRIO_LOW = 51
RTIRQ_RESET_ALL = 0
RTIRQ_NON_THREADED = "rtc snd"
Questions:
- rtc must be in "NON_THREADED", or in "RTIRQ_NAME_LIST"?
- in "RTIRQ_NAME_LIST" can I remove "usb" and put only the item that 
manages my USB card? Should it be xhci?
- can i take i8042 off the list?
- is it recommended to use RTIRQ_RESET_ALL = 1 to override all other IRQs?

[jackd]
jackd -P83 -dalsa -dhw: K6 -r44100 -p64 -n2 -I1
Questions:
- the priority must be lower than those that are set to the IRQs by rtirq?

[limits.conf]
@audio - rtprio 99 # maximum realtime priority
@audio - memlock unlimited # maximum locked-in-memory address space (KB)
Questions:
- what is the recommended value of rtprio in 2020? On the internet I 
find 90, 95 and 99

Can you help me do a checkup of my configuration?

Thanks!
</pre>
          </blockquote>
        </div>
        <hr></blockquote>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
David W. Jones
<a class="moz-txt-link-abbreviated" href="mailto:gnome@hawaii.rr.com">gnome@hawaii.rr.com</a>
authenticity, honesty, community
<a class="moz-txt-link-freetext" href="http://dancingtreefrog.com">http://dancingtreefrog.com</a>
"My password is the last 8 digits of π."</pre>
  </body>
</html>