From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Оригинальный WineX
Date: Wed, 17 Dec 2003 13:58:56 +0300
Message-ID: <20031217105856.GA18870@master.mivlgu.local> (raw)
In-Reply-To: <3FE0337F.5050404@ingos.ru>
[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]
On Wed, Dec 17, 2003 at 01:44:15PM +0300, Vitaly A. Sergienko wrote:
> Меня смущает вывод
>
> $winelauncher --debugmsg +err ...
> err:bitmap:X11DRV_DIB_CreateShmPixmap pitch mismatch in ShmPixmap creation
> err:bitmap:X11DRV_DIB_CreateShmPixmap pitch mismatch in ShmPixmap creation
>
> Сообщения генерятся в файле graphics/x11drv/dib.c вот здесь
>
> tmpXImage = XShmCreateImage (gdi_display, visual, depth, ZPixmap,
> NULL, shminfo, aligned_width, bm->bmHeight);
> pitch = tmpXImage->bytes_per_line;
>
> imgsize = pitch * tmpXImage->height;
>
> shminfo->shmid = shmget(IPC_PRIVATE, imgsize, IPC_CREAT|0777);
>
> XDestroyImage(tmpXImage);
>
>
>
> if (pitch != bm->bmWidthBytes && depth ==
> DEPTH_FROM_BPP(bm->bmBitsPixel)) ERR("pitch mismatch in ShmPixmap
> creation\n");
>
> Что может мешать корректному выполнению этого участка кода?
Насколько я понял, здесь разработчики рассчитывают на некоторое
определённое поведение XShmCreateImage (в bytes_per_line должно
получиться ожидаемое значение). Вероятно, в реализации
XShmCreateImage что-то изменилось, и эти предположения больше не
выполняются. Т.е. в общем случае этот код работать не должен.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-12-17 10:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-16 12:51 Vitaly A. Sergienko
2003-12-16 14:00 ` Eugene Ostapets
2003-12-17 2:35 ` Vitaly A. Sergienko
2003-12-17 10:11 ` Sergey Vlasov
2003-12-17 10:44 ` Vitaly A. Sergienko
2003-12-17 10:58 ` Sergey Vlasov [this message]
2003-12-17 17:16 ` Andrey Rahmatullin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031217105856.GA18870@master.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git