# Bottles wine - how to force dgpu?

**URL:** <https://community.frame.work/t/bottles-wine-how-to-force-dgpu/58879>\
**Category:** Framework Laptop 16\
**Tags:** framework-laptop-16-amd-7040\
**Created:** [October 10, 2024, 6:49am UTC](https://community.frame.work/t/bottles-wine-how-to-force-dgpu/58879 "2024-10-10T06:49:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![damccull](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/damccull/32/22602_2.png) [@damccull](https://community.frame.work/u/damccull)\
**Post date:** [October 10, 2024, 6:49am UTC](https://community.frame.work/t/bottles-wine-how-to-force-dgpu/58879/1 "2024-10-10T06:49:53Z")

</div>

I’m trying to run GoG and some games through bottles, but the games all seem to use device 1 when looking at nvtop, and that happens to be the integrated gpu, not the discreet gpu. How do I get bottles to tell my running programs to use the dgpu?

With linux-native programs, I can just prefix the command with `DRI_PRIME=1` and it works, but passing that to the programs running in bottles doesn’t work. I imagine because it’s calling the command in an emulated windows cmd rather than the host itself.
