Skip to content

Instantly share code, notes, and snippets.

View ddan9's full-sized avatar
:octocat:
Nothing interesting. Maybe

Danil Rednine ddan9

:octocat:
Nothing interesting. Maybe
View GitHub Profile
@plembo
plembo / vmwp-no3d-avail.md
Last active March 26, 2025 07:03
VMware Player: No 3d support available from the host

VMware Player: "No 3d support is available from the host"

Facts: VMware Player on Ubuntu 18.04 LTS with the standard Gnome desktop running an AMD WX-2100 graphics card. Both glxinfo and glxgears show 3d acceleration is enabled and working on the host. In addition to VMware Player, the host is also running the qemu-kvm/libvirtd stack from Ubuntu's official repositories. My use case for 3d accelerated graphics in a Windows guest is to occasionally play a Windows-only game.

Issue: Player barks this warning during installation of... anything.

Solution: This askubuntu post, Powered by StackExchange[TM], provides the solution:

@miliarch
miliarch / install-arch-in-virtual-machine.md
Last active May 8, 2025 17:33
Install Arch Linux in a Virtual Machine

VMware VMX Notes, Performance Tweaks, Interactivity Improvements

experimented on VMware Workstation 15.5.2 build-15785246, other verisons may not work, no guaranteed.


global config for all VMs

C:\ProgramData\VMware\VMware Workstation\config.ini

OK I found the solution ! The problem came from the host, in my case :
Ubuntu 18.04 + Integrated Intel Graphics i915 + NVidia GTX 1050 (it's a laptop)
Vulkan happens to run by default on the 1st GPU it lists. For me, it was the Intel graphics integrated GPU, which of course has no Vulkan support...
You can test Vulkan support on your system by using the executable "vkcube", installed with a package named "vulkan-tools". I used a well-known PPA to install the v460 nvidia proprietary drivers, from here : https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa . This utility simply displays a cube. If your system is not configured properly, the little window will be all black, with no cube.
To force Vulkan to run on the desired GPU, I used this command line for my NVidia card :
@jahtzee
jahtzee / prompts.txt
Last active April 17, 2025 11:44
ChatGPT Jailbreaking prompts, exploits and other fun stuff
These are some exploits, jailbreaks, tricks, whatever you want to call them I've collected and discovered over time.
==== Games and fun stuff ====
== Set up a virtual machine inside GPTs imagination ==
"I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd."
== Play a tabletop RPG with GPT as the dungeon master ==
"I want you to act as the dungeon master (DM) of a role playing game. Answer and act only in a way that a dungeon master would.
You are setting up a role playing game with only one other player. Everything you say as the dungeon master begins with (DM): followed by whatever you want to say. You will regularly ask me, the player, to