Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable GFX in xf86-video-vmware #49115

Merged
merged 1 commit into from
Oct 28, 2018
Merged

Enable GFX in xf86-video-vmware #49115

merged 1 commit into from
Oct 28, 2018

Conversation

bjpbakker
Copy link
Contributor

Fix the mesa dependency for xorg.xf86videovmware. Add llvm_6 because
mesa_noglu has a runtime dependency on clang (see TODO in
development/libraries/mesa).

Motivation for this change

GFX support in the xf86-video-vmware driver broke in NixOS 18.09 because of the changes to the mesa package (the package was split).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Oct 25, 2018
@infinisil
Copy link
Member

Can you change the commit message to "xorg.xf86videovmware: Fix for GFX support" or so?

If you need a backport to 18.09 feel free to open a PR for that (usually people put [18.09] in the title to indicate it being a backport)

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix the mesa dependency for `xorg.xf86videovmware`. Add `llvm_6` because
`mesa_noglu` has a runtime dependency on clang (see TODO in
`development/libraries/mesa`).
@bjpbakker
Copy link
Contributor Author

Thanks for your feedback.

I changed the commit message and created an addional PR for the backport.

@infinisil infinisil merged commit 4f6234f into NixOS:master Oct 28, 2018
@jtojnar
Copy link
Member

jtojnar commented Dec 26, 2019

Is this still necessary? I see LLVM 9 in the output of ldd no matter whether llvm_6 is present in the overridden buildInputs:

$ ldd result/lib/xorg/modules/drivers/vmware_drv.so
	linux-vdso.so.1 (0x00007ffc67962000)
	libdrm.so.2 => /nix/store/c4rmpy6g45s2kyvmh1iw7n956zw57jcg-libdrm-2.4.100/lib/libdrm.so.2 (0x00007fbf0b3ac000)
	libxatracker.so.2 => /nix/store/f1cr7nw3bhhsp8kkmz2k5kp5ds92si43-mesa-19.2.7-drivers/lib/libxatracker.so.2 (0x00007fbf0ae0d000)
	libudev.so.1 => /nix/store/m7s79nz19n92s0xb3y2h89rs992nmxgy-systemd-243.3-lib/lib/libudev.so.1 (0x00007fbf0addc000)
	libc.so.6 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libc.so.6 (0x00007fbf0ac26000)
	libm.so.6 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libm.so.6 (0x00007fbf0aa90000)
	libdl.so.2 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libdl.so.2 (0x00007fbf0aa89000)
	libexpat.so.1 => /nix/store/l1ym5fsdavwrhcyvaf42kdgclnsngdan-expat-2.2.8/lib/libexpat.so.1 (0x00007fbf0aa4c000)
	libdrm_nouveau.so.2 => /nix/store/c4rmpy6g45s2kyvmh1iw7n956zw57jcg-libdrm-2.4.100/lib/libdrm_nouveau.so.2 (0x00007fbf0aa41000)
	libz.so.1 => /nix/store/ylpi31dwsgm9c9rndp0j5b4na749d97z-zlib-1.2.11/lib/libz.so.1 (0x00007fbf0aa22000)
	libLLVM-9.so => /nix/store/hzk4k1lpp5qcsfm5y940sgjx60v0mgf2-llvm-9.0.0-lib/lib/libLLVM-9.so (0x00007fbf05cf1000)
	libstdc++.so.6 => /nix/store/qj8adhbg37824sa1fijjfm140q3a35m7-gcc-8.3.0-lib/lib/libstdc++.so.6 (0x00007fbf05b64000)
	libgcc_s.so.1 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libgcc_s.so.1 (0x00007fbf0594e000)
	libpthread.so.0 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libpthread.so.0 (0x00007fbf0592d000)
	librt.so.1 => /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/librt.so.1 (0x00007fbf05923000)
	/nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib64/ld-linux-x86-64.so.2 (0x00007fbf0b3f1000)
	libffi.so.7 => /nix/store/zdl0hjgkyiclzzgdi0q4z2zm78zdvnif-libffi-3.3/lib/libffi.so.7 (0x00007fbf05914000)
	libncursesw.so.6 => /nix/store/3cz3xgnghkpy41ab9hcj7011sqbrpg4n-ncurses-6.1-20190112/lib/libncursesw.so.6 (0x00007fbf058a2000)
	libxml2.so.2 => /nix/store/gz9dlzm6r0shjqn5iclrv10lmwbq3cfv-libxml2-2.9.10/lib/libxml2.so.2 (0x00007fbf0573c000)

@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants