From: Torfinn Ingolfsen on
Hi,

On Sat, Mar 13, 2010 at 1:48 PM, Robert Noland <rnoland(a)freebsd.org> wrote:

>
> Ok, now that agp seems to be working... I have created a port for the
> 2.9.1 version of the Intel driver. You will need to uninstall the
> existing intel driver and install this one. You still won't have drm,
> but should be a good bit better than vesa...
>
> http://people.freebsd.org/~rnoland/xf86-video-intel29.tar.gz<http://people.freebsd.org/%7Ernoland/xf86-video-intel29.tar.gz>
>
> Please let me know how it goes. You will likely want to use UXA
> acceleration with this driver.
>

deinstalledc the old intel driver, installed the new, and tried 'startx' as
root.
Well, it didn't work. From /var/log/Xorg.0.log:
(II) Module "ramdac" already built-in
drmOpenDevice: node name is /dev/dri/card0
Failed to change owner or group for file /dev/dri! 2: No such file or
directory
Failed to change owner or group for file /dev/dri/card0! 2: No such file or
directory
drmOpenDevice: open result is -1, (No such file or directory)
Failed to change owner or group for file /dev/dri/card0! 2: No such file or
directory
drmOpenDevice: open result is -1, (No such file or directory)
drmOpenDevice: Open failed
[drm] failed to load kernel module "i915"
(EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0: File
exists
(EE) intel(0): Failed to become DRM master.
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) Clarkdale
(--) intel(0): Chipset: "Clarkdale"
(--) intel(0): Linear framebuffer at 0xD0000000
(--) intel(0): IO registers at addr 0xFB800000 size 4194304
(II) intel(0): No SDVO device is found in VBT
(II) intel(0): 2 display pipes available.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) intel(0): Output VGA using monitor section Monitor0
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) intel(0): Output VGA disconnected
(WW) intel(0): No outputs definitely connected, trying again...
(II) intel(0): Output VGA disconnected
(WW) intel(0): Unable to find initial modes
(EE) intel(0): No valid modes.
(==) intel(0): Write-combining range (0xa0000,0x10000) was already clear
(II) UnloadModule: "intel"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/local/lib/xorg/modules/libvgahw.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

HTH
--
Regards,
Torfinn Ingolfsen
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Robert Noland on
On Sat, 2010-03-13 at 15:05 +0100, Torfinn Ingolfsen wrote:
> Hi,
>
> On Sat, Mar 13, 2010 at 1:48 PM, Robert Noland <rnoland(a)freebsd.org>
> wrote:
>
>
> Ok, now that agp seems to be working... I have created a port
> for the
> 2.9.1 version of the Intel driver. You will need to uninstall
> the
> existing intel driver and install this one. You still won't
> have drm,
> but should be a good bit better than vesa...
>
> http://people.freebsd.org/~rnoland/xf86-video-intel29.tar.gz
>
> Please let me know how it goes. You will likely want to use
> UXA
> acceleration with this driver.
>
> deinstalledc the old intel driver, installed the new, and tried
> 'startx' as root.
> Well, it didn't work. From /var/log/Xorg.0.log:
> (II) Module "ramdac" already built-in
> drmOpenDevice: node name is /dev/dri/card0
> Failed to change owner or group for file /dev/dri! 2: No such file or
> directory
> Failed to change owner or group for file /dev/dri/card0! 2: No such
> file or directory
> drmOpenDevice: open result is -1, (No such file or directory)
> Failed to change owner or group for file /dev/dri/card0! 2: No such
> file or directory
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "i915"
> (EE) intel(0): [drm] Failed to open DRM device for pci:0000:00:02.0:
> File exists
> (EE) intel(0): Failed to become DRM master.
> (**) intel(0): Depth 24, (--) framebuffer bpp 32
> (==) intel(0): RGB weight 888
> (==) intel(0): Default visual is TrueColor
> (II) intel(0): Integrated Graphics Chipset: Intel(R) Clarkdale
> (--) intel(0): Chipset: "Clarkdale"
> (--) intel(0): Linear framebuffer at 0xD0000000
> (--) intel(0): IO registers at addr 0xFB800000 size 4194304
> (II) intel(0): No SDVO device is found in VBT
> (II) intel(0): 2 display pipes available.
> (II) Loading sub module "ddc"
> (II) LoadModule: "ddc"
> (II) Module "ddc" already built-in
> (II) Loading sub module "i2c"
> (II) LoadModule: "i2c"
> (II) Module "i2c" already built-in
> (II) intel(0): Output VGA using monitor section Monitor0
> (==) intel(0): Write-combining range (0xa0000,0x10000) was already
> clear
> (II) intel(0): Output VGA disconnected
> (WW) intel(0): No outputs definitely connected, trying again...
> (II) intel(0): Output VGA disconnected
> (WW) intel(0): Unable to find initial modes
> (EE) intel(0): No valid modes.
> (==) intel(0): Write-combining range (0xa0000,0x10000) was already
> clear
> (II) UnloadModule: "intel"
> (II) UnloadModule: "vgahw"
> (II) Unloading /usr/local/lib/xorg/modules/libvgahw.so
> (EE) Screen(s) found, but none have a usable configuration.
>
> Fatal server error:
> no screens found

