דילוג לתוכן

ריבוי מעבדים גרפיים

If your computer has more than one graphics card (or “GPU”), most of the time applications that need to do heavy graphical work will automatically use the more powerful GPU.

If this isn’t working as expected, here are some methods for forcing apps to use the more powerful GPU:

שינוי קבוע, באמצעות עורך התפריטים

השיטה הזאת תאחץ את היישום להשתמש במעבד הגרפי הייעודי בכל פעם שהוא מופעל מתוך פלזמה מבית KDE או כל יישום אחר.

  1. להפעיל את היישום עורך התפריטים
  2. בסרגל הצד, לאתר את היישום הסורר
  3. ללחוץ על לשונית „מתקדם”
  4. לסמן את התיבה „להריץ באמצעות כרטיס גרפי ייעודי”
  5. ללחוץ על „שמירה”.

Persistent change for Steam Games

This method will force the game to use the dedicated GPU every time it’s launched from Steam.

  1. Locate the game on your “Library” page and click it
  2. Click the gear icon and select “Properties”
  3. If your dedicated GPU is from AMD or Intel, enter:
    DRI_PRIME=1 %command%
  4. If your dedicated GPU is from NVIDIA, enter:
    __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

Temporary change, using the command-line

This method will temporarily force the app to use the dedicated GPU right now. The change will not be permanent if you run the app using any other method in the future.

Choose one option depending on which kind of dedicated GPU the system has, and then run that option’s command in a terminal window:

  • אם המעבד הגרפי הייעודי הוא של AMD או אינטל:
    DRI_PRIME=1 [the executable name/path of the app]
  • If the dedicated GPU is from NVIDIA:
    prime-run [the executable name/path of the app]

הכתבה נתרמה על ידי בכפוף לרישיון CC-BY-4.0.