Random ...
 
December 2017
S M T W T F S
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Tags ...
Links



Linux++:::: Linux on nx8220: finally, 3D direct rendering with fglrx!
Posted at 08.Jul,2005 16:30  Comments 21 / Trackbacks 0 / Like this post!
Technorati tag(s):

I've had a working linux on my nx8220 for quite a while now, but without direct rendering.

Today, I decided to look into using ATI's proprietary binary driver. Get the driver at "ATI page": https://support.ati.com/ics/support/KBAnswer.asp?questionID=1176

Get either the installer or the binary driver. It's stated that this driver is for kernel 2.6.11, so upgrade if you must. Or, you can try with your current kernel and upgrade later if installation fail.

Check that agpgart is a module and not built in the kernel.

Now with installer, just run ati*-run, click the necessary and you're done.

fglrx.ko should be available in /lib/modules/fglrx and copied over to /lib/modules/`uname -r1/kernel/drivers/char/drm

Try modprobe fglrx or insmod /path/to/fglrx.ko

Now, run fglrxconfig. Select to use external agpgart module.

Boot to runlevel 3. Run lsmod and check that fglrx is loaded. If not, manually load it. Run startx.

Check /var/log/Xorg.log.0 and see that everything loaded up correctly.

Run glxinfo|grep dire and see the good news.

Now that I'm running my X with direct rendering [1], I see not much difference. That's probably because I don't actually have/use anything 3D :P or maybe I'm missing something :))

A few glitch:

  • fglrx can't load automatically during boot up. I've added alias ati fglrx in /etc/modprobe.conf workaroud - loaded via rc.sysinit
  • modprobe fglrx don't find the module. Needed to insmod /path/to/fglrx

    -not all screen estate is used. The screen is bordered by a 1 cm frame.

Anyway, it's been a good experience.

Updated

Initially, glxgears returned between 50-60 fps. WTF? I went to all that trouble for this? Rechecked and googled for hints. Found one - need to disable vsync. Where is that? After a few tests, it's the capabilities. change:

  Option            "Capabilities" "0x00000800" to
  Option            "Capabilities" "0x00000000"
                                                        ^

Now I have between 2900-4500 FPS! Cool!

[1]:

  # XFree86 4 configuration created by pyxf86config
  #Section "Device"
  #     Identifier  "Videocard0"
  #     Driver      "radeon"
  #     VendorName  "Videocard vendor"
  #     BoardName   "ATI Radeon Mobility X600"
  #EndSection
  #--added
  #--end

  Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Synaptics" "AlwaysCore"
  EndSection

  Section "Files"

  # RgbPath is the location of the RGB database.  Note, this is the   name of the 
  # file minus the extension (like ".txt" or ".db").  There is normally
  # no need to change the default.
  # Multiple FontPath entries are allowed (they are concatenated  together)
  # By default, Red Hat 6.0 and later now use a font server i  ndependent of
  # the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
  EndSection

  Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "synaptics"
        Load  "dri"
  EndSection

  Section "InputDevice"

  # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  #     Option  "Xleds"         "1 2 3"
  # To disable the XKEYBOARD extension, uncomment XkbDisable.
  #     Option  "XkbDisable"
  # To customise the XKB settings to suit your keyboard, modify the
  # lines below (which are the defaults).  For example, for a non-U.S.
  # keyboard, you will probably want to use:
  #     Option  "XkbModel"      "pc102"
  # If you have a US Microsoft Natural keyboard, you can use:
  #     Option  "XkbModel"      "microsoft"
  #
  # Then to change the language, change the Layout setting.
  # For example, a german layout can be obtained with:
  #     Option  "XkbLayout"     "de"
  # or:
  #     Option  "XkbLayout"     "de"
  #     Option  "XkbVariant"    "nodeadkeys"
  #
  # If you'd like to switch the positions of your capslock and
  # control keys, use:
  #     Option  "XkbOptions"    "ctrl:swapcaps"
  # Or if you just want both to be control, use:
  #     Option  "XkbOptions"    "ctrl:nocaps"
  # 
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        #Option     "XkbModel" "pc105"
        Option      "XkbLayout" "us_intl"
  EndSection

  Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5"
        Option      "Emulate3Buttons" "yes"
  EndSection

  Section "InputDevice"

  #     Option      "Emulate3Buttons" "yes"
        # Next line required only if you want to disable the mousepad   while typing:
        Identifier  "Synaptics"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mice"
        Option      "Protocol" "evdev"
        #Option     "Protocol" "auto-dev"
        Option      "SHMConfig" "on"
        # The rest of the options are NOT required, just a default similar
       #  to the Windows drivers with non of the extra features.
        Option      "LeftEdge" "1900"
        Option      "RightEdge" "5400"
        Option      "TopEdge" "1400"
        Option      "BottomEdge" "4500"
        Option      "FingerLow" "25"
        Option      "FingerHigh" "30"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.02"
        Option      "MaxSpeed" "0.18"
        Option      "AccelFactor" "0.0020"
  EndSection

  Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "HP A7217A Wide-Aspect"
        HorizSync    30.0 - 121.0
        VertRefresh  48.0 - 160.0
  #     ModeLine     "1600x1000" 133.1 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
  #     ModeLine     "1600x1024" 136.4 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
  #     ModeLine     "1920x1080" 172.8 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
  #     ModeLine     "1920x1200" 193.2 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
  #     ModeLine     "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
        Option      "dpms"
  # Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
  # 1152x864 @ 100Hz
  # Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864  865 868 915 +hsync +vsync
  # 1280x960 @ 75Hz
  # Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
  # 1280x960 @ 100Hz
  # Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017  +hsync +vsync
  # SXGA @ 100Hz
  # Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
  # SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
  # Modeline "GDM-1950"  109.62  1280 1336 1472 1720  1024 1024 1026 1062 -hsync -vsync
  # 1600x1000 @ 60Hz
  EndSection

  Section "Device"

  # ### generic DRI settings ###
  # === disable PnP Monitor  ===
    #Option                              "NoDDC"
  # === disable/enable XAA/DRI ===
  # ### FireGL DDX driver module specific settings ###
  # === Screen Management ===
  # Note: When OpenGL Overlay is enabled, Video Overlay
  #       will be disabled automatically
    # vendor=1002, device=3150
        Identifier  "ATI Graphics Adapter"
        Driver      "fglrx"
        Option      "no_accel" "no"
        Option      "no_dri" "no"
  # === misc DRI settings ===
        Option      "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
        Option      "DesktopSetup" "0x00000100"
        Option      "MonitorLayout" "AUTO, NONE"
        Option      "IgnoreEDID" "off"
        Option      "HSync2" "unspecified"
        Option      "VRefresh2" "unspecified"
        Option      "ScreenOverlap" "0"
  # === TV-out Management ===
        Option      "NoTV" "no"
        Option      "TVStandard" "NTSC-M"
        Option      "TVHSizeAdj" "0"
        Option      "TVVSizeAdj" "0"
        Option      "TVHPosAdj" "0"
        Option      "TVVPosAdj" "0"
        Option      "TVHStartAdj" "0"
        Option      "TVColorAdj" "0"
        Option      "GammaCorrectionI" "0x06419064"
        Option      "GammaCorrectionII" "0x00000000"
  # === OpenGL specific profiles/settings ===
        Option      "Capabilities" "0x00000800"
  # === Video Overlay for the Xv extension ===
        Option      "VideoOverlay" "on"
  # === OpenGL Overlay ===
        Option      "OpenGLOverlay" "on"
  # === Center Mode (Laptops only) ===
        Option      "CenterMode" "on"
  # === Pseudo Color Visuals (8-bit visuals) ===
        Option      "PseudoColorVisuals" "on"
  # === QBS Management ===
        Option      "Stereo" "off"
        Option      "StereoSyncEnable" "1"
  # === FSAA Management ===
        Option      "FSAAEnable" "yes"
        Option      "FSAAScale" "6"
        Option      "FSAADisableGamma" "no"
        Option      "FSAACustomizeMSPos" "no"
        Option      "FSAAMSPosX0" "0.000000"
        Option      "FSAAMSPosY0" "0.000000"
        Option      "FSAAMSPosX1" "0.000000"
        Option      "FSAAMSPosY1" "0.000000"
        Option      "FSAAMSPosX2" "0.000000"
        Option      "FSAAMSPosY2" "0.000000"
        Option      "FSAAMSPosX3" "0.000000"
        Option      "FSAAMSPosY3" "0.000000"
        Option      "FSAAMSPosX4" "0.000000"
        Option      "FSAAMSPosY4" "0.000000"
        Option      "FSAAMSPosX5" "0.000000"
        Option      "FSAAMSPosY5" "0.000000"
  # === Misc Options ===
        Option      "UseFastTLS" "1"
        Option      "BlockSignalsOnLock" "on"
        Option      "UseInternalAGPGART" "no"
        Option      "ForceGenericCPU" "no"
        Option      "KernelModuleParm" "agplock=0" # AGP locked   user pages: disabled
        BusID       "PCI:1:0:0"
  EndSection

  Section "Screen"
        Identifier "Screen0"
        Device     "ATI Graphics Adapter"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes    "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1920x1080" "1600x1000" "1400x1050" "1280x1024" "1280x960" "1152x864" 
        EndSubSection
  EndSection

  Section "DRI"
        Group        0
        Mode         0666
  EndSection


Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/34/tbping 

Comments
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

What about S-Video, VGA ?

optyxaz  at 14.Jul,2005 15:24
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

if you mean whether i've tried it, then, no i haven't yet

kedai  at 14.Jul,2005 15:30
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

I installed the drivers, but i cant start the graphical interface. Maybe something wrong with my monitor setup. Wich options do you use for vsync and hsync? Maybe you can help me, i am quite new to linux and its not nice starting work with a new system and that problems... . :)

maik  at 16.Jul,2005 03:38
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

to easily work through this, boot to level 3/init 3 so that we can ctrl-alt-backspace. but since you can;t go to windows, I assume you're on init 3 already.

first thing i'd check is the error log at /var/log/Xorg.log.0 (or some such). look for fglrx and see any mesages especially ones with (EE)

i use custom option

hsync 31.0-121.0
vsync 48.0-161.0


kedai  at 16.Jul,2005 11:04
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Hello, big thanks for your answer. I searched all over the Forums for answers but i found nothing wich helped me getting my screen running. So you are the only one i know with a running nx8220.
Perhaps with a little more discription you see what i am doing wrong. I looked at the log but there aren't any errors visible.
I run suse 9.3, and i installed the newest suse ati drivers. I boot in failsafe so i am in level 3. I guess also that i have set up the drivers correctly cause read a lot in forums about it. I set the drivers up with fglrxconfig. And also looked in the xorg.config wether all is correct. If i know start X the screen becomes blank, sometimes theres only a small line visible on the bottom off the screen. Fglrxinfo gives me the message "unable to open display". I tried to set the OPtion MonitorLayout to AUTO, LVDS, TMDS but same blank screen. Agp module is loaded in Kernel i looked for it so i set internalAGP to "no" - "Yes" doesnt work either. I also tried sax and accept the default setting - without success. :(
I am quite unhappy, since 3 day i try to get it working after i decided to give Linux a chance. I am really new to it and i dont know what to do now.
I know thats maybe not the right place for discussing such things, but i would be deeply appreciative if you can post some hints for me.

maik  at 16.Jul,2005 16:17
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

sorry to hear the many hurdles you have to jump.

i can only think of these to check:

- in level 3, as root, try modprobe fglrx. then lsmod|grep fgl and see whether it's loaded

- does using radeon (default with xorg) work?

- try and use my xorg.conf (in the entry above)

- it seems weird that xorg.log.0 has nothing :P

hth

kedai  at 16.Jul,2005 21:29
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Thx a lot for your reply. I will try to load frglx first, i mostly forgot it . When i start in failsafe, it isn't loaded anyways. Perhaps this is my problem. I tried your config few days ago, maybe it will work now. Have a nice day and thx again.

maik  at 18.Jul,2005 14:30
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

I tried exactly your configuration and even compiled and installed the actual X.Org release from source for my Debian sarge. However, my display still turns just black when starting the X server. The X.org log file shows no error and says that 3D acceleration has been activated. My nx8220 keeps responding when I log in via SSH but it totally crashes when I kill the X server or switch to another VT. Any idea? What version of X are you running? The only difference I was able to figure out is that I have the WSXGA panel with 1680x1050 while you seem to have the WUXGA version or am I wrong?

Daniel Mewes  at 19.Jul,2005 04:20
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Oh another user with that problem, i am a little bit happy right now that's not (only) my dumbness that i didnt get it working. Have the same problem like you Daniel as you can read, so if you find an answer it would be nice if you can inform me, i will do so too.

Maik  at 20.Jul,2005 04:12
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

i'm running fc3's xorg6.8.2, and i have no idea what may be wrong with your config.

try check this site http://soften.ktu.lt/~s72482/nx8220/ from another blog entry

grep fglrx Xorg.0.log
--
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
(II) fglrx(0): pEnt->device->identifier=0x92a3878
(II) fglrx(0): === [R200PreInit] === begin, [s]
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "NoAccel" "no"
(**) fglrx(0): Option "NoDRI" "no"
(**) fglrx(0): Option "Capabilities" "0x00000000"
(**) fglrx(0): Option "KernelModuleParm" "agplock=0"
(**) fglrx(0): Option "GammaCorrectionI" "0x06419064"
(**) fglrx(0): Option "GammaCorrectionII" "0x00000000"
(**) fglrx(0): Option "OpenGLOverlay" "on"
(**) fglrx(0): Option "VideoOverlay" "on"
(**) fglrx(0): Option "DesktopSetup" "0x00000201"
(**) fglrx(0): Option "MonitorLayout" "AUTO, NONE"
(**) fglrx(0): Option "HSync2" "unspecified"
(**) fglrx(0): Option "VRefresh2" "unspecified"
(**) fglrx(0): Option "ScreenOverlap" "0"
(**) fglrx(0): Option "IgnoreEDID" "off"
(**) fglrx(0): Option "UseInternalAGPGART" "no"
(**) fglrx(0): Option "Stereo" "off"
(**) fglrx(0): Option "StereoSyncEnable" "1"
(**) fglrx(0): Option "UseFastTLS" "0"
(**) fglrx(0): Option "BlockSignalsOnLock" "on"
(**) fglrx(0): Option "ForceGenericCPU" "no"
(**) fglrx(0): Option "CenterMode" "off"
(**) fglrx(0): Option "FSAAScale" "6"
(**) fglrx(0): Option "FSAAEnable" "yes"
(**) fglrx(0): Option "FSAADisableGamma" "no"
(**) fglrx(0): Option "FSAACustomizeMSPos" "no"
(**) fglrx(0): Option "FSAAMSPosX0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX5" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY5" "0.000000"
(**) fglrx(0): Option "NoTV" "no"
(**) fglrx(0): Option "TVStandard" "NTSC-M"
(**) fglrx(0): Option "TVHSizeAdj" "0"
(**) fglrx(0): Option "TVVSizeAdj" "0"
(**) fglrx(0): Option "TVHPosAdj" "0"
(**) fglrx(0): Option "TVVPosAdj" "0"
(**) fglrx(0): Option "TVHStartAdj" "0"
(**) fglrx(0): Option "TVColorAdj" "0"
(**) fglrx(0): Option "PseudoColorVisuals" "on"
(**) fglrx(0): Qbs disabled
(==) fglrx(0): FAST_SWAP disabled
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(**) fglrx(0): Gamma Correction for I is 0x06419064
(**) fglrx(0): Gamma Correction for II is 0x00000000
(==) fglrx(0): Buffer Tiling is ON
(II) fglrx(0): initializing int10
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(**) fglrx(0): Option "mtrr" "off"
(--) fglrx(0): Chipset: "MOBILITY RADEON X600 (M24 3150)" (Chipset = 0x3150)
(--) fglrx(0): (PciSubVendor = 0x103c, PciSubDevice = 0x0934)
(--) fglrx(0): board vendor info: third party graphics adapter - NOT original ATI
(--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
(--) fglrx(0): MMIO registers at 0xc8800000
(--) fglrx(0): ChipExtRevID = 0x00
(--) fglrx(0): ChipIntRevID = 0x03
(--) fglrx(0): VideoRAM: 131072 kByte (64-bit SDR SDRAM)
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(II) fglrx(0): I2C bus "DDC" initialized.
(II) fglrx(0): Connector Layout from BIOS --------
(II) fglrx(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) fglrx(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-4
(**) fglrx(0): MonitorLayout Option:
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 2 with Monitor Type 0
(II) fglrx(0): Primary head:
(II) fglrx(0): Secondary head:
(II) fglrx(0):
(**) fglrx(0): Screen Overlap 0 pixel
(WW) fglrx(0): Only single display is connected, DesktopOption will be ignored
(II) fglrx(0): DesktopSetup 0x0000
(II) fglrx(0): Panel ID string: LPL
(II) fglrx(0): Panel Size from BIOS: 1680x1050
(**) fglrx(0): PseudoColor visuals enabled
(**) fglrx(0): Pseudo Color Vsuals enabled
(**) fglrx(0): OpenGL Overlay enabled
(II) fglrx(0): PLL parameters: rf=2700 rd=6 min=20000 max=40000
(==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
(**) fglrx(0): Center Mode is disabled
(==) fglrx(0): TMDS coherent mode is enabled
(WW) fglrx(0): Mode 1600x1200 is out of range.
(II) fglrx(0): Valid mode using on-chip RMX: 1600x1000
(II) fglrx(0): Valid mode using on-chip RMX: 1400x1050
(II) fglrx(0): Valid mode using on-chip RMX: 1280x1024
(II) fglrx(0): Valid mode using on-chip RMX: 1280x960
(II) fglrx(0): Valid mode using on-chip RMX: 1152x864
(II) fglrx(0): Valid mode using on-chip RMX: 1024x768
(II) fglrx(0): Valid mode using on-chip RMX: 800x600
(II) fglrx(0): Valid mode using on-chip RMX: 640x480
(II) fglrx(0): Total 8 valid mode(s) found.
(--) fglrx(0): Virtual size is 1600x1050 (pitch 1600)
(**) fglrx(0): *Mode "1600x1000": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1600x1000" 122.00 1600 1712 1776 1904 1000 1051 1054 1066
(**) fglrx(0): *Mode "1400x1050": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1400x1050" 122.00 1400 1712 1776 1904 1050 1051 1054 1066
(**) fglrx(0): *Mode "1280x1024": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1280x1024" 122.00 1280 1712 1776 1904 1024 1051 1054 1066
(**) fglrx(0): *Mode "1280x960": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1280x960" 122.00 1280 1712 1776 1904 960 1051 1054 1066
(**) fglrx(0): *Mode "1152x864": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1152x864" 122.00 1152 1712 1776 1904 864 1051 1054 1066
(**) fglrx(0): *Mode "1024x768": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "1024x768" 122.00 1024 1712 1776 1904 768 1051 1054 1066
(**) fglrx(0): *Mode "800x600": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "800x600" 122.00 800 1712 1776 1904 600 1051 1054 1066
(**) fglrx(0): *Mode "640x480": 122.0 MHz (scaled from 0.0 MHz), 64.1 kHz, 60.1 Hz
(II) fglrx(0): Modeline "640x480" 122.00 640 1712 1776 1904 480 1051 1054 1066
(==) fglrx(0): DPI set to (75, 75)
(**) fglrx(0): NoAccel = NO
(==) fglrx(0): HPV inactive
(==) fglrx(0): FSAA enabled: NO
(**) fglrx(0): FSAA Gamma enabled
(**) fglrx(0): FSAA Multisample Position is fix
(**) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(II) fglrx(0): Depth moves disabled by default
(**) fglrx(0): Capabilities: 0x00000000
(**) fglrx(0): cpuFlags: 0x8000001d
(**) fglrx(0): cpuSpeedMHz: 0x000006c1
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(**) fglrx(0): KernelModuleParm: "agplock=0"
(**) fglrx(0): UseFastTLS=0
(**) fglrx(0): BlockSignalsOnLock=1
(==) fglrx(0): EnablePrivateBackZ = NO
(II) fglrx(0): UMM area: 0xc0873000 (size=0x0777d000)
(II) fglrx(0): driver needs X.org 6.8.x
(II) fglrx(0): detected X.org 6.8.2
(II) fglrx(0): doing DRIScreenInit
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xf8b21000
(II) fglrx(0): [drm] mapped SAREA 0xf8b21000 to 0xb7e9a000
(II) fglrx(0): [drm] framebuffer handle = 0xc0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.14.13
(II) fglrx(0): Date: Jun 8 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.11-prep
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xc8800000
(II) fglrx(0): [drm] ATIGART Table handle = 0xc7ff0000
(II) fglrx(0): [pcie] 65536 kB allocated with handle 0x00000000
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(WW) fglrx(0): [drm] using DRM defaults (QS_ID=9650ffff)
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xf91d6000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): front overlay: 0xc0ee5000
(II) fglrx(0): back overlay: 0xc10b3000
(II) fglrx(0): video overlay: 0xc1281000
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x00873000
(II) fglrx(0): FBMM initialized for area (0,0)-(1600,1384)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1050) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1056)
(II) fglrx(0): Largest offscreen area available: 1600 x 320
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled

kedai  at 20.Jul,2005 09:14
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

get http://h10018.www1.hp.com/wwsolutions/linux/products/clients/HP_whitepaper_Mobiles_Linux_062205.pdf

on page 7, it says to set MonitorLayout to "AUTO,AUTO" or it will result in a blank screen

not sure why mine works with either "AUTO, NONE" or "AUTO,AUTO"..?

kedai  at 20.Jul,2005 11:01
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

The MonitorLayout options dont solve the Problem.
The options are:

TMDS for DVI monitors
CRT for CRT monitors
STV for TV Out
LVDS for Laptop Panels

I tried that one in the white paper and also LVDS and TMDS without success even for primary and secondary screen. But there are users out there with same problem, who got a working x window with changing this variable. Maybe you have a look on it Daniel?!

Maik  at 20.Jul,2005 15:05
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

See also:

http://forums.suselinuxsupport.de/index.php?showtopic=16798

where I briefly described the (successful) installation of fglrx on HP nx8220 with Suse 9.2.

Best, I.V.

i.v.  at 20.Jul,2005 23:01
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Thx a lot for that really usefull link. Now i am a little bit more reliant that it will work soon. :)

maik  at 21.Jul,2005 01:48
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Thank you for the help. I tried the following things:
- Installed newest BIOS version (downloaded the floppy image and burned it onto a DVD as floppy emulation)
- Changed the h- and vsync values as mentioned in the HP document
- Changed the MonitorLayout do different combinations
- Disabled DDC and so on (applied settings like on http://forums.suselinuxsupport.de/index.php?showtopic=16798)
- Compiled my kernel with FB support and the radeon driver, since I think that SuSE uses a FB console, doesn't it? The console looked very nice, but it did not help solving the problem and X.Org's radeon driver stopped working (system crashed a few seconds after entering X) and so I disabled it again.

However, it all did not help. I also tried different kernel versions, with APIC disabled and enabled and some more options in different states. Nothing seemed to help solving the problem. :-(

It would be very kind if someone with a working fglrx and dri could send me his kernel config (E-Mail: danielmewes@onlinehome.de). Thank you in advance!

Regards,
Daniel Mewes

Daniel Mewes  at 21.Jul,2005 19:35
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

I've finally got it working! The ATI driver seems to has problems with much memory and cannot handle the 1024MB in my NX8220. When I pass the mem=768M option to my kernel it loads without problems. Sadly Software Suspend 2 does not work anymore, I'm currently shutting down X every time I use suspend...

Thank you for the help and especially Bakthiar, who sent me his kernel config.

Regards,
Daniel Mewes

Daniel Mewes  at 28.Jul,2005 19:35
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

great to hear you got that working :)

however, i have 2G and don;t need to pass any mem= option and have not experienced any problem.

haven't tried susp2, but have tried susp that comes with kernel 2.6.12 .. but barely tested it.

kedai  at 29.Jul,2005 14:56
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

Interesting that it works on your notebook with 2Gig of RAM. I'm wondering what the difference may be between our two NX8220s. However problems of the ATI driver with much memory are also reported on other sites (http://www.thinkwiki.org/wiki/Fglrx), so I still thing that this is the reason and hope that ATI will fix this for the few machines which seem to make problems with much memory and Fglrx.

Regards,
Daniel Mewes

Daniel Mewes  at 04.Aug,2005 19:01
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

With the new ATI driver 8.16.20 everything works fine now with the whole memory activated!
I only had to create a new config with fglrxconfig to get X work.

Regards,
Daniel Mewes

Daniel Mewes  at 21.Aug,2005 17:00
Re: Linux on nx8220: finally, 3D direct rendering with fglrx!

thanks for the heads up.

will try it later with swsusp (2.6.12) and see if it resumes ok.

currently, i got a white screen. that's it :P

kedai  at 22.Aug,2005 19:51
useful article

thanks for sharing this article regarding linux. i was really in need of this info.

ccda test

mike  at 06.Dec,2010 15:28
Post a comment