source: x/installing/x7driver-vmware.xml@ 3241bb9

11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 3241bb9 was 3241bb9, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Fixes for gcc-12

for qtwebengine and xf86-video-vmware. For qtwebengine, I am
not sure it is not upstream, but what I have added works:
the problem is with the definition of functions std::begin and
std::end. They are defined in several headers (among which
<vector>), and in a different way in some other headers. Looks
like the former headers were included with gcc-11 and below,
while they are not anymore with gcc-12 (there is no standard
on what is included by what in C++ headers). The problem with
qtwebengine (or rather the third party skia module) is that
they also have towers of headers including each other, so that
it is hard to find where the missing C++ header has been included,
if it has been.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xorg-vmware-driver-version "13.3.0">
8
9 <!ENTITY xorg-vmware-driver-download-http "&xorg-download-http;/driver/xf86-video-vmware-&xorg-vmware-driver-version;.tar.bz2">
10 <!ENTITY xorg-vmware-driver-download-ftp "&xorg-download-ftp;/driver/xf86-video-vmware-&xorg-vmware-driver-version;.tar.bz2">
11 <!ENTITY xorg-vmware-driver-md5sum "08d66d062055080ff699ab4869726ea2">
12 <!ENTITY xorg-vmware-driver-size "464 KB">
13 <!ENTITY xorg-vmware-driver-buildsize "12 MB">
14 <!ENTITY xorg-vmware-driver-time "0.1 SBU">
15]>
16
17 <!-- Begin Xorg VMware Driver -->
18 <sect2 id="xorg-vmware-driver" xreflabel="Xorg VMware Driver-&xorg-vmware-driver-version;">
19
20 <sect2info>
21 <date>$Date$</date>
22 </sect2info>
23
24 <title>Xorg VMware Driver-&xorg-vmware-driver-version;</title>
25
26 <indexterm zone="xorg-vmware-driver">
27 <primary sortas="a-xorg-vmware-driver">xorg-vmware-driver</primary>
28 </indexterm>
29
30 <sect3 role="package">
31 <title>Introduction to Xorg VMware Driver</title>
32
33 <para>
34 The <application>Xorg VMware Driver</application> package contains the X.Org
35 Video Driver for VMware SVGA virtual video cards.
36 </para>
37
38 &lfs111_checked;
39
40 <bridgehead renderas="sect4">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&xorg-vmware-driver-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&xorg-vmware-driver-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &xorg-vmware-driver-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &xorg-vmware-driver-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &xorg-vmware-driver-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &xorg-vmware-driver-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect4">Xorg VMware Driver Dependencies</bridgehead>
75
76 <bridgehead renderas="sect5">Required</bridgehead>
77 <para role="required">
78 <xref linkend="xorg-server"/>
79 </para>
80
81 <para condition="html" role="usernotes">
82 User Notes: <ulink url="&blfs-wiki;/xorg-vmware-driver"/>
83 </para>
84 </sect3>
85
86 <sect3 role="kernel" id="xorg-vmware-driver-kernel">
87 <title>Kernel Configuration</title>
88
89 <para>
90 Enable the following options in the kernel configuration and recompile the
91 kernel if necessary:
92 </para>
93
94<screen><literal>Device Drivers ---&gt;
95 Graphics support ---&gt;
96 &lt;*&gt; Direct Rendering Manager (XFree86 ... support) ---&gt; [CONFIG_DRM]
97 &lt;*&gt; DRM driver for VMware Virtual GPU [CONFIG_DRM_VMWGFX]
98 [*] Enable framebuffer console under vmwgfx by default [CONFIG_DRM_VMWGFX_FBCON]</literal></screen>
99
100 <indexterm zone="xorg-vmware-driver xorg-vmware-driver-kernel">
101 <primary sortas="d-xorg-vmware-driver">xorg-vmware-driver</primary>
102 </indexterm>
103 </sect3>
104
105 <sect3 role="installation">
106 <title>Installation of Xorg VMware Driver</title>
107
108 <para>
109 First, fix a bug revealed by gcc-12:
110 </para>
111
112<screen><userinput>sed -i 's/>yuv.i/>yuv[j][i/' vmwgfx/vmwgfx_tex_video.c</userinput></screen>
113
114 <para>
115 Install <application>Xorg VMware Driver</application> by running the
116 following commands:
117 </para>
118
119<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 This package does not come with a test suite.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>make install</userinput></screen>
131 </sect3>
132<!--
133 <sect3>
134 <title>Command Explanations</title>
135 <para>
136 <command>sed -i ...</command>: This sed fixes building with the latest
137 version of <application>Glibc</application>.
138 </para>
139 </sect3>-->
140
141 <sect3 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Xorg Driver</segtitle>
146
147 <seglistitem>
148 <seg>
149 vmware_drv.so
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="vmware_drv">
160 <term><filename class="libraryfile">vmware_drv.so</filename></term>
161 <listitem>
162 <para>
163 is an Xorg video driver for VMware SVGA virtual video card
164 </para>
165 <indexterm zone="xorg-vmware-driver vmware_drv">
166 <primary sortas="c-vmware_drv">vmware_drv.so</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect3>
174
175 </sect2>
Note: See TracBrowser for help on using the repository browser.