画面に解像度を追加するには?

画面に解像度を追加するには?

私はワイン(GTA San Andreas)に関するゲームを作ろうとしています。

GTAが表示されたらCannot find 800x600x32 video modeすぐに閉じます。

私が現在所有しているコンピュータは、Intel HD Graphics 4600グラフィックプロセッサを搭載したLenovo IdeaPad G510です。ワインの設定では何も変わりませんでした。私のOSはDebian 7.5です。

"Cannot find 800x600x32 video mode"Googleを試してみると、グラフィックカードがGTA解像度で必要な解像度をサポートしていないため、エラーが発生したことがわかりました。

xrandrコマンドを実行し、以下を取得します。

xrandr: Failed to get size of gamma for output default Screen 0:
minimum 1366 x 768, current 1368 x 768, maximum 1368 x 768 default
connected 1368x768+0+0
0mm x 0mm    1366x768        0.0      1368x768  0.0*

ご覧のとおり、800 x 600私の画面には利用可能な解像度はありません。

  • 追加する方法はありますか?
  • Xorg設定ファイルなどを編集する必要がありますか?

ベストアンサー1

GTA:San Andreasの800×600×32解像度はメニューでのみ機能しますか?そうでない場合は、Wineを使用してこれらのウィンドウをシミュレートし、ゲームメニューで特定の解像度を設定できます。

その場合は、xrandrスケーリングパラメータを使用してみることもできます。

--scale xxy
        Changes the dimensions of the output picture. Values superior to
        1 will lead to a compressed screen (screen dimension bigger than
        the dimension of the output mode), and values below 1 leads to a
        zoom in on the output. This option is actually a  shortcut  ver‐
        sion of the --transform option.

info xrandr

おすすめ記事