Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen when setting lower color depth
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Acoc
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 189
Location: New Jersey, USA

PostPosted: Fri Jun 08, 2007 9:33 pm    Post subject: Black screen when setting lower color depth Reply with quote

Hello,

I've been having some trouble setting a lower defaultdepth in the xorg.conf. Currently the only setting that works is 24-bit, but I need either 16 or 32 to run a particular game. Every time I change the setting to 16 or 32, the resulting restart gives me a black screen. I am using the fglrx display drivers on an amd64.

Here is my xorg.conf:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "ATI Graphics Adapter"
    Monitor     "Samsung"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x800" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Any help would be appriciated,
John

EDIT: And here is my computer model: http://www.uniwill.com/products/performance/258ka0/258ka0.php?HL=1&P=2
_________________
_There were plenty of times in my century when I was gonna give up, but I never did. Never! Hey, are you even listening to me? Oh, I give up._ Futurama
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54831
Location: 56N 3W

PostPosted: Sat Jun 09, 2007 10:11 am    Post subject: Reply with quote

Acoc,

32 bit and 24 bit colour depths are actually identical. The reason for that is rooted in the IA32 architecture. There are no 24 bit instructions.

Not all drivers support all colour depths. Read your /var/log/Xorg.0.log file to see what Xorg did when it gave you a blank screen.
Its written every startup, so you either need to read it without Xorg or preserve it to read it later.

Post it here (the broken preserved on) if you need more help
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Acoc
Apprentice
Apprentice


Joined: 06 Aug 2004
Posts: 189
Location: New Jersey, USA

PostPosted: Sat Jun 09, 2007 2:19 pm    Post subject: Reply with quote

NeddySeagoon,

You were right, fglrx must not support 16-bit color.

Code:
(EE) fglrx(0): Given depth (16) is not supported by fglrx driver
(EE) fglrx(0): PreInitVisual failed
SetVBEMode failed
(EE) fglrx(0): PreInit failed
(II) fglrx(0): === [atiddxPreInit] === end
(II) UnloadModule: "fglrx"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/lib64/xorg/modules//libvgahw.so
(EE) Screen(s) found, but none have a usable configuration.


Is there a way for wine to support a 16-bit environment? I am having the same problem as this post: http://ubuntuforums.org/showthread.php?t=428217 .

Thanks,
John
_________________
_There were plenty of times in my century when I was gonna give up, but I never did. Never! Hey, are you even listening to me? Oh, I give up._ Futurama
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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