KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines

  1. <?php
  2. $PAGE_TITLE = "KXStudio";
  4. $PAGE_SOURCE_1 = ARRAY("/Documentation", "/Documentation", "/Documentation:Manual:video_drivers");
  5. $PAGE_SOURCE_2 = ARRAY("Documentation", "Manual", "Installing non-free video drivers");
  6. include_once("includes/header.php");
  7. ?>
  8. <div class="level1">
  9. <p>
  10. The majority of modern day PC hardware uses display technology from either Nvidia, ATI/AMD, or Intel.
  11. </p>
  12. <p>
  13. Intel drivers are open source but the official Nvidia and ATI/AMD drivers are proprietary. Fresh KXStudio installations include official drivers for Intel video but only unofficial drivers for Nvidia and ATI/AMD. The official Nvidia or ATI/AMD drivers are easily added if required, and they often provide superior performance (especially for OpenGL 3D and gaming), extra or more complete features, and better power management.
  14. </p>
  15. </div>
  16. <h2><span name="what_type_of_video_hardware_do_i_have" id="what_type_of_video_hardware_do_i_have">What type of video hardware do I have?</span></h2>
  17. <div class="level2">
  18. <p>
  19. If you&#039;re unsure what vendor or model video hardware you have installed in your machine, open a terminal (such as Konsole) and type:
  20. </p>
  21. <pre class="code">lspci</pre>
  22. <p>
  23. lspci will &#039;List PCI&#039; hardware installed on your machine, including your video device - the make and model of which is listed as being a &#039;VGA compatible controller&#039;. If it is a Nvidia or ATI/AMD device then you may want to switch to the non-free driver, if its available for your hardware, to take advantage of the extra features and better performance.
  24. </p>
  25. </div>
  26. <h2><span name="using_the_additional_drivers_tool" id="using_the_additional_drivers_tool">Using the &#039;Additional Drivers&#039; tool</span></h2>
  27. <div class="level2">
  28. <p>
  29. The &#039;Additional Drivers&#039; tool can be used to simplify the process of downloading and installing or removing non-free video drivers. It requires that you are connected to the internet for it to fetch the requested drivers. From the KX Studio desktop menu you can find it under the Applications → System sub-menu or you may find it easier to search for it.
  30. </p>
  31. <p>
  32. When you run the Additional Drivers tool it will check the type of video hardware you have before presenting a new window in which you will see a list of compatible drivers, if any are available. You may be presented with more than one suitable driver but it&#039;s safe to use the recommended version if you&#039;re unsure which version of the driver is best for you. Select a driver, then click &#039;Activate&#039; which will then download and install the new driver. The new driver will not take effect until you have rebooted.
  33. </p>
  34. </div>
  35. <h2><span name="configure_default_laptop_screen_brightness" id="configure_default_laptop_screen_brightness">Configure default laptop screen brightness</span></h2>
  36. <div class="level2">
  37. <p>
  38. Lower laptop screen brightness settings conserve energy and increase battery life but sometimes visibility can suffer. A fresh install of KXStudio/Ubuntu defaults to the lowest brightness settings, for my laptop display at least, and I find it uncomfortable on anything other than its highest brightness setting so I set that to be the default at boot by running the command:
  39. </p>
  40. <pre class="code">kdesudo kate /etc/rc.local</pre>
  41. <p>
  42. and adding the line
  43. </p>
  44. <pre class="code">echo 7 &gt; /sys/class/backlight/acpi_video0/brightness</pre>
  45. <p>
  46. somewhere before the line that says &#039;exit 0&#039;. This command sets the screen brightness to the max value of 7, the lowest brightness setting being 0. The file /sys/class/backlight/acpi_video0/max_brightness tells you what the max setting is.
  47. </p>
  48. <p>
  49. It&#039;s important to note that the path to the brightness setting as well as the values used may differ depending on your video hardware. laptop model and display config so you will have to check for the presence of these files and discover their correct locations before modifying rc.local.
  50. </p>
  51. </div>
  52. <h2><span name="nvidia_video_fixes_and_tweaks" id="nvidia_video_fixes_and_tweaks">Nvidia video fixes and tweaks</span></h2>
  53. <div class="level2">
  54. <p>
  55. To enable the screen brightness control keys and disable the NVIDIA boot logo on my NVIDIA-using laptop using the non-free nvidia driver I had to create a file located at /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf so run a command like:
  56. </p>
  57. <pre class="code">kdesudo kate /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf</pre>
  58. <p>
  59. containing (copy/paste this into that .conf file)
  60. </p>
  61. <pre class="code">Section &quot;Device&quot;
  62. Identifier &quot;Device0&quot;
  63. Driver &quot;nvidia&quot;
  64. VendorName &quot;NVIDIA Corporation&quot;
  65. BoardName &quot;GeForce 8600M&quot;
  66. Option &quot;RegistryDwords&quot; &quot;EnableBrightnessControl=1&quot;
  67. Option &quot;NoLogo&quot; &quot;true&quot;
  68. EndSection</pre>
  69. <p>
  70. Then, after rebooting, I could hold the Fn key and use the up/down arrow keys to adjust my laptop screen brightness. I don&#039;t think the VendorName and BoardName matter too much here and this change should work for anyone using the non-free Nvidia driver on a laptop.
  71. </p>
  72. </div>
  73. <h2><span name="additional_amd_issues" id="additional_amd_issues">Additional AMD issues</span></h2>
  74. <div class="level2">
  75. <p>
  76. For thorough information about the proprietary AMD drivers, including how to install more up-to-date drivers or how to remove the proprietary drivers and return to the <acronym title="Free/Libre and Open Source Software">FLOSS</acronym> ones, see the <a href="http://wiki.cchtml.com/" class="urlextern" title="http://wiki.cchtml.com/" rel="nofollow">AMD Linux driver community wiki.</a>
  77. </p>
  78. </div>
  79. <p><br/></p>
  80. <?php
  81. include_once("includes/footer.php");
  82. ?>