Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: OpenGL: ChoosePixelFormat failed

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Beans
    Hidden!

    OpenGL: ChoosePixelFormat failed

    I'm trying to run Sketchup7 under WINE 1.1.34 and Ubuntu Karmic. I'm getting a diagnostic on startup which says;


    Sketchup was unable to initialize OpenGL!
    Please make sure you have installed the correct drivers for your graphics card.

    Error: ChoosePixelFormat failed.


    What does this error mean?
    How do I fix it?
    Where does OpenGL come from?
    Is there a specific version I'm supposed to use?
    Do I need Python to make OpenGL work?

  2. #2
    Join Date
    Apr 2006
    Beans
    1
    Distro
    Kubuntu 7.04 Feisty Fawn

    Re: OpenGL: ChoosePixelFormat failed

    This post is a little old but I decided to add some input to it since it might help some else trying to run Sketchup7 on Karmic Koala 9.10.

    It is always better to download the last version of wine from their site since the Ubuntu repository is a little outdated.

    The version wine version that is working for me is 1.1.43.

    The fix is real simple:

    Fix:
    Open your wine menu and open the C drive (/home/user/.Wine)
    Open the Windows Folder
    Find Regedit.exe and run it with Wine
    Find: HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConf ig\Display
    There are three entries - Look at the bottom one, name 'HW_OK"
    Double click it and change the data from a 0 to a 1
    Run Sketchup7

    that should do it. I read some postings mentioning problems with black screens, which are related to compiz; in that case just disable compiz.

    I hope this can help someone. I've been trying get Sketchup running for the longest time, I finally got it working with this little trick.

    good luck

  3. #3
    Join Date
    Apr 2008
    Location
    Texas
    Beans
    21
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: OpenGL: ChoosePixelFormat failed

    I have Wine version 1.2 rc6 with karmic 9.10 and your regedit solution worked great. I too got the OpenGL error along with the "choosePixelFormat" until I put in your fix. THANKS!
    (though also have a print problem - the picture is totally black when printed but on the screen it looks great - another problem to investigate...)

  4. #4
    Join Date
    May 2008
    Beans
    2

    Talking Re: OpenGL: ChoosePixelFormat failed

    Woohoo

    thanks so much noriegafam, working perfectly

    I love Sketchup, another reason I don't have to turn my windows box back on.

    I tried this with Ubuntu 10.04 with Google Sketchup 7.1.

    also wine from the Ubuntu Software center version 1.1.42
    Last edited by gazm81; July 19th, 2010 at 12:42 AM. Reason: Left out information

  5. #5
    Join Date
    May 2006
    Location
    West Sussex. UK
    Beans
    21

    Re: OpenGL: ChoosePixelFormat failed

    Your fix worked for me - brilliant. Now all I have to do is work out how to use Sketchup

  6. #6
    Join Date
    Oct 2008
    Beans
    4

    Re: OpenGL: ChoosePixelFormat failed

    Thanks noriegafam! I've been trying everything to try get this working

  7. #7
    Join Date
    Dec 2006
    Beans
    31

    Re: OpenGL: ChoosePixelFormat failed

    I wish it worked for me

    I'm using a Dell 1545 running 10.04, wine 1.1.42.

    it still crashes with the same message

    maybe some day I get my dual boot working so I can run 9.04 or 9.10 and try it under that.

    -DaveKenny

  8. #8
    Join Date
    Apr 2008
    Location
    Norfolk, UK
    Beans
    694
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: OpenGL: ChoosePixelFormat failed

    Thanks noriegafam, that solved my problem running Sketchup8 in Meerkat.
    John
    It's like doing jigsaw puzzles in the dark.

  9. #9
    Join Date
    Feb 2009
    Beans
    7

    Re: OpenGL: ChoosePixelFormat failed

    Excellent Fix.
    Worked with my current config of Ubuntu 10.10 running SketchUp version 7.1.6860 in Wine 1.2.1

  10. #10
    Join Date
    Aug 2011
    Beans
    14

    Re: OpenGL: ChoosePixelFormat failed

    thanks a lot! it worked! ujuuu!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •