Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Change color depth in X at runtime
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
a-v
n00b
n00b


Joined: 02 Mar 2008
Posts: 4
Location: Latvia, Rīga

PostPosted: Thu Mar 06, 2008 2:00 pm    Post subject: Change color depth in X at runtime Reply with quote

Hello.

I run X in depth 24 for everyday use. However, I have to lower the screen resolution to 1024x768 (my DPF native is 1280x1024) when playing Warsow to get acceptable framerate. I found out that changing color depth to 16 gives significant performance boost (about 1.5 times greater) and that I can actually play 1280x1024 at color depth 16.

The problem is that I have to restart the X server or start the second one in order to switch from color depth 24 to 16. So my question is: can I somehow change the color depth of a running X server, just like changing resolutions? Both depths are specified in xorg.conf.

Thanks in advance.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Fri Mar 07, 2008 5:14 am    Post subject: Reply with quote

Umm, no, you can't. A lot of stuff can be altered on the fly, but color depth is not one of them.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
a-v
n00b
n00b


Joined: 02 Mar 2008
Posts: 4
Location: Latvia, Rīga

PostPosted: Fri Mar 07, 2008 6:27 am    Post subject: Reply with quote

That's a pity. ):

Can you explain why? I can hardly imagine that's a technological limitation. Maybe the feature is simply not implemented?
Back to top
View user's profile Send private message
dusik
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jan 2005
Posts: 129
Location: Durham, NC, USA

PostPosted: Fri Mar 07, 2008 6:33 am    Post subject: Reply with quote

Damn, this is one place where Windows beats us! Any improvements for us on the horizon?

I know configuring X has gotten substantially easier over the last few years, but even in Ubuntu, an "easy" distro, I've had to mess with xorg.conf myself to get video working properly. That's definitely a barrier.

-- EDIT: March 12, 2010 --

It is now very easy with e.g., xrandr -s 1920x1080
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum