Announcement

Collapse
No announcement yet.

[Solved] 32 bit color?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] 32 bit color?

    Hi All,

    I run kubuntu 9.04 with Virtual Box 2.2.x. When I start kubuntu, Vbox whines about the guest not having 32 color. For the life of me, I am not finding how to set 32 bit color in kubuntu. I presume it is right under my nose. How do I set my color depth?

    Many thanks,
    -T

    #2
    Re: 32 bit color?

    you can set your display depth in your video control driver software (ie. nvidia-settings or amdcccle) you can also set it in system settings -> display if you don't have the ati or nvida driver installed. you however will not find a 32-bit color mode as no such thing exists for linux 24 bit color is the same for linux as 32 bit color is for windows. idk the exact reason but i do remember reading something about 32bit color being really a hack of 24 bit + 8bit for transpareny or something. if you put in it 24 bit color your 32 bit color windows apps should run just fine.
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      Re: 32 bit color?

      Originally posted by sithlord48
      you can set your display depth in your video control driver software (ie. nvidia-settings or amdcccle) you can also set it in system settings -> display
      In "display", I am finding "size", "refresh", "orientation". But nothing about color depth. What am I missing?

      -T

      Comment


        #4
        Re: 32 bit color?

        just type this in to konsole or krunner
        Code:
        sudo kate /etc/X11/xorg.conf
        now after you put in your password.. look for the "Screen" Section
        look for or add (if not there) this line
        Code:
        DefaultDepth 24
        you screen section should now look like this
        Code:
        Section "Screen"
        	Identifier	"Default Screen"
        	Monitor		"Configured Monitor"
        	Device		"Configured Video Device"
        	DefaultDepth 24
        	EndSection
        you might have some Options as well

        save the file and restart X..
        Mark Your Solved Issues [SOLVED]
        (top of thread: thread tools)

        Comment


          #5
          [Solved] Re: 32 bit color?

          Yipee! It worked perfectly. Thank you!

          -T

          p.s. to come clean, I used "vi" instead of "kate"

          Comment


            #6
            Re: [Solved] 32 bit color?

            good to hear

            p.s i use nano instead of kate lol.
            Mark Your Solved Issues [SOLVED]
            (top of thread: thread tools)

            Comment


              #7
              Re: [Solved] 32 bit color?

              Sithlord48: Good to see that you give advice with GUI

              Regarding 32bit color (from preparing a lot of pictures for TV):

              Yes, at least for pictures, 32bit means 8bit for each color channel (red, green, blue) plus 8 bit for an alpha channel that determines how transparent an image will be. How this is implemented in colors in Windows is something I have never given any thoughts. A little checking gave this:

              From Wikipedia (http://en.wikipedia.org/wiki/Truecolor):

              Thirty-two bit truecolor can hold an alpha channel, which gives the pixel's degree of transparency (versus opacity) for representing translucent images (and is often a requirement for hardware acceleration of such drawing) allowing desktop environments to more easily provide effects such as translucent windows, fading menus, and shadows.

              In a framebuffer, an alpha channel is meaningless, but 32-bit truecolor is often used because it makes pixel addressing easier. Addressing an array of 24-bit pixels requires multiplication by three, which is more computationally expensive than multiplication by four, which can be computed by bit shifting.
              Regards,
              Oceanwatcher
              Blog: http://www.wisnaes.com/
              Pictures: http://www.oceanwatcher.com/
              Software tips (in Norwegian): http://www.datahverdag.com/

              Comment


                #8
                Re: [Solved] 32 bit color?

                Originally posted by oceanwatcher...
                Good to see that you give advice with GUI
                i try
                Mark Your Solved Issues [SOLVED]
                (top of thread: thread tools)

                Comment

                Working...
                X