[Openchrome-devel] [Bug 63194] Xserver openchrome dosent work on asrock pv530 motherboard
https://bugs.freedesktop.org/show_bug.cgi?id=63194 --- Comment #5 from teroedni --- Created attachment 77959 --> https://bugs.freedesktop.org/attachment.cgi?id=77959&action=edit latest dmesg log -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 63194] Xserver openchrome dosent work on asrock pv530 motherboard
https://bugs.freedesktop.org/show_bug.cgi?id=63194 --- Comment #4 from teroedni --- Created attachment 77958 --> https://bugs.freedesktop.org/attachment.cgi?id=77958&action=edit latest xorg.log Tried another monitor with 1920x1080 applied the patch to latest git and compiled and installed the driver the openchrome drive seems to be loading fine but when entering desktop i have gallium 0.4 indirect rendering with vmware driver it seems:/ -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [xf86-video-openchrome]X driver for VIA IGPs branch master updated. release_0_3_2-4-g186fe79
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "X driver for VIA IGPs". The branch, master has been updated via 186fe79c51e046b2732455eaa16500af32d7d077 (commit) from 50b0f9186d33a2bd0be4bc55cd52e82e752e459f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 186fe79c51e046b2732455eaa16500af32d7d077 Author: James Simmons Date: Sun Apr 14 11:22:16 2013 -0400 drmmode_set_mode_major does this for us so no need to do it here --- Summary of changes: src/via_driver.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) hooks/post-receive -- X driver for VIA IGPs ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] xf86-video-openchrome: src/via_driver.c
src/via_driver.c | 10 -- 1 file changed, 10 deletions(-) New commits: commit 186fe79c51e046b2732455eaa16500af32d7d077 Author: James Simmons Date: Sun Apr 14 11:22:16 2013 -0400 drmmode_set_mode_major does this for us so no need to do it here diff --git a/src/via_driver.c b/src/via_driver.c index d7387cb..fd91910 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -806,16 +806,6 @@ via_xf86crtc_resize(ScrnInfoPtr scrn, int width, int height) if (!drmmode->front_bo) goto fail; -#ifdef HAVE_DRI -if (pVia->KMS) { -if (drmModeAddFB(drmmode->fd, width, height, scrn->depth, -scrn->bitsPerPixel, pitch, -drmmode->front_bo->handle, -&drmmode->fb_id)) -goto fail; -} -#endif - new_pixels = drm_bo_map(scrn, drmmode->front_bo); if (!new_pixels) goto fail; ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [xf86-video-openchrome]X driver for VIA IGPs branch master updated. release_0_3_2-3-g50b0f91
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "X driver for VIA IGPs". The branch, master has been updated via 50b0f9186d33a2bd0be4bc55cd52e82e752e459f (commit) via 6812894a31146d08bd06db6f9085c2dbdc0be3db (commit) from 03c1b92d6b84af47fad90a2ade206a5c9a3b7e9a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - commit 50b0f9186d33a2bd0be4bc55cd52e82e752e459f Author: James Simmons Date: Sun Apr 14 11:19:28 2013 -0400 Enable xorg driver to recieve hotplug events. commit 6812894a31146d08bd06db6f9085c2dbdc0be3db Author: James Simmons Date: Sun Apr 14 11:17:41 2013 -0400 via_xf86crtc_resize can handle both UMS and KMS modes so we can remove drmmode_xf86crtc_resize. --- Summary of changes: src/via_driver.c |6 +++ src/via_kms.c| 90 -- 2 files changed, 6 insertions(+), 90 deletions(-) hooks/post-receive -- X driver for VIA IGPs ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] xf86-video-openchrome: 2 commits - src/via_driver.c src/via_kms.c
src/via_driver.c |6 +++ src/via_kms.c| 90 --- 2 files changed, 6 insertions(+), 90 deletions(-) New commits: commit 50b0f9186d33a2bd0be4bc55cd52e82e752e459f Author: James Simmons Date: Sun Apr 14 11:19:28 2013 -0400 Enable xorg driver to recieve hotplug events. diff --git a/src/via_driver.c b/src/via_driver.c index 85e46ef..d7387cb 100644 --- a/src/via_driver.c +++ b/src/via_driver.c @@ -1682,6 +1682,9 @@ VIACreateScreenResources(ScreenPtr pScreen) rootPixmap = pScreen->GetScreenPixmap(pScreen); +#ifdef HAVE_DRI +drmmode_uevent_init(pScrn, &pVia->drmmode); +#endif surface = drm_bo_map(pScrn, pVia->drmmode.front_bo); if (!surface) return FALSE; @@ -1728,6 +1731,9 @@ VIACloseScreen(CLOSE_SCREEN_ARGS_DECL) if (pScrn->vtSema) VIALeaveVT(VT_FUNC_ARGS(0)); +#ifdef HAVE_DRI +drmmode_uevent_fini(pScrn, &pVia->drmmode); +#endif xf86_cursors_fini(pScreen); for (i = 0; i < xf86_config->num_crtc; i++) { commit 6812894a31146d08bd06db6f9085c2dbdc0be3db Author: James Simmons Date: Sun Apr 14 11:17:41 2013 -0400 via_xf86crtc_resize can handle both UMS and KMS modes so we can remove drmmode_xf86crtc_resize. diff --git a/src/via_kms.c b/src/via_kms.c index 1890e75..c0e8b52 100644 --- a/src/via_kms.c +++ b/src/via_kms.c @@ -835,101 +835,11 @@ drmmode_clones_init(ScrnInfoPtr scrn, drmmode_ptr drmmode) } } -static Bool -drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height) -{ -xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); -drmmode_crtc_private_ptr drmmode_crtc = xf86_config->crtc[0]->driver_private; -drmmode_ptr drmmode = drmmode_crtc->drmmode; -inti, pitch, old_width, old_height, old_pitch; -int cpp = (scrn->bitsPerPixel + 7) / 8; -struct buffer_object *old_front = NULL; -ScreenPtr screen = scrn->pScreen; -uint32_t old_fb_id; -void *new_pixels; -PixmapPtr ppix; -Bool ret; - -if (scrn->virtualX == width && scrn->virtualY == height) -return TRUE; - -xf86DrvMsg(scrn->scrnIndex, X_INFO, -"Allocate new frame buffer %dx%d stride\n", -width, height); - -old_width = scrn->virtualX; -old_height = scrn->virtualY; -old_pitch = drmmode->front_bo->pitch; -old_fb_id = drmmode->fb_id; -old_front = drmmode->front_bo; - -pitch = width * cpp; -drmmode->front_bo = drm_bo_alloc_surface(scrn, &pitch, height, 0, 16, -TTM_PL_FLAG_VRAM); -if (!drmmode->front_bo) -goto fail; - -scrn->virtualX = width; -scrn->virtualY = height; -scrn->displayWidth = pitch / cpp; - -ret = drmModeAddFB(drmmode->fd, width, height, scrn->depth, -scrn->bitsPerPixel, pitch, -drmmode->front_bo->handle, -&drmmode->fb_id); -if (ret) -goto fail; - -new_pixels = drm_bo_map(scrn, drmmode->front_bo); -if (!new_pixels) -goto fail; - -ppix = screen->GetScreenPixmap(screen); -screen->ModifyPixmapHeader(ppix, width, height, -1, -1, -pitch, new_pixels); - -#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,9,99,1,0) -scrn->pixmapPrivate.ptr = ppix->devPrivate.ptr; -#endif - -for (i = 0; i < xf86_config->num_crtc; i++) { -xf86CrtcPtr crtc = xf86_config->crtc[i]; - -if (!crtc->enabled) -continue; - -drmmode_set_mode_major(crtc, &crtc->mode, crtc->rotation, -crtc->x, crtc->y); -} - -if (old_fb_id) { -drmModeRmFB(drmmode->fd, old_fb_id); -drm_bo_free(scrn, old_front); -} -return TRUE; - - fail: -if (drmmode->front_bo) -drm_bo_free(scrn, drmmode->front_bo); -drmmode->front_bo = old_front; -scrn->virtualX = old_width; -scrn->virtualY = old_height; -scrn->displayWidth = old_pitch / cpp; -drmmode->fb_id = old_fb_id; - -return FALSE; -} - -static const xf86CrtcConfigFuncsRec drmmode_xf86crtc_config_funcs = { -drmmode_xf86crtc_resize -}; - Bool KMSCrtcInit(ScrnInfoPtr pScrn, drmmode_ptr drmmode) { int i; DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "KMSCrtcInit\n")); -xf86CrtcConfigInit(pScrn, &drmmode_xf86crtc_config_funcs); drmmode->scrn = pScrn; drmmode->mode_res = drmModeGetResources(drmmode->fd); ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #15 from m...@jgs-wg.de --- Created attachment 77949 --> https://bugs.freedesktop.org/attachment.cgi?id=77949&action=edit kernel log with custom compiled kernelTtmGemKms drm.debug=255 and via.modeset=1 -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #14 from m...@jgs-wg.de --- Created attachment 77944 --> https://bugs.freedesktop.org/attachment.cgi?id=77944&action=edit screenshot of the issue (glxgears) with custom compiled kernelTtmGemKms and via.modeset=0 I just realized that you can even take normal screenshots of the issue. I found it interesting that you can't spot the red wheel in glxgears, here's another screenshot from it. -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #13 from m...@jgs-wg.de --- Created attachment 77943 --> https://bugs.freedesktop.org/attachment.cgi?id=77943&action=edit picture of the issue with custom compiled kernelTtmGemKms and via.modeset=0 heres the picture belonging to the issue. the cursor corruption can be probably solved by using swcursor besides of that, colors are unreal (too much blue, too much red), there's a little bit of image corruption in the middle of the background and sometimes there also was a translucent scientific logo in the middle everywhere. -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #12 from m...@jgs-wg.de --- Created attachment 77942 --> https://bugs.freedesktop.org/attachment.cgi?id=77942&action=edit Xorg.0.log with custom compiled kernelTtmGemKms and via.modeset=0 -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #11 from m...@jgs-wg.de --- Created attachment 77941 --> https://bugs.freedesktop.org/attachment.cgi?id=77941&action=edit picture of the issue (custom compiled kernelTtmGemKms ) please note that the above data from today all appeard in combination with via.modeset=1. ill also provide data for if via.modeset=0 -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #10 from m...@jgs-wg.de --- Created attachment 77940 --> https://bugs.freedesktop.org/attachment.cgi?id=77940&action=edit Xorg.0.log with custom compiled kernelTtmGemKms ) -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel
[Openchrome-devel] [Bug 62962] image corruption as of update to latest version of openchrome
https://bugs.freedesktop.org/show_bug.cgi?id=62962 --- Comment #9 from m...@jgs-wg.de --- So, I've now compiled a KMS kernel based on those instructions: http://www.freedesktop.org/wiki/Openchrome/TtmGemKms Does not work, image corruption (different now) still appears. I'll attach logs regarding this issue. -- You are receiving this mail because: You are the assignee for the bug. ___ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openchrome-devel