summaryrefslogtreecommitdiff
path: root/ExherboInstall.mdwn
blob: 97e1b81bf8377e5ccbc931b913703315245f687c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<meta name="google-translate-customization" content="38b387022ed0f4d4-a4eb7ef5c10c8ae0-g2870fab75904ce51-18"></meta>
<div id="google_translate_element"></div>
<script type="text/javascript" src="/wiki/translate.js"></script>



## Installation

1. Install libdrm with the nouveau support [[!format txt """
 echo "*/* video_drivers: nouveau" >> /etc/paludis/options.conf
 cave resolve -x libdrm
 
"""]]
1. Install the 2D nouveau driver for xorg [[!format txt """
 cave resolve -x xf86-video-nouveau
 
"""]]
1. Start xorg with this minimal config [[!format txt """
 cat <<EOF >>/etc/X11/xorg.conf
 echo Section "Device"
    Identifier "myvideocard"
    Driver     "nouveau"
 EndSection
 EOF
 
"""]]
1. Optional: For 3D, install mesa with support for gallium [[!format txt """
 echo "*/* video_drivers: gallium-nouveau" >> /etc/paludis/options.conf
 cave resolve -x mesa
 
"""]]
1. Restart X, and check that everything is working [[!format txt """
 /etc/init.d/displaymanager restart
 glxinfo | egrep 'OpenGL.*string.*'
 
"""]]If everything is working correctly, you should see something like: [[!format txt """
 OpenGL vendor string: Mesa Project
 OpenGL renderer string: Software Rasterizer
 OpenGL version string: 2.1 Mesa 7.8.1
 OpenGL shading language version string: 1.20
 
"""]]On working gallium3d, it will look like: [[!format txt """
 OpenGL vendor string: nouveau
 OpenGL renderer string: Gallium 0.4 on NV4B
 OpenGL version string: 2.0 Mesa 7.8.1
 OpenGL shading language version string: 1.20
 
"""]]