PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wine + Steam: choosepixelformat failed



hackbert
18.07.06, 22:28
Moin!
Ich benutze derzeit Wine 0.9.17 auf einem Debian Sarge System mit Kernel 2.6.16.5 (X.org 6.8). Ich habe hier Steam zum laufen gekriegt, allerdings nur im Software-Modus. OpenGL will nicht so recht. Wenn ich OpenGL wähle, dann kommt eine kurze Meldung "ChoosePixelFormat" failed. Hat jemand eine Idee, woran es liegen könnte?

GlxGears funktioniert wunderbar bei mir. DirectRendering macht er auch. Habe eine NVidia Geforce2 MX 400. Treiberversion: 1.0-8762.

Letzte Ausgaben von wine vor dem Fehler sind:

fixme:shdocvw:OleInPlaceObject_InPlaceDeactivate (0x7fdee318)
fixme:shdocvw:OleInPlaceObject_UIDeactivate (0x7fdee318)
fixme:shdocvw:OleObject_Close (0x7fdee318)->(1)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7fd6d078)->((nil),00000008)
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7fd30898)->((nil),00000008)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7fd30898)->((nil),00000013)
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7fd30898)->((nil),00000008)
fixme:d3d:IWineD3DStateBlockImpl_Release Releasing primary stateblock
err:wgl:X11DRV_ChoosePixelFormat glXChooseFBConfig returns NULL (glError: 0)


GlxInfo sagt:

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce2 MX/AGP/SSE/3DNOW!
OpenGL version string: 1.5.6 NVIDIA 87.62
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_register_combiners,
GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
GL_NV_texture_rectangle, GL_NV_vertex_array_range,
GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
GL_SUN_slice_accum
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 16 tc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x22 16 dc 0 16 0 r y . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x25 16 tc 0 16 0 r . . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x26 16 dc 0 16 0 r . . 5 6 5 0 4 16 0 16 16 16 16 0 0 None
0x27 16 dc 0 16 0 r y . 5 6 5 0 4 0 0 16 16 16 16 0 0 None
0x28 16 dc 0 16 0 r . . 5 6 5 0 4 0 0 16 16 16 16 0 0 None

hackbert
18.07.06, 22:58
Hmmm... Ohne weiteres Zutun geht OpenGL jetzt einigermaßen. Leider kann ich die Auflösung nicht auswählen, sondern nur im 640x480 Fenstermodus spielen...

Banshee
19.07.06, 01:45
na dann probiers testweise mal im d3d modus.
Hab leider cs 1.6 nicht mehr daher kann ichs nicht testen...

hackbert
19.07.06, 10:49
Auch wenn ich d3d auswähle, kann ich keine Auflösung einstellen. Wenn ich dann übernehme, dann kommt zwar wieder das kleine 640x480-Fenster mit d3d, aber es ist nichts in dem Fenster zu sehen...

Speedator
19.07.06, 11:27
Ist denn der Error noch da? (Bugzilla (http://bugs.winehq.org/show_bug.cgi?id=3277))

hackbert
19.07.06, 11:32
ne. Irgendwie scheint das auch mit den Farbtiefen zusammenzuhängen. Manche Spiele meckern nämlich, dass sie die Farbtiefe nicht ändern können (beispielsweise Starcraft). Gibt es eine Möglichkeit während des laufenden Betriebs die Farbtiefe zu ändern? Hier mal meine xorg.conf:


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Mar 29 14:43:26 PST 2006

# xorg.conf (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
# md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
# dpkg-reconfigure xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
# local font server
# if the local font server has problems, we can fall back on these
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "evdev"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "deadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Standardbildschirm"
HorizSync 30.0 - 65.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
Monitor "Standardbildschirm"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection

Option "TwinView" "on"
Option "SecondMonitorHorizSync" "31-68"
Option "SecondMonitorVertRefresh" "85-85"
Option "TwinViewOrientation" "RightOf"
Option "MetaModes" "1280x1024,1024x768; 1024x768,800x600; 1280x1024,NULL; 1024x768,NULL; 800x600,NULL"
#Option "MetaModes" "1024x768,1024x768;1024x768,800x600"
Option "ConnectedMonitor" "CRT, CRT"
EndSection

DarkAdmiral
19.07.06, 12:33
mh evt ist in den debian repositories nicht die richtige libwine. Versuch mal http://wine.sourceforge.net/apt/sid/ die pakete zu installieren. Ist nur leider nicht die neuste Version. Und die libwine auch!

hackbert
19.07.06, 13:55
Ich habe mir das wine komplett selbst kompiliert... Also direkt aus den Originalsources von der winehq-Seite. Mit folgenden Optionen und Kommandos:

./configure --enable-opengl --disable-lib --disable-debug
make depend
sudo make install

xanlosch
20.07.06, 10:49
Dein größter Fehler - in meinen Augen - ist die Option "--disable-debug" bei deinem configure-Aufruf. Wie soll man den noch an nützliche und verwertbare Informationen kommen, wenn du diese ausschaltest ?

"--disable-lib" ist mir bei Wine unbekannt - oder hat sich da was geändert ?

Edit: wie ich gerade nachgeschaut habe, gibt es weder --disable-debug noch --disable-lib beim Wine-configure. --enable-opengl braucht man auch nicht, da dies standardmäßig angenommen wird.

Zum Auflösungsproblem: Hast du entweder mal versucht mit winecfg einen virtuellen Desktop in der gewünschten Größe zu erstellen ?

Alternativ dazu sollte auch ein "wine <programname.exe> /desktop=<höhe>x<breite>" auch helfen.

hackbert
20.07.06, 19:04
Zum Auflösungsproblem: Hast du entweder mal versucht mit winecfg einen virtuellen Desktop in der gewünschten Größe zu erstellen ?[/I]
Yop, habe ich...