Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2011 10:41:21 +0100
From:      =?UTF-8?B?R3VzdGF1IFDDqXJleiBpIFF1ZXJvbA==?= <gperez@entel.upc.edu>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        FreeBSD Ports <ports@freebsd.org>, x11@freebsd.org, Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Subject:   Re: [ECFT] drm/dri/mesa/xorg-server update [Part 1]
Message-ID:  <4D7DE2C1.2000608@entel.upc.edu>
In-Reply-To: <20110314090627.GH78089@deviant.kiev.zoral.com.ua>
References:  <AANLkTiknQ7UAu3UrxeZ8Ss6sr4yn2jAoHbusnJZzSuqo@mail.gmail.com>	<1299844349.1472.93.camel@xenon>	<AANLkTimVGik6NE=CZ-0qfyeAvGTpVu4SxP%2BOauQEgr=i@mail.gmail.com>	<D1A29FF2-26D5-4E1C-AE99-A4C94A452351@FreeBSD.org>	<AANLkTikBHPLd04y8Dxo9Ov280YSNmpJiOtZ9bDo-qVup@mail.gmail.com>	<E51FC3FF-999A-40BC-8DC4-616D9339D6AF@freebsd.org>	<AANLkTik8rPYtXMGCPLsLBqMzsedgtisQqfHGLnhFaJvD@mail.gmail.com>	<4D7DC2E1.1010306@yandex.ru> <20110314090627.GH78089@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Al 14/03/2011 10:06, En/na Kostik Belousov ha escrit:
> On Mon, Mar 14, 2011 at 10:25:21AM +0300, Ruslan Mahmatkhanov wrote:
>> 14.03.2011 00:03, George Liaskos пишет:
>>>> The crash is probably happening the first time something tries to access
>>>> dri, libdrm.
>>> I believe that kwin tries to use desktop effects by default. Better
>>> try a simple xinit for start to see how it goes and post the log.
>>>
>>> Ok, after some research about the patch i believe that this how it should
>>> be :
>>>
>> Tried both this patch and previous one. It compiles fine, but still doesn't
>> working. There is the messages:
>>
>> Xorg.0.log:
>> [    22.760] (II) intel(0): I830CheckAvailableMemory: 4026368 kB available
>> [    22.760] drmOpenDevice: node name is /dev/dri/card0
>> [    22.761] Failed to change owner or group for file /dev/dri! 2: No such
>> file or directory
>> [    22.761] Failed to change owner or group for file /dev/dri/card0! 2: No
>> such file or directory
>> [    22.761] drmOpenDevice: open result is -1, (No such file or directory)
>> [    22.761] Failed to change owner or group for file /dev/dri/card0! 2: No
>> such file or directory
>> [    22.761] drmOpenDevice: open result is -1, (No such file or directory)
>> [    22.761] drmOpenDevice: Open failed
> This is only an excerpt from the full log, and it is due to slightly weird
> open procedure for drm node. Either post the whole log, or look at
> the log down, where driver should say that drm opened and dri initialized.
>
>> gdm/:0.log
>> /libexec/ld-elf.so.1: /usr/local/lib/xorg/modules/drivers/intel_drv.so:
>> Undefined symbol "dixRequestPrivate"
> This looks more serious and might be the actual cause of failed startup.

   I made a simple patch which uses dixRegisterPrivateKey in place of 
dixRequestPrivate (i found somewhere the dixRequestPrivate got 
deprecated). It made it compile and X tries to start. The problem then 
is that X sigfaults because an assertion failed.

   This evening (UTC+1) it will the full log, because I think the 
assertion occurs because the way it reserves the private key is incorrect.

    However, seeing the amount of changes with xf86-video-intel (because 
of changes with xorg-server), I think it would be very difficult to get 
a working version of the old xf86-video-intel{27|29} drivers. I think it 
would be better to wait until gem/kms works (by the way, can we help 
with its development ?)

    Best regards,

    Gus

-- 
Gustau Pérez i Querol
Tècnic de sistemes.
Departament d'Enginyeria Telemàtica
Universitat Polítècnica de Catalunya
(34) 934 010 986

PGP KEY : http://www-entel.upc.edu/gus/gus.asc
Stop top-posting :	http://ca.wikipedia.org/wiki/Top-posting
			http://en.wikipedia.org/wiki/Posting_style	




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D7DE2C1.2000608>