need 8bpp for game but 8bit gnome is too dark to see
I'm running amd64 squeeze. I recently installed a game through wine that requires 8 bit color mode. when gnome desktop runs normally (24bit) it looks fine but when I stop gdm and startx -- -depth 8 the desktop, menu's and everything appears so dark(brownish) that I have to be two inches from the screen to to make anything out.
I've searched google and here for gnome color palette but I can't find anything remotely similar to my problem. I'm not even sure if its a problem with gnome, x or the video card. I'm running a radeon x600, and the xorg.conf (that I had to generate with xorg -configure) mentions the radeon driver and rv380 radeon x600 pcie since I haven't installed the ati drivers I'm assuming its using the debian package one. |
You can create a script to start the game, save it to some place like /path/to/start_your_game.sh, then you will be able to start this game from 24bit GNOME environment with this command:
Code:
startx -- -depth 8 :1 /path/to/start_your_game.sh P.S. This is the theory, reality depends on the driver bugs. P.P.S. You will likely get an authorization error, so you'll have to edit a config file. If you get it, look here: http://www.linuxquestions.org/questi...borting-512864 |
thanks for responding.
I made a script that starts the game, but when I run startx -- -depth 8 :1 /home/me/script/gamescript.sh I get a fatal error: unrecognized option: /home/me/script/gamescript.sh probably my fault, I'm still getting used to the command line I can start the game up in 8bit mode using my original method but it looks the same as the desktop, probably because its a game that runs in windowed mode by nature. |
Ah, my fault. Change it to this:
Code:
startx /home/me/script/gamescript.sh -- -depth 8 :1 |
ok using that command I get a blank screen, when I go back to the original desktop with ctrl+alt+f7 I find this in the terminal
Code:
X.Org X Server 1.7.6 (EE) RADEON(0): Value for Option "DepthBits" must be 16 or 24 (EE) RADEON(0): [dri] RADEONInitVisualConfigs failed (depth 8 not supported). |
Yes, this means you aren't gonna get any acceleration with 8 bpp on your video card (unless you install fglrx drivers, but i can't say if they support 8 bit though). If your game doen't need any 3D acceleration, try using vesa driver instead of radeon (set it up in xorg.conf).
BTW, why do you think your game requires 8bpp? Maybe wine can emulate it successfully. Also, have a look at this (xinit way is the way you have already tried): http://wiki.winehq.org/256ColorMode?...orsWorkarounds |
when I start the game up in 24 bit mode a window pops up that says "GFXCDSurface::create: Failed to create a surface"
according to the wine page for that game the way to get around it was to configure x to run in 8 bit mode. I tried vesa drivers but any 8bit screen I start just comes up black and crashes after a few minutes. that 256 color mode wine page is interesting, wish I'd found it before. xephyr seems to work alrigt, the game gets past the "failed to create a surface" error but locks up. I guess I should take that up on the wine forums thank you for your help |
All times are GMT -5. The time now is 01:12 PM. |