Re: help with a small custom patch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 28, 2010 at 07:37, doh123 <wineforum-user@xxxxxxxxxx> wrote:
>
> Gert van den Berg wrote:
>>
>> There should be a WINEDEBUG option for that....
>>
>> Possibly xvidmode:
>> http://wiki.winehq.org/DebugChannels?action=show&redirect=WINEDEBUG
>
>
> thats great.. actually i can find the info I need in x11settings....
>
> the problem is making this info usable.
>
> Is there a way to make it so a certain debug channel debugs to a certain place?
>
> Like can I tell it to do all the x11settings stuff to x11settings.txt file by themselves and not go along with everything else?  I'm thinking no.. but it would be nice if it could be separate....  I might just modify settings.c to do this for me, if it can't be done otherwise.
>

Here is sa x11settings trace extract for my Warcrat III..

You should be able to do a
WINEDEBUG=x11settings wine application.exe 2>&1 | grep
'^trace:x11settings' > x11settings.txt

Gert

trace:x11settings:X11DRV_EnumDisplaySettingsEx mode 0 --
1920x1200x32bpp @50 Hz (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
(L"\\\\.\\DISPLAY1",0x162350,(nil),0x00000004,(nil))
trace:x11settings:X11DRV_ChangeDisplaySettingsEx flags=FULLSCREEN
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
DM_fields=BITSPERPEL,PELSWIDTH,PELSHEIGHT,DISPLAYFLAGS,DISPLAYFREQUENCY
trace:x11settings:X11DRV_ChangeDisplaySettingsEx width=1920
height=1200 bpp=32 freq=50 (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx Requested display
settings match mode 0 (XRandR)
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x16a5c8,0x16e848): stub
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x16a5c8,0x16e848): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x33f3b4,0x00000000), stub!
trace:x11settings:X11DRV_EnumDisplaySettingsEx mode 7 --
1400x1050x32bpp @57 Hz (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
(L"\\\\.\\DISPLAY1",0x170330,(nil),0x00000004,(nil))
trace:x11settings:X11DRV_ChangeDisplaySettingsEx flags=FULLSCREEN
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
DM_fields=BITSPERPEL,PELSWIDTH,PELSHEIGHT,DISPLAYFLAGS,DISPLAYFREQUENCY
trace:x11settings:X11DRV_ChangeDisplaySettingsEx width=1400
height=1050 bpp=32 freq=57 (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx Requested display
settings match mode 7 (XRandR)
mohag@mohagpc:~$ fixme:win:EnumDisplayDevicesW
((null),0,0x33f33c,0x00000000), stub!
trace:x11settings:X11DRV_EnumDisplaySettingsEx mode 4 --
1600x1200x32bpp @54 Hz (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
(L"\\\\.\\DISPLAY1",0x170330,(nil),0x00000004,(nil))
trace:x11settings:X11DRV_ChangeDisplaySettingsEx flags=FULLSCREEN
trace:x11settings:X11DRV_ChangeDisplaySettingsEx
DM_fields=BITSPERPEL,PELSWIDTH,PELSHEIGHT,DISPLAYFLAGS,DISPLAYFREQUENCY
trace:x11settings:X11DRV_ChangeDisplaySettingsEx width=1600
height=1200 bpp=32 freq=54 (XRandR)
trace:x11settings:X11DRV_ChangeDisplaySettingsEx Requested display
settings match mode 4 (XRandR)



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux