Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang
On Fri, 2004-12-31 at 02:54 -0500, Branden Robinson wrote: > On Mon, Dec 20, 2004 at 11:27:50PM -0500, Michel Dänzer wrote: > > No, but only the first 128 MB of video RAM are directly accessible. > > Unfortunately, the radeon driver doesn't know how to deal with this yet; > > until that's fixed, the amount of video RAM has to be limited to 128 MB > > using the VideoRam directive. > > How general/specific is this problem? > > Does it apply to just a few models of Radeon card? No. > Can we expect it to apply to all future Radeon cards that have more > than 128MB of RAM on them? I'm not sure, but I suspect so. > Is this a problem on any non-ATI video cards? No idea. -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast| http://svcs.affero.net/rm.php?r=daenzer
Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang
On Mon, Dec 20, 2004 at 11:27:50PM -0500, Michel Dänzer wrote: > No, but only the first 128 MB of video RAM are directly accessible. > Unfortunately, the radeon driver doesn't know how to deal with this yet; > until that's fixed, the amount of video RAM has to be limited to 128 MB > using the VideoRam directive. How general/specific is this problem? Does it apply to just a few models of Radeon card? Can we expect it to apply to all future Radeon cards that have more than 128MB of RAM on them? Is this a problem on any non-ATI video cards? -- G. Branden Robinson| What cause deserves following if Debian GNU/Linux | its adherents must bury their [EMAIL PROTECTED] | opposition with lies? http://people.debian.org/~branden/ | -- Noel O'Connor signature.asc Description: Digital signature
Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang
On Mon, 2004-12-20 at 02:59 -0500, Branden Robinson wrote: > > It sounds like the ati/radeon driver in XFree86 is simply misdetecting the > amount of RAM on the display adapter. No, but only the first 128 MB of video RAM are directly accessible. Unfortunately, the radeon driver doesn't know how to deal with this yet; until that's fixed, the amount of video RAM has to be limited to 128 MB using the VideoRam directive. -- Earthling Michel Dänzer | Debian (powerpc), X and DRI developer Libre software enthusiast| http://svcs.affero.net/rm.php?r=daenzer
Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang
Mr. Kolpackov, If you're still experiencing this problem, could you please file a bug against the xserver-xfree86 package using the "reportbug" command from the package of the same name? If you could include this message (with your quoted material below) as well as the /var/log/XFree86.0.log that you get when using the fglrx driver, that would be much appreciated. It sounds like the ati/radeon driver in XFree86 is simply misdetecting the amount of RAM on the display adapter. On Thu, Dec 02, 2004 at 04:36:01PM -0600, Boris Kolpackov wrote: > Boris Kolpackov <[EMAIL PROTECTED]> writes: > > > I am having problems with above-mentioned card. After startx the box > > just hangs (black screen) with the only way out is through power-down > > (C-A-Backspace doesn't work). There is no log in /var/log/XFree86.0.log. > > > > Here is some info: > > > > * Card is VisionTek eXtasy Radeon 9200 256MB PCI DVI/VGA/SV > > DeviceID is 5961 > > > > * XFree86-4.3.0.1 is from Debian unstable. I have disabled DRI (see config > > below). > > > > > > * I am running linux kernel 2.6.4. I have disabled AGP/Framebuffer. > > > > > > * Driver from ATI v3.14.6 (for 4.3.0) seem to work ok. > > > > * I tried various options for radeon driver (you can see them in config > > file below) without any difference. > > Meantime I continued poking the radeon driver. Since after the startx > the box is totally wasted I decide to ssh from a remote box and run > XFree86 -verbose. This way I at least could capture some output. The whole > thing appeared to hang right after > > (--) Depth 24 pixmap format 32 bpp > > and just before > > (II) do I need RAC? No, I don't. > > So I started comparing output from ATI driver to the one from XFree's > radeon. All important things seemed identical (like addresses of MMIO regs, > V_BIOS segment, BIOS, Linear Framebuffer, etc) except the amount of memory > the driver detected. ATI's driver reported 128MB (64bit DDR SDRAM) while > radeon reported 256 (128bit DDR SDRAM). So I added > > VideoRam 131072 > > to the video card section of XF86Config-4. And everything just worked. > > Has anybody else experienced anything like this? > > hth, > -boris > > > > Section "Files" > > FontPath"unix/:7110"# local font server > > # if the local font server has problems, we can fall back on these > > # FontPath "/usr/lib/X11/fonts/Type1" > > # FontPath "/usr/lib/X11/fonts/CID" > > # FontPath "/usr/lib/X11/fonts/Speedo" > > # FontPath "/usr/lib/X11/fonts/misc" > > # FontPath "/usr/lib/X11/fonts/cyrillic" > > # FontPath "/usr/lib/X11/fonts/100dpi" > > # FontPath "/usr/lib/X11/fonts/75dpi" > > EndSection > > > > Section "Module" > > # Load"GLcore" > > Load"bitmap" > > Load"dbe" > > Load"ddc" > > # Load"dri" > > Load"extmod" > > Load"freetype" > > # Load"glx" > > Load"int10" > > Load"record" > > Load"speedo" > > Load"type1" > > Load"vbe" > > EndSection > > > > Section "InputDevice" > > Identifier "Generic Keyboard" > > Driver "keyboard" > > Option "CoreKeyboard" > > Option "XkbRules" "xfree86" > > Option "XkbModel" "pc104" > > Option "XkbLayout" "ru" > > Option "XkbVariant""phonetic" > > Option "XkbOptions""grp:toggle" > > EndSection > > > > Section "InputDevice" > > Identifier "Configured Mouse" > > Driver "mouse" > > Option "CorePointer" > > Option "Device""/dev/psaux" > > #Option "Device""/dev/input/mice" > > Option "Protocol" "MouseManPlusPS/2" > > Option "Emulate3Buttons" "false" > > Option "ZAxisMapping" "4 5" > > EndSection > > > > Section "Device" > > Identifier "Generic Video Card" > > #Driver "fglrx" > > Driver "radeon" > > #ChipID 0x514D > > #ChipID 0x4966 > > #BusID "PCI:5:14:0" > > #Option "NoAccel" "true" > > #Option "ForcePCIMode" "true" > > #Option "BusType" "PCI" > > EndSection > > > > Section "Monitor" > > Identifier "Generic Monitor" > > HorizSync 30-75 > > VertRefresh 50-85 > > Option "DPMS" > > EndSection > > > > Section "Screen" > > Identifier "Default Screen" > > Device "Generic Video Card" > > Monitor "Generic Monitor" > > DefaultDepth24 > > > > SubSection "Display" > > Depth 24 > > Modes "1600x1200" "800x600" "640x480" > > EndSubSection > > EndSection > > > > Section "ServerLayout" > > Identifier "Default Layout" > > Screen "Default Screen" > >
Re: ATI Radeon 9200 256MB PCI xfree86-4.3.0.1 - hang
Boris Kolpackov <[EMAIL PROTECTED]> writes: > I am having problems with above-mentioned card. After startx the box > just hangs (black screen) with the only way out is through power-down > (C-A-Backspace doesn't work). There is no log in /var/log/XFree86.0.log. > > Here is some info: > > * Card is VisionTek eXtasy Radeon 9200 256MB PCI DVI/VGA/SV > DeviceID is 5961 > > * XFree86-4.3.0.1 is from Debian unstable. I have disabled DRI (see config > below). > > > * I am running linux kernel 2.6.4. I have disabled AGP/Framebuffer. > > > * Driver from ATI v3.14.6 (for 4.3.0) seem to work ok. > > * I tried various options for radeon driver (you can see them in config > file below) without any difference. Meantime I continued poking the radeon driver. Since after the startx the box is totally wasted I decide to ssh from a remote box and run XFree86 -verbose. This way I at least could capture some output. The whole thing appeared to hang right after (--) Depth 24 pixmap format 32 bpp and just before (II) do I need RAC? No, I don't. So I started comparing output from ATI driver to the one from XFree's radeon. All important things seemed identical (like addresses of MMIO regs, V_BIOS segment, BIOS, Linear Framebuffer, etc) except the amount of memory the driver detected. ATI's driver reported 128MB (64bit DDR SDRAM) while radeon reported 256 (128bit DDR SDRAM). So I added VideoRam 131072 to the video card section of XF86Config-4. And everything just worked. Has anybody else experienced anything like this? hth, -boris > Section "Files" > FontPath"unix/:7110"# local font server > # if the local font server has problems, we can fall back on these > # FontPath "/usr/lib/X11/fonts/Type1" > # FontPath "/usr/lib/X11/fonts/CID" > # FontPath "/usr/lib/X11/fonts/Speedo" > # FontPath "/usr/lib/X11/fonts/misc" > # FontPath "/usr/lib/X11/fonts/cyrillic" > # FontPath "/usr/lib/X11/fonts/100dpi" > # FontPath "/usr/lib/X11/fonts/75dpi" > EndSection > > Section "Module" > # Load"GLcore" > Load"bitmap" > Load"dbe" > Load"ddc" > # Load"dri" > Load"extmod" > Load"freetype" > # Load"glx" > Load"int10" > Load"record" > Load"speedo" > Load"type1" > Load"vbe" > EndSection > > Section "InputDevice" > Identifier "Generic Keyboard" > Driver "keyboard" > Option "CoreKeyboard" > Option "XkbRules" "xfree86" > Option "XkbModel" "pc104" > Option "XkbLayout" "ru" > Option "XkbVariant""phonetic" > Option "XkbOptions""grp:toggle" > EndSection > > Section "InputDevice" > Identifier "Configured Mouse" > Driver "mouse" > Option "CorePointer" > Option "Device""/dev/psaux" > #Option "Device""/dev/input/mice" > Option "Protocol" "MouseManPlusPS/2" > Option "Emulate3Buttons" "false" > Option "ZAxisMapping" "4 5" > EndSection > > Section "Device" > Identifier "Generic Video Card" > #Driver "fglrx" > Driver "radeon" > #ChipID 0x514D > #ChipID 0x4966 > #BusID "PCI:5:14:0" > #Option "NoAccel" "true" > #Option "ForcePCIMode" "true" > #Option "BusType" "PCI" > EndSection > > Section "Monitor" > Identifier "Generic Monitor" > HorizSync 30-75 > VertRefresh 50-85 > Option "DPMS" > EndSection > > Section "Screen" > Identifier "Default Screen" > Device "Generic Video Card" > Monitor "Generic Monitor" > DefaultDepth24 > > SubSection "Display" > Depth 24 > Modes "1600x1200" "800x600" "640x480" > EndSubSection > EndSection > > Section "ServerLayout" > Identifier "Default Layout" > Screen "Default Screen" > InputDevice "Generic Keyboard" > InputDevice "Configured Mouse" > EndSection > > Section "DRI" > Mode0666 > EndSection >