Can you send me your Xorg.conf?

robert.

> HTH
> --
> Regards,
> Torfinn Ingolfsen
--
Robert Noland <rnoland(a)FreeBSD.org>
FreeBSD

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Torfinn Ingolfsen on
On Sat, Mar 13, 2010 at 3:15 PM, Robert Noland <rnoland(a)freebsd.org> wrote:

>
> Can you send me your Xorg.conf?
>

Sure. Sent off list.
--
Regards,
Torfinn
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Garrett Cooper on
On Sat, Mar 13, 2010 at 5:32 AM, Torfinn Ingolfsen <tingox(a)gmail.com> wrote:
> On Fri, Mar 12, 2010 at 11:09 PM, Garrett Cooper <yanefbsd(a)gmail.com> wrote:
>
>> Something else that I recently got reminded of. XFCE4 uses a lot of
>> the compositing effects in the window manager. Have you tried
>> disabling them in xorg.conf and restart the X session?
>>
>
> I tried disabling a few load lines in xorg.conf:
>        #Load  "glx"
>        #Load  "dri"
>        #Load  "dri2"
> Is that the correct way to do it?
>
> Anyway, it didn't make a difference - xfce4-session still crashes when doing
> 'startxfce4'.

Actually it's:

Section "Screen"
# ...
Option "AllowGLXWithComposite" "false"
Option "RenderAccel" "false"
# ...

Section "Extensions"
# ...
Option "Composite" "disable"
Option "AllowGLXWithComposite" "false"
# ...

But getting back to basics, maybe you should try starting up X
with twm to see whether or not the whole setup is broken. Then you'll
be able to run glxgears and some xfce4 apps to determine whether or
not opengl is broken or xfce4 is busted somewhere along the way.
HTH,
-Garrett
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Garrett Cooper on
On Sat, Mar 13, 2010 at 11:14 AM, Garrett Cooper <yanefbsd(a)gmail.com> wrote:
> On Sat, Mar 13, 2010 at 5:32 AM, Torfinn Ingolfsen <tingox(a)gmail.com> wrote:
>> On Fri, Mar 12, 2010 at 11:09 PM, Garrett Cooper <yanefbsd(a)gmail.com> wrote:
>>
>>> Something else that I recently got reminded of. XFCE4 uses a lot of
>>> the compositing effects in the window manager. Have you tried
>>> disabling them in xorg.conf and restart the X session?
>>>
>>
>> I tried disabling a few load lines in xorg.conf:
>>        #Load  "glx"
>>        #Load  "dri"
>>        #Load  "dri2"
>> Is that the correct way to do it?
>>
>> Anyway, it didn't make a difference - xfce4-session still crashes when doing
>> 'startxfce4'.
>
> Actually it's:
>
> Section "Screen"
> # ...
>      Option "AllowGLXWithComposite" "false"
>      Option "RenderAccel" "false"
> # ...
>
> Section "Extensions"
> # ...
>      Option "Composite" "disable"
>      Option "AllowGLXWithComposite" "false"
> # ...
>
>    But getting back to basics, maybe you should try starting up X
> with twm to see whether or not the whole setup is broken. Then you'll
> be able to run glxgears and some xfce4 apps to determine whether or
> not opengl is broken or xfce4 is busted somewhere along the way.

I just read Robert's email. DRM's busted so it looks like X won't work
for you until that's resolved. I wouldn't bother with the steps I've
described above since Warren said "it works for me!" :\.
Thanks,
-Garrett
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"