Re: Problems enabling DRI on i810 chipset with xorg-server 1.4.2

2009-04-17 Thread Manish Jain
Dave Airlie wrote:
> On Fri, Apr 17, 2009 at 3:53 PM, Manish Jain  
> wrote:
>   
>> Dave Airlie wrote:
>> 
>>> On Thu, Apr 16, 2009 at 5:01 PM, Paul B. Mahol  wrote:
>>>
>>>   
>>>> On 4/14/09, Manish Jain  wrote:
>>>>
>>>> 
>>>>> Hi,
>>>>>
>>>>> I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron
>>>>> Coppermine 800 MHz + Intel 810 chipset-based system. The xorg
>>>>> documentation states that enabling DRI on this chipset just requires the
>>>>> colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one
>>>>> screen with the depth set to 16. I am loading the agp module at
>>>>> boot-time via loader.conf. But xorg still disables DRI.
>>>>>
>>>>> Following are some relevant lines from xorg's log :
>>>>>
>>>>>   
>>>>>> X.Org X Server 1.4.2
>>>>>> Release Date: 11 June 2008
>>>>>> (**) intel(0): page flipping disabled
>>>>>> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to
>>>>>> enable.
>>>>>> drmOpenDevice: node name is /dev/dri/card0
>>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>>> drmOpenDevice: Open failed
>>>>>> drmOpenDevice: node name is /dev/dri/card0
>>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>>> drmOpenDevice: Open failed
>>>>>> [drm] failed to load kernel module "i810"
>>>>>>
>>>>>> 
>>>> is i915.ko loaded?
>>>>
>>>>
>>>> 
>>> you need to load i810.ko not i915.ko.
>>>
>>> Dave.
>>>
>>>
>>>   
>> Hello Dave,
>>
>> Thank you for your input.
>>
>> I myself wish things were that simple :
>>
>> 
>>> /boot/kernel # ls -l *810*
>>> ls: *810*: No such file or directory
>>>   
>
> not sure where your kernel is come from, but you should have
> an i810.ko, CONFIG_DRM_I810 should create it.
>
> Dave.
>
>   

Hello Dave,

I am running FreeBSD's GENERIC x86 kernel without any reconfiguration 
with an unaltered xorg distribution :
> /root # cat /var/log/Xorg.0.log | head -7
>
> X.Org X Server 1.4.2
> Release Date: 11 June 2008
> X Protocol Version 11, Revision 0
> Build Operating System: FreeBSD 7.1-PRERELEASE i386
> Current Operating System: FreeBSD unxfbsdi.local.lan 7.1-RELEASE 
> FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
> r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
> Build Date: 08 September 2008  12:37:00PM
-- 
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Problems enabling DRI on i810 chipset with xorg-server 1.4.2

2009-04-16 Thread Manish Jain
Dave Airlie wrote:
> On Thu, Apr 16, 2009 at 5:01 PM, Paul B. Mahol  wrote:
>   
>> On 4/14/09, Manish Jain  wrote:
>> 
>>> Hi,
>>>
>>> I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron
>>> Coppermine 800 MHz + Intel 810 chipset-based system. The xorg
>>> documentation states that enabling DRI on this chipset just requires the
>>> colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one
>>> screen with the depth set to 16. I am loading the agp module at
>>> boot-time via loader.conf. But xorg still disables DRI.
>>>
>>> Following are some relevant lines from xorg's log :
>>>   
>>>> X.Org X Server 1.4.2
>>>> Release Date: 11 June 2008
>>>> (**) intel(0): page flipping disabled
>>>> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
>>>> drmOpenDevice: node name is /dev/dri/card0
>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>> drmOpenDevice: Open failed
>>>> drmOpenDevice: node name is /dev/dri/card0
>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>> drmOpenDevice: Open failed
>>>> [drm] failed to load kernel module "i810"
>>>> 
>> is i915.ko loaded?
>>
>> 
>
> you need to load i810.ko not i915.ko.
>
> Dave.
>
>   

Hello Dave,

Thank you for your input.

I myself wish things were that simple :

> /boot/kernel # ls -l *810*
> ls: *810*: No such file or directory
-- 
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: Problems enabling DRI on i810 chipset with xorg-server 1.4.2

2009-04-16 Thread Manish Jain
Paul B. Mahol wrote:
> On 4/16/09, Manish Jain  wrote:
>   
>> I am not sure what the norms are in this forum w.r.t. top-posting. My
>> reply is at the bottom.
>>
>>
>> Paul B. Mahol wrote:
>> 
>>> On 4/14/09, Manish Jain  wrote:
>>>
>>>   
>>>> Hi,
>>>>
>>>> I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron
>>>> Coppermine 800 MHz + Intel 810 chipset-based system. The xorg
>>>> documentation states that enabling DRI on this chipset just requires the
>>>> colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one
>>>> screen with the depth set to 16. I am loading the agp module at
>>>> boot-time via loader.conf. But xorg still disables DRI.
>>>>
>>>> Following are some relevant lines from xorg's log :
>>>>
>>>> 
>>>>> X.Org X Server 1.4.2
>>>>> Release Date: 11 June 2008
>>>>> (**) intel(0): page flipping disabled
>>>>> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to
>>>>> enable.
>>>>> drmOpenDevice: node name is /dev/dri/card0
>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>> drmOpenDevice: Open failed
>>>>> drmOpenDevice: node name is /dev/dri/card0
>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>> drmOpenDevice: open result is -1, (No such file or directory)
>>>>> drmOpenDevice: Open failed
>>>>> [drm] failed to load kernel module "i810"
>>>>>
>>>>>   
>>> is i915.ko loaded?
>>>
>>>
>>>   
>>>>> (EE) [drm] drmOpen failed.
>>>>> (EE) intel(0): [dri] DRIScreenInit failed.  Disabling DRI.
>>>>> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x (pgoffset 0)
>>>>> (WW) intel(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
>>>>> (Cannot allocate memory)
>>>>>
>>>>>   
>>>> Please note there is no directory named /dev/dri on my devfs-enabled
>>>> system.
>>>>
>>>> Here is my /etc/X11/xorg.conf :
>>>>
>>>> 
>>>>> Section "Module"
>>>>> Load"dri"
>>>>> Load"glx"
>>>>> Load"extmod"
>>>>> Load"dbe"
>>>>> Load"freetype"
>>>>>
>>>>> SubSection "extmod"
>>>>> Option"omit xfree86-dga"
>>>>> EndSubSection
>>>>> EndSection
>>>>>
>>>>> Section "Files"
>>>>> RgbPath"/usr/local/lib/X11/rgb"
>>>>>
>>>>> FontPath"/usr/local/lib/X11/fonts/misc/"
>>>>> FontPath"/usr/local/lib/X11/fonts/TTF/"
>>>>> FontPath"/usr/local/lib/X11/fonts/OTF"
>>>>> FontPath"/usr/local/lib/X11/fonts/Type1/"
>>>>> FontPath"/usr/local/lib/X11/fonts/100dpi/"
>>>>> FontPath"/usr/local/lib/X11/fonts/75dpi/"
>>>>> FontPath"/usr/local/lib/X11/fonts/bitstream-vera/"
>>>>> FontPath"/usr/local/lib/X11/fonts/cyrillic/"
>>>>> FontPath"/usr/local/lib/X11/fonts/util/"
>>>>> FontPath"/usr/local/share/fonts/cmpsfont/type1"
>>>>>
>>>>> ModulePath"/usr/local/lib/xorg/modules"
>>>>> EndSection
>>>>>
>>>>> Section "ServerFlags"
>>>>> Option"AllowEmptyInput""off"
>>>>> EndSection
>>>>>
>>>>> Section "InputDevice"
>>>>> Identifier"Keyboard_US_ISO_105"
>>>>> Driver"kbd"
>>>>> Option"AutoRepeat""500 30"
>>>>> Option"XkbRules""xorg"
>

Re: Problems enabling DRI on i810 chipset with xorg-server 1.4.2

2009-04-16 Thread Manish Jain
I am not sure what the norms are in this forum w.r.t. top-posting. My 
reply is at the bottom.


Paul B. Mahol wrote:
> On 4/14/09, Manish Jain  wrote:
>   
>> Hi,
>>
>> I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron
>> Coppermine 800 MHz + Intel 810 chipset-based system. The xorg
>> documentation states that enabling DRI on this chipset just requires the
>> colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one
>> screen with the depth set to 16. I am loading the agp module at
>> boot-time via loader.conf. But xorg still disables DRI.
>>
>> Following are some relevant lines from xorg's log :
>> 
>>> X.Org X Server 1.4.2
>>> Release Date: 11 June 2008
>>> (**) intel(0): page flipping disabled
>>> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
>>> drmOpenDevice: node name is /dev/dri/card0
>>> drmOpenDevice: open result is -1, (No such file or directory)
>>> drmOpenDevice: open result is -1, (No such file or directory)
>>> drmOpenDevice: Open failed
>>> drmOpenDevice: node name is /dev/dri/card0
>>> drmOpenDevice: open result is -1, (No such file or directory)
>>> drmOpenDevice: open result is -1, (No such file or directory)
>>> drmOpenDevice: Open failed
>>> [drm] failed to load kernel module "i810"
>>>   
>
> is i915.ko loaded?
>
>   
>>> (EE) [drm] drmOpen failed.
>>> (EE) intel(0): [dri] DRIScreenInit failed.  Disabling DRI.
>>> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x (pgoffset 0)
>>> (WW) intel(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
>>> (Cannot allocate memory)
>>>   
>> Please note there is no directory named /dev/dri on my devfs-enabled system.
>>
>> Here is my /etc/X11/xorg.conf :
>> 
>>> Section "Module"
>>> Load"dri"
>>> Load"glx"
>>> Load"extmod"
>>> Load"dbe"
>>> Load"freetype"
>>>
>>> SubSection "extmod"
>>> Option"omit xfree86-dga"
>>> EndSubSection
>>> EndSection
>>>
>>> Section "Files"
>>> RgbPath"/usr/local/lib/X11/rgb"
>>>
>>> FontPath"/usr/local/lib/X11/fonts/misc/"
>>> FontPath"/usr/local/lib/X11/fonts/TTF/"
>>> FontPath"/usr/local/lib/X11/fonts/OTF"
>>> FontPath"/usr/local/lib/X11/fonts/Type1/"
>>> FontPath"/usr/local/lib/X11/fonts/100dpi/"
>>> FontPath"/usr/local/lib/X11/fonts/75dpi/"
>>> FontPath"/usr/local/lib/X11/fonts/bitstream-vera/"
>>> FontPath"/usr/local/lib/X11/fonts/cyrillic/"
>>> FontPath"/usr/local/lib/X11/fonts/util/"
>>> FontPath"/usr/local/share/fonts/cmpsfont/type1"
>>>
>>> ModulePath"/usr/local/lib/xorg/modules"
>>> EndSection
>>>
>>> Section "ServerFlags"
>>> Option"AllowEmptyInput""off"
>>> EndSection
>>>
>>> Section "InputDevice"
>>> Identifier"Keyboard_US_ISO_105"
>>> Driver"kbd"
>>> Option"AutoRepeat""500 30"
>>> Option"XkbRules""xorg"
>>> Option"XkbModel""pc105"
>>> Option"XkbLayout""us"
>>> EndSection
>>>
>>> Section "InputDevice"
>>> Identifier"Mouse_Logitech_USB_Optical"
>>> Driver"mouse"
>>> Option"Protocol""Auto"
>>> Option"Device""/dev/sysmouse"
>>> Option"ZAxisMapping""4 5 6 7"
>>> EndSection
>>>
>>> Section "Monitor"
>>> Identifier"Philips105St"
>>> HorizSync31.5 - 48.5
>>> VertRefresh    50-90
>>> EndSection
>>>
>>> Section "Dev

Problems enabling DRI on i810 chipset with xorg-server 1.4.2

2009-04-14 Thread Manish Jain

Hi,

I am running xorg-server 1.4.2 on FreeBSD 7.1 (Release) on a Celeron 
Coppermine 800 MHz + Intel 810 chipset-based system. The xorg 
documentation states that enabling DRI on this chipset just requires the 
colour depth to be set to either 8 or 16 bpp. My xorg.conf uses just one 
screen with the depth set to 16. I am loading the agp module at 
boot-time via loader.conf. But xorg still disables DRI.

Following are some relevant lines from xorg's log :
> X.Org X Server 1.4.2
> Release Date: 11 June 2008
> (**) intel(0): page flipping disabled
> (II) intel(0): XvMC is Disabled: use XvMCSurfaces config option to enable.
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: open result is -1, (No such file or directory)
> drmOpenDevice: Open failed
> [drm] failed to load kernel module "i810"
> (EE) [drm] drmOpen failed.
> (EE) intel(0): [dri] DRIScreenInit failed.  Disabling DRI.
> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x (pgoffset 0)
> (WW) intel(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
> (Cannot allocate memory)

Please note there is no directory named /dev/dri on my devfs-enabled system.

Here is my /etc/X11/xorg.conf :
> Section "Module"
> Load"dri"
> Load"glx"
> Load"extmod"
> Load"dbe"
> Load"freetype"
>
> SubSection "extmod"
> Option"omit xfree86-dga"
> EndSubSection
> EndSection
>
> Section "Files"
> RgbPath"/usr/local/lib/X11/rgb"
>
> FontPath"/usr/local/lib/X11/fonts/misc/"
> FontPath"/usr/local/lib/X11/fonts/TTF/"
> FontPath"/usr/local/lib/X11/fonts/OTF"
> FontPath"/usr/local/lib/X11/fonts/Type1/"
> FontPath"/usr/local/lib/X11/fonts/100dpi/"
> FontPath"/usr/local/lib/X11/fonts/75dpi/"
> FontPath"/usr/local/lib/X11/fonts/bitstream-vera/"
> FontPath"/usr/local/lib/X11/fonts/cyrillic/"
> FontPath"/usr/local/lib/X11/fonts/util/"
> FontPath"/usr/local/share/fonts/cmpsfont/type1"
>
> ModulePath"/usr/local/lib/xorg/modules"
> EndSection
>
> Section "ServerFlags"
> Option"AllowEmptyInput""off"
> EndSection
>
> Section "InputDevice"
> Identifier"Keyboard_US_ISO_105"
> Driver"kbd"
> Option"AutoRepeat""500 30"
> Option"XkbRules""xorg"
> Option"XkbModel""pc105"
> Option"XkbLayout""us"
> EndSection
>
> Section "InputDevice"
> Identifier"Mouse_Logitech_USB_Optical"
> Driver"mouse"
> Option"Protocol""Auto"
> Option"Device""/dev/sysmouse"
> Option"ZAxisMapping""4 5 6 7"
> EndSection
>
> Section "Monitor"
> Identifier"Philips105St"
> HorizSync31.5 - 48.5
> VertRefresh50-90
> EndSection
>
> Section "Device"
> Identifier"i810_Tomato"
> Driver"i810"
> VideoRam4096
> EndSection
>
> Section "Screen"
> Identifier"Screen_Only"
> Device"i810_Tomato"
> Monitor"Philips105St"
> DefaultDepth16
>
>     Subsection "Display"
> Depth16
> Modes"1024x768"
> ViewPort0 0
> EndSubsection
> EndSection
>
> Section "ServerLayout"
> Identifier"Layout_Xorg732"
> Screen"Screen_Only"
> InputDevice"Mouse_Logitech_USB_Optical""CorePointer"
> InputDevice"Keyboard_US_ISO_105""CoreKeyboard"
> EndSection
>
> Section "DRI"
> Mode0666
> EndSection

And here is my /boot/loader.conf :
> agp_load="YES"
> drm_load="YES"
> snd_ich_load="YES"
> linux_load="YES"
> linprocfs_load="YES"
> hint.acpi.0.disabled=0
> hw.acpi.verbose=1

Can somebody tell me what the problem is and how do I get to enable DRI 
on my system ? Any help would be greatly appreciated.

-- 
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg