I830M and XFree4.2.1 on ASUS S1300A Notebook

I830M and XFree4.2.1 on ASUS S1300A Notebook

Post by Oliver Fuckne » Thu, 30 Jan 2003 02:08:35



Hi,
I got an ASUS S1300-Laptop one week ago and can't get my X-Server running.
Several Things are strange:
- I see 2 (!) Video adapters
- XFree86 -configure dumps a core, but produces a XF86Config.new, that
lists both adapters
- This Problem exists in FreeBSD 4.7-STABLE and 5.0-RELEASE
- Even Win2K finds two adapters
- Knoppix 3.1 boots X perfectly using 1024x768, but copying the config
does not work.

Perhaps one adapter (0:2:0) is for the LCD-Display, one (0:2:1)for the
VGA output, but this is just a guess...

pciconf -lv says:

hdr=0x00
     vendor   = 'Intel Corporation'
     device   = '82830M/MG Integrated Graphics Device'
     class    = display
     subclass = VGA

hdr=0x00
     vendor   = 'Intel Corporation'
     device   = '82830M/MG Integrated Graphics Device'
     class    = display

dmesg says:
agp0: <Intel 82830 (i830M GMCH) SVGA controller> mem
0xe7800000-0xe787ffff,0xf0000000-0xf7ffffff irq 10 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M

XFree86 -configure says:
(++) Using config file: "/root/XF86Config.new"
(WW) I810: No matching Device section for instance (BusID PCI:0:2:0) found

after this there are many "lib.foo unresolved" messages and a core dump
2 screens later.

XF86Config says:
Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "ShadowFB"                  # [<bool>]
         #Option     "VGAClocks"                 # [<bool>]
         Identifier  "Card0"
         #Driver      "vga"
        Driver          "i810"
         VendorName  "Intel"
         BoardName   "i830M"
         BusID       "PCI:0:2:0"
        Option          "NoInt10"
        VideoRam        16384
EndSection

But no Screens can be found after switching from auto-detected
vga-Driver to i810.
Oh, I forgot: The OS I am currently using is FreeBSD 5.0-RELEASE, 4.7
installed for testing purposes showed the same problems.

If anybody can tell me, what I am doing wrong, please help.

Thanks,
  Oliver

 
 
 

I830M and XFree4.2.1 on ASUS S1300A Notebook

Post by Antonis C Koutalo » Thu, 30 Jan 2003 02:49:29



> Hi,
> I got an ASUS S1300-Laptop one week ago and can't get my X-Server running.
> Several Things are strange:
> - I see 2 (!) Video adapters
> - XFree86 -configure dumps a core, but produces a XF86Config.new, that
> lists both adapters
> - This Problem exists in FreeBSD 4.7-STABLE and 5.0-RELEASE
> - Even Win2K finds two adapters
> - Knoppix 3.1 boots X perfectly using 1024x768, but copying the config
> does not work.

many lines cut here

Quote:> If anybody can tell me, what I am doing wrong, please help.

Hi Oliver,

You are not doing anything wrong! The 4.2.1 XFree86 server on FreeBSD is
to blame. I used to have exactly the same problem with exactly the same
graphics card on 4.7-RELEASE. After trying numerous (semi)solutions, the
only way I found to solve this problem is to get the latest XFree86
sources, compile them and use the compiled XFree86 server instead of the
4.2.1 one that comes with 4.7-RELEASE (or 5.0-RELEASE, for that matter). I
have been running the cvs XFree86 4.2.99.2 (release date 13 December 2002)
since mid-December 2002 and I have been experiencing no stability problems
at all! So, just get the latest cvs XFree86, compile it and run it! (the
compilation takes about 1 hout on a pentium III 1.1 GHz laptop with 256 MB
of RAM running 4.7-RELEASE)  You may want to wait, though, as the 4.3
version of XFree86 is about to be released soon.

Regards,

-Antonis.

 
 
 

I830M and XFree4.2.1 on ASUS S1300A Notebook

Post by Oliver Fuckne » Fri, 31 Jan 2003 00:01:26


Hi,

*snip*

This seemed to be exactly the tip I needed.
I just made World to XF 4.2.99.2 correctly, but make install fails:

making all in programs/Xserver/hw/xfree86...
making all in programs/Xserver/hw/xfree86/os-support...
making all in programs/Xserver/hw/xfree86/os-support/bsd...
making all in programs/Xserver/hw/xfree86/os-support/bsd/drm...
rm -f xf86drm.o
LD_LIBRARY_PATH=../../../../../../../exports/lib cc -O2 -ansi -pedantic
-Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
-Wnested-externs -Wundef   -fno-merge-constants
-I../../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../../programs/Xserver/hw/xfree86/os-support -I.
-I../../../../../../../programs/Xserver/include
         -I../../../../../../../exports/include/X11
-I../../../../../../../include/extensions -I../.. -Ikernel
-I../../../../../../.. -I../../../../../../../exports/include
-DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER
-DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH
-DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE
-DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO
-DIN_MODULE -DXFree86Module -DHAS_MTRR_SUPPORT -DGLXEXT -DXF86DRI
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA   -c xf86drm.c
In file included from kernel/drm.h:38,
                  from xf86drm.c:37:
/usr/include/sys/ioccom.h:70: conflicting types for `xf86ioctl'
../../../../../../../programs/Xserver/include/xf86_ansic.h:269: previous
declaration of `xf86ioctl'
/usr/include/sys/ioccom.h:70: warning: redundant redeclaration of
`xf86ioctl' in same scope
../../../../../../../programs/Xserver/include/xf86_ansic.h:269: warning:
previous declaration of `xf86ioctl'
*** Error code 1

Stop in /data_local/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm.
*** Error code 1

Stop in /data_local/xc/programs/Xserver/hw/xfree86/os-support/bsd.
*** Error code 1

Stop in /data_local/xc/programs/Xserver/hw/xfree86/os-support.
*** Error code 1

Stop in /data_local/xc/programs/Xserver/hw/xfree86.
*** Error code 1

Stop in /data_local/xc/programs/Xserver.
*** Error code 1

Stop in /data_local/xc/programs.
*** Error code 1

Stop in /data_local/xc.
*** Error code 1

Stop in /data_local/xc.
glory# ls -l /data_local/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm
total 82
-rw-r--r--   1 root  wheel  31345 Jan 29 14:39 .depend
-rw-r--r--   1 root  wheel   1877 Jan 29 07:50 Imakefile
-rw-r--r--   1 root  wheel  35192 Jan 29 14:31 Makefile
lrwxr-xr-x   1 root  wheel     81 Jan 29 14:32 drmmodule.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/drmmodule.c
-rw-r--r--   1 root  wheel    936 Jan 29 15:13 drmmodule.o
drwxr-xr-x  10 root  wheel   1024 Jan 29 14:31 kernel
lrwxr-xr-x   1 root  wheel     79 Jan 29 14:32 xf86drm.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c
lrwxr-xr-x   1 root  wheel     83 Jan 29 14:32 xf86drmHash.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmHash.c
-rw-r--r--   1 root  wheel   1984 Jan 29 15:13 xf86drmHash.o
lrwxr-xr-x   1 root  wheel     83 Jan 29 14:32 xf86drmI810.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmI810.c
lrwxr-xr-x   1 root  wheel     83 Jan 29 14:32 xf86drmI830.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmI830.c
lrwxr-xr-x   1 root  wheel     82 Jan 29 14:32 xf86drmMga.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmMga.c
lrwxr-xr-x   1 root  wheel     83 Jan 29 14:32 xf86drmR128.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmR128.c
lrwxr-xr-x   1 root  wheel     85 Jan 29 14:32 xf86drmRadeon.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmRadeon.c
lrwxr-xr-x   1 root  wheel     85 Jan 29 14:32 xf86drmRandom.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmRandom.c
-rw-r--r--   1 root  wheel   1048 Jan 29 15:13 xf86drmRandom.o
lrwxr-xr-x   1 root  wheel     81 Jan 29 14:32 xf86drmSL.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmSL.c
-rw-r--r--   1 root  wheel   2812 Jan 29 15:13 xf86drmSL.o
lrwxr-xr-x   1 root  wheel     82 Jan 29 14:32 xf86drmSiS.c ->
../../../../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmSiS.c
glory#

Can you tell me, where to search for my next problem ?

Thanks,
  Oliver *ner

 
 
 

I830M and XFree4.2.1 on ASUS S1300A Notebook

Post by Oliver Fuckne » Fri, 31 Jan 2003 19:58:43


Hello,

Quote:

> This seemed to be exactly the tip I needed.
> I just made World to XF 4.2.99.2 correctly, but make install fails:

After installing XF 4.2.99.4 everything is fine.
  Oliver
 
 
 

1. 2.1 Resolution on Notebook

I just installed RH6.1 on a Sony Vaio notebook computer.  By default, it
installed KDE 1.1.2 and Gnome.  Whenever I run either of these, the display
looks good and crisp.  I went on to install QT-2.2.4 and KDE 2.1 Beta 2.  
However, when I run Beta 2, the display is grainy, as if it is in a lower
resolution mode.  Does anyone know why KDE2 would not look as good?  It's
running atop the same X server as 1.1.2 I assume.

If it helps any, the graphics adapter is a Neomagic, and the display is "LCD
1024x768".

Thanks for your help.
Paul.....

2. Problem connecting telnet to linux server

3. kernel2.2.1 and shutdown on asus-pii-board

4. disabling touch pad

5. Repost: ASUS APM Problem (ASUS L8400L & ASUS P2B-F)

6. [2.5] Sysfs enabling watchdog infrastructure

7. Matrox Mystique ands X.

8. kgcc, where is it in rh 7.1?

9. Sound on ASUS L7300-E notebook?

10. XFree86 2.1 for solaris x86 2.1

11. Linux on ASUS A2000H Notebook Series

12. System hangs under linux 2.1.9x and 2.1.1xx

13. SCSI Controller with Asus notebook