Difference between revisions of "Via"

From ArchWiki
Jump to: navigation, search
m (categorize like ATI etc.)
m (style, see Help:Style)
Line 2: Line 2:
 
[[Category:X Server]]
 
[[Category:X Server]]
 
[[ru:Via Unichrome]]
 
[[ru:Via Unichrome]]
==Different Unichrome family display drivers==
+
== Different Unichrome family display drivers ==
  
===The VIA proprietary drivers===
+
=== The VIA proprietary drivers ===
  
These are considered unstable and insecure. They are however the only way to get any form of 3D acceleration or even reliable modesetting on certain chipsets, and can be installed using the [https://aur.archlinux.org/packages/via-chrome9-dkms/ via-chrome9-dkms], [https://aur.archlinux.org/packages/xf86-video-via-chrome9/ xf86-video-via-chrome9] & [https://aur.archlinux.org/packages/via-chrome9-dri/ via-chrome9-dri] packages from the AUR.
+
These are considered unstable and insecure. They are however the only way to get any form of 3D acceleration or even reliable modesetting on certain chipsets, and can be installed using one of the following packages from the [[AUR]]:
 +
* {{AUR|via-chrome9-dkms}}
 +
* {{AUR|xf86-video-via-chrome9}}
 +
* {{AUR|via-chrome9-dri}}
  
===The OpenChrome driver===
+
=== The OpenChrome driver ===
  
The most advanced and developed driver for Unichromes. Supports CLE266, KM400/KN400/KM400A/P4M800, CN400/PM800/PN800/PM880, K8M800, CN700/VM800/P4M800Pro, CX700, P4M890, K8M890 and P4M900/VN896 chipsets. Accelerates 2D, 3D, Xvideo and mpeg2 decoding using XvMC. This driver is the only way to go if you want to be on the bleeding edge.
+
The most advanced and developed driver for Unichromes. Supports CLE266, KM400/KN400/KM400A/P4M800, CN400/PM800/PN800/PM880, K8M800, CN700/VM800/P4M800Pro, CX700, P4M890, K8M890 and P4M900/VN896 chipsets. Accelerates 2D, 3D, Xvideo and mpeg2 decoding using [[XvMC]]. This driver is the only way to go if you want to be on the bleeding edge.
  
You can install the OpenChrome driver with command:
+
To get the OpenChrome driver, [[pacman|install]] the {{Pkg|xf86-video-openchrome}} package.
  
pacman -S xf86-video-openchrome
+
The {{ic|xorg.conf}} driver name is {{ic|openchrome}}.
  
The {{ic|xorg.conf}} driver name is {{ic|openchrome.}}
+
==== Troubleshooting ====
  
====Troubleshooting====
+
To enable any of the following options to fix issues, first create a new file {{ic|10-openchrome.conf}} in {{ic|/etc/X11/xorg.conf.d/}}:
  
'''Black screen when booting from LiveCD'''
 
 
If you experience a black screen when booting from Live-CD, place the following paramenter to the end of the kernel load options (please note that  {{ic|nomodeset}} option probably won't work here)
 
 
modprobe.blacklist=viafb
 
 
After installing the system you'll need to blacklist {{ic|viafb}} module. Just create a file /etc/modprobe.d/blacklist.conf with the following line:
 
 
blacklist viafb
 
 
To enable any of the following options to fix issues, first create a new file 10-openchrome.conf in /etc/X11/xorg.conf.d/:
 
 
  Section "Device"
 
  Section "Device"
 
     Identifier "''My Device Name''"
 
     Identifier "''My Device Name''"
Line 36: Line 28:
 
  EndSection
 
  EndSection
  
If your X-Server shows artifacts and fails to redraw some windows, try disabling the "EnableAGPDMA" option:
+
If your X Server shows artifacts and fails to redraw some windows, try disabling the {{ic|EnableAGPDMA}} option:
 +
 
 
  Option    "EnableAGPDMA"              "false"
 
  Option    "EnableAGPDMA"              "false"
  
If your machine freeze at startup (GDM) or after login (slim), try adding the XAA option "XaaNoImageWriteRect". Note that this only applies if you are using the XAA acceleration method (configured by the "AccelMethod" option). As of 0.2.906, the default acceleration method is EXA.
+
If your machine freeze at startup ([[GDM]]) or after login ([[slim]]), try adding the XAA option {{ic|XaaNoImageWriteRect}}. Note that this only applies if you are using the XAA acceleration method (configured by the {{ic|AccelMethod}} option). Since 0.2.906, the default acceleration method is EXA.
 +
 
 
  Option "XaaNoImageWriteRect"
 
  Option "XaaNoImageWriteRect"
  
 
If you experience significant CPU usage and low UI framerate, try adding:
 
If you experience significant CPU usage and low UI framerate, try adding:
 +
 
  Option "AccelMethod" "XAA"
 
  Option "AccelMethod" "XAA"
  
====Hardware Specific====
+
===== Black screen when booting from LiveCD =====
=====VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC]=====
+
The EXA acceleration method may cause significant CPU usage and low UI framerate.  Refer to the "AccelMethod" option in the [[#Troubleshooting]] section.
+
  
==Unichrome and OpenGL==
+
If you experience a black screen when booting from Live-CD, add {{ic|1=modprobe.blacklist=viafb}} on the [[Kernel parameters|kernel command line]].
 +
 
 +
{{Note|The {{ic|nomodeset}} option will probably not work here.}}
 +
 
 +
After installing the system you will need to [[Kernel Modules#Blacklisting|blacklist]] the {{ic|viafb}} module.
 +
 
 +
==== Hardware Specific ====
 +
 
 +
===== VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] =====
 +
 
 +
The EXA acceleration method may cause significant CPU usage and low UI framerate.  Refer to the {{ic|AccelMethod}} option in the [[#Troubleshooting]] section.
 +
 
 +
== Unichrome and OpenGL ==
  
 
OpenGL support for Via's graphic chipsets is seriously outdated. At the moment you will not be able to run more fancy applications, games or compositing desktops like Compiz Fusion that rely on OpenGL as a backend, because the more recent OpenGL extensions are not yet supported in Unichrome 3D driver. You will be able to run simple OpenGL-applications though. The 3D driver for Unichrome is provided by the the DRI project.
 
OpenGL support for Via's graphic chipsets is seriously outdated. At the moment you will not be able to run more fancy applications, games or compositing desktops like Compiz Fusion that rely on OpenGL as a backend, because the more recent OpenGL extensions are not yet supported in Unichrome 3D driver. You will be able to run simple OpenGL-applications though. The 3D driver for Unichrome is provided by the the DRI project.
  
Install unichrome-dri, libgl and mesa -packages to get OpenGL to work.
+
Install {{Pkg|unichrome-dri}}, {{Pkg|mesa-libgl}} and {{Pkg|mesa}} packages to get OpenGL to work.
  
==DPMS problems==
+
== DPMS problems ==
  
 
If you experience problems with DPMS not turning off laptop's backlight, try adding:
 
If you experience problems with DPMS not turning off laptop's backlight, try adding:
Line 61: Line 66:
 
  Option "VBEModes" "true"
 
  Option "VBEModes" "true"
  
to the device section of {{ic|xorg.conf.}}
+
to the device section of {{ic|xorg.conf}}.
  
==Hangup on exit==
+
== Hangup on exit ==
  
 
If your computer crashes when closing X, you may try not using vesa driver for kernel console. Just delete the vga stuff from kernel line on grub or append line on lilo.
 
If your computer crashes when closing X, you may try not using vesa driver for kernel console. Just delete the vga stuff from kernel line on grub or append line on lilo.
  
== External Resources==
+
== See also ==
 +
 
 
* [http://www.freedesktop.org/wiki/Openchrome/ OpenChrome-project]
 
* [http://www.freedesktop.org/wiki/Openchrome/ OpenChrome-project]
 
* [http://unichrome.sourceforge.net/ Unichrome-project]
 
* [http://unichrome.sourceforge.net/ Unichrome-project]

Revision as of 18:54, 1 September 2013

Different Unichrome family display drivers

The VIA proprietary drivers

These are considered unstable and insecure. They are however the only way to get any form of 3D acceleration or even reliable modesetting on certain chipsets, and can be installed using one of the following packages from the AUR:

The OpenChrome driver

The most advanced and developed driver for Unichromes. Supports CLE266, KM400/KN400/KM400A/P4M800, CN400/PM800/PN800/PM880, K8M800, CN700/VM800/P4M800Pro, CX700, P4M890, K8M890 and P4M900/VN896 chipsets. Accelerates 2D, 3D, Xvideo and mpeg2 decoding using XvMC. This driver is the only way to go if you want to be on the bleeding edge.

To get the OpenChrome driver, install the xf86-video-openchrome package.

The xorg.conf driver name is openchrome.

Troubleshooting

To enable any of the following options to fix issues, first create a new file 10-openchrome.conf in /etc/X11/xorg.conf.d/:

Section "Device"
    Identifier "My Device Name"
    Driver "openchrome"
EndSection

If your X Server shows artifacts and fails to redraw some windows, try disabling the EnableAGPDMA option:

Option     "EnableAGPDMA"               "false"

If your machine freeze at startup (GDM) or after login (slim), try adding the XAA option XaaNoImageWriteRect. Note that this only applies if you are using the XAA acceleration method (configured by the AccelMethod option). Since 0.2.906, the default acceleration method is EXA.

Option "XaaNoImageWriteRect"

If you experience significant CPU usage and low UI framerate, try adding:

Option "AccelMethod" "XAA"
Black screen when booting from LiveCD

If you experience a black screen when booting from Live-CD, add modprobe.blacklist=viafb on the kernel command line.

Note: The nomodeset option will probably not work here.

After installing the system you will need to blacklist the viafb module.

Hardware Specific

VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC]

The EXA acceleration method may cause significant CPU usage and low UI framerate. Refer to the AccelMethod option in the #Troubleshooting section.

Unichrome and OpenGL

OpenGL support for Via's graphic chipsets is seriously outdated. At the moment you will not be able to run more fancy applications, games or compositing desktops like Compiz Fusion that rely on OpenGL as a backend, because the more recent OpenGL extensions are not yet supported in Unichrome 3D driver. You will be able to run simple OpenGL-applications though. The 3D driver for Unichrome is provided by the the DRI project.

Install unichrome-dri, mesa-libgl and mesa packages to get OpenGL to work.

DPMS problems

If you experience problems with DPMS not turning off laptop's backlight, try adding:

Option "VBEModes" "true"

to the device section of xorg.conf.

Hangup on exit

If your computer crashes when closing X, you may try not using vesa driver for kernel console. Just delete the vga stuff from kernel line on grub or append line on lilo.

See also