aboutsummaryrefslogtreecommitdiff
path: root/distro_guides/arch.html
blob: 91f48da03ceeb8eb9744a2d1df0bbaa57a065d41 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html>
 
<head>
    <title></title>

<style>
    
body {
    color: black;
    background-image: url('../images/linux_background.png');
}

table {
	color: black;
	background-color: #bebebe;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	margin-right: 10px;
}

</style>

</head>
 
<body>
    <a href="../index.html"><img src="../images/back_home.png" alt="Back to home page"/></a>
    <br/>
    <a href="../linux_room.html#distro_guides"><img src="images/back.png" alt="Back to linux room"/></a>
    
    <center>
        <table border="1" width="60%">
        	<tr>
        		<td>
                    <h1>Arch linux</h1>
                    <p>
                        Arch is just a better distro, but using arch doesnt instantly make
                        you a better linux user. Saying "I am a arch user btw" is still fun and annoys
                        people so I keep saying it reguardless.
                        <br/><br/>
                        <b>Warning: This is a ever changing page due to the fact I havent been daily driving arch for
                            long as of writing this and is uncompletish.</b>
                    </p>
                </td>
            </tr>

            <tr>
                <td>
                    <ul>
                        <li><a href="#installing">Installing arch</a></li>
                        <li><a href="#post">After installing</a></li>
                        <li><a href="#nvidia">Nvidia drivers</a></li>
                    </ul>
                </td>
            </tr>
        </table>

        <table border="1" width="60%">
            <tr>
                <td>
                    <h2 id="installing">Installing arch</h2>
                    <p>
                        A lot of arch users will get pissed as fuck at me but <b>its ok to use arch install</b>.
                        I personally prefer manually installing arch and wouldnt want to do it any other way so
                        I dont use it, btw (:
                        <br/><br/>
                        The <a href="https://wiki.archlinux.org/title/Installation_guide" target="_blank">offical
                            arch installation guide</a> and other resources on the arch wiki is a great way to
                        install arch though I also like to use <a href="https://www.youtube.com/watch?v=PQgyW10xD8s"
                                                                  target="_blank">distro tubes arch installation
                            guide</a> alongside the resources. Some arch users may be pissed I dare tell people
                        to go watch a youtube video. I am sure most arch installation guides on youtube suck but
                        DT's video is killer. Plus its not a replacement for the wiki, its just to help follow it
                        a bit easier and act as a good jumping off point.
                        <br/><br/>
                        Some things I gotta add is for me DT's video I linked doesnt work 100 percent.
                        When setting up grub it cant find the efi directory. You gotta use a switch to show that
                        command that fails the efi directory. I forgor the switch and I am too lazy to look it up
                        but you can find it if the <code>--help</code> flag. Also to dual boot with nasty nasty MS Windows(R)
                        you gotta install ntfs-3g for it to be able to read MS Windows(R) ntfs(R) Microsoft(R) partitions.
                        You also gotta set <code>GRUB_DISABLE_OS_PROBER=false</code> in <code>/etc/default/grub</code>
                        and mount the MS Windows(R) directory in the efi directory for OS proper to work sometimes.
                    </p>
                </td>
            </tr>

            <tr>
                <td>
                    <h2 id="post">After installing</h2>
                    <p>
                        Make sure you install a good ass DE or WM. No better DE than good old trusty xfce. Your also going to want lightdm
                        with that. Thunar is a quite useable file manager though you can betterize it with gvfs or another opinional packages
                        for cool fancy shit. Or for even more cool fancy things get something like spaceFM. Just fuck around tbh.
                        <br/><br/>
                        If your sound fucking aint working right install sof-firmware.
                    </p>
                </td>
            </tr>

            <tr>
                <td>
                    <h2 id="nvidia">Nvidia drivers</h2>
                    <p>
                        A lot can change depending on many things and everything I say has only been tested on my machine so read
                        some fucking resources here:
                        <ul>
                            <li><a href="https://wiki.archlinux.org/title/NVIDIA" target="_blank">Offical nvidia arch wiki</a></li>
                            <li><a href="https://github.com/korvahannu/arch-nvidia-drivers-installation-guide" target="_blank">
                                    Some strangely helpful github guide</a></li>
                            <li><a href="https://medium.com/@sakalakis/how-to-easily-install-the-nvidia-drivers-in-arch-linux-5f1b3f1a5f66"
                                   target="_blank">Ewwwww, medium site (it strangely works without javascript)</a></li>
                        </ul>
                        Guide for my system mostly and maybe yours:
                        <ul>
                            <li>
                                Install some packages:<br/>
                                <code>sudo pacman -Syu<br/>sudo pacman -S nvidia nvidia-utils nvidia-settings</code>
                            </li>

                            <li>
                                Rebuild the initramfs:<br/>
                                <code>sudo mkinitcpio -P</code>
                            </li>

                            <li>
                                Follow <a href="https://wiki.archlinux.org/title/NVIDIA_Optimus#LightDM" target="_blank">a guide found
                                    here</a> to setup lightdm for nvidia.
                            </li>

                            <li>
                                Open up the xfce startup app thingy and add <code>nvidia-settings --load-config-only</code> as a
                                startup app so your nvidia settings load on login.
                            </li>

                            <li>
                                After reboot you can check the drivers with:
                                <ul>
                                    <li>
                                        My prefered way:<br/>
                                        <code>
                                            sudo pacman -S mesa-utils<br/>
                                            glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
                                        </code>
                                    </li>

                                    <li>Another way: <code>nvidia-smi</code></li>
                                </ul>
                            </li>

                            <li>
                                For multi monitor refresh rate issues add these to your /etc/environment<br/>
                                <code>
                                    CLUTTER_DEFAULT_FPS=&lt;refresh rate of your sync monitor&gt;<br/>
                                    __GL_SYNC_DISPLAY_DEVICE=&lt;monitor to sync to&gt;
                                </code>
                                <br/>
                                Then open your nvidia settings, go to OpenGL Settings and turn off "Allow Flipping".
                            </li>
                        </ul>
                    </p>
                </td>
            </tr>
        </table>
    </center>
</body>
</html>