Skip to content

Commit

Permalink
manuals: document removal of newStdcpp from steam
Browse files Browse the repository at this point in the history
/cc #29180.
  • Loading branch information
vcunat committed Sep 27, 2017
1 parent 13c9cba commit 4013b38
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 28 deletions.
38 changes: 12 additions & 26 deletions doc/package-notes.xml
Expand Up @@ -477,32 +477,18 @@ it. Place the resulting <filename>package.nix</filename> file into

<varlistentry>
<term>Using the FOSS Radeon or nouveau (nvidia) drivers</term>
<listitem><itemizedlist><listitem><para>
Both the open source radeon drivers as well as the nouveau drivers (nvidia)
need a newer libc++ than is provided by the default runtime, which leads to a
crash on launch. Use <programlisting>environment.systemPackages =
[(pkgs.steam.override { newStdcpp = true; })];</programlisting> in your config
if you get an error like
<programlisting>
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast</programlisting>
or
<programlisting>
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast</programlisting></para></listitem>
<listitem><para>
Steam ships statically linked with a version of libcrypto that
conflics with the one dynamically loaded by radeonsi_dri.so.
If you get the error
<programlisting>steam.sh: line 713: 7842 Segmentation fault (core dumped)</programlisting>
have a look at <link xlink:href="https://github.com/NixOS/nixpkgs/pull/20269">this pull request</link>.
</para></listitem>
<listitem><itemizedlist>
<listitem><para>The <literal>newStdcpp</literal> parameter
was removed after 17.09 release and should not be needed anymore.
</para></listitem>

<listitem><para>
Steam ships statically linked with a version of libcrypto that
conflics with the one dynamically loaded by radeonsi_dri.so.
If you get the error
<programlisting>steam.sh: line 713: 7842 Segmentation fault (core dumped)</programlisting>
have a look at <link xlink:href="https://github.com/NixOS/nixpkgs/pull/20269">this pull request</link>.
</para></listitem>

</itemizedlist></listitem></varlistentry>

Expand Down
1 change: 1 addition & 0 deletions nixos/doc/manual/release-notes/release-notes.xml
Expand Up @@ -9,6 +9,7 @@
<para>This section lists the release notes for each stable version of NixOS
and current unstable revision.</para>

<xi:include href="rl-1803.xml" />
<xi:include href="rl-1709.xml" />
<xi:include href="rl-1703.xml" />
<xi:include href="rl-1609.xml" />
Expand Down
4 changes: 2 additions & 2 deletions nixos/doc/manual/release-notes/rl-1803.xml
Expand Up @@ -29,8 +29,8 @@ following incompatible changes:</para>

<itemizedlist>
<listitem>
<para>
</para>
<para>Steam: the <literal>newStdcpp</literal> parameter
was removed and should not be needed anymore.</para>
</listitem>
</itemizedlist>

Expand Down

4 comments on commit 4013b38

@globin
Copy link
Member

@globin globin commented on 4013b38 Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add this to the 17.09 release notes, this has been cherry-picked

@vcunat
Copy link
Member Author

@vcunat vcunat commented on 4013b38 Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, then I have to move it to 17.09 changelog. I didn't realize, as the PR got no mention on github.

@vcunat
Copy link
Member Author

@vcunat vcunat commented on 4013b38 Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@globin
Copy link
Member

@globin globin commented on 4013b38 Sep 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

Please sign in to comment.