Re: [Xpert]Re: [Dri-devel] r200 and libxaa
On Sun, 20 Oct 2002, Jens Owen wrote: > Mark Vojkovich wrote: > > On 21 Oct 2002, Michel Dänzer wrote: > >> > >>The problem appeared when I merged radeon driver fixes by Kevin E. > >>Martin from XFree86 CVS to DRI CVS. They involved adding new fields to > >>the XaaInfoRec struct; the fact that they were added in the middle of > >>that struct caused the DRI binary snapshots, which were built against > >>the new version of that struct but ran with an XAA module built against > >>the old version, to crash and burn. I moved the new fields to the end of > >>the struct, bumped the minor XAA version and added code to the radeon > >>driver to only access the new fields if it's dealing with the new XAA. > >>That worked as expected when I tested it here by copying libxaa.a from > >>my Debian 4.2 installation into my DRI tree, which makes me suspect that > >>the remaining problem with the snapshots is due to toolchain > >>incompatibilities or something along those lines. > >> > > > > > >I don't know why people do this. This change just broke NVIDIA's > > and ATI's binary drivers too. Any changes to structures that are > > referenced by drivers need to go at the end of the structures. > > Mark, > > I'd like to see driver level binary compatability continue, too. I'm > not certain if Michael's changes have made it back to XFree86's CVS. I > posted to this thread (and copied Xpert) because I read some posts to > dri-devel that implied Michel's fixes weren't enough to restore driver > compatability (old drivers, new XFree86 core and modules). If I'm > mistaken, please let us know. I just changed the header file in CVS to move the changes to the end. I think that's all that's needed to restore binary compatibility with the old XAA module. I don't see anything else in there that has changed recently that would break things. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Re: [Dri-devel] r200 and libxaa
Mark Vojkovich wrote: On 21 Oct 2002, Michel Dänzer wrote: On Mon, 2002-10-21 at 02:05, Jens Owen wrote: José Fonseca wrote: On Wed, Oct 16, 2002 at 04:52:59PM +1000, Simon Bland wrote: I've seen ppl mention the libxaa.a from Fonseca seems to fix the problem with the screen blanking. Thing is I can't seem to find this libxaa.. Can anyone point me in the right direction for this? And can anyone confirm that this does seem to fix the screen blanking problem with the Radeon 8500. Initially I hosted on my website because there was no certain that it would help. But now that I know it does I've moved it to http://dri.sf.net/snapshots/extras/libxaa.a.bz2 and wrote a README.Sig11 on http://dri.sf.net/snapshots/ . Can anyone on Xpert comment on XAA binary incompatability? Does this just affect Forward compatability, i.e. older X environments with newer binary drivers? The problem appeared when I merged radeon driver fixes by Kevin E. Martin from XFree86 CVS to DRI CVS. They involved adding new fields to the XaaInfoRec struct; the fact that they were added in the middle of that struct caused the DRI binary snapshots, which were built against the new version of that struct but ran with an XAA module built against the old version, to crash and burn. I moved the new fields to the end of the struct, bumped the minor XAA version and added code to the radeon driver to only access the new fields if it's dealing with the new XAA. That worked as expected when I tested it here by copying libxaa.a from my Debian 4.2 installation into my DRI tree, which makes me suspect that the remaining problem with the snapshots is due to toolchain incompatibilities or something along those lines. I don't know why people do this. This change just broke NVIDIA's and ATI's binary drivers too. Any changes to structures that are referenced by drivers need to go at the end of the structures. Mark, I'd like to see driver level binary compatability continue, too. I'm not certain if Michael's changes have made it back to XFree86's CVS. I posted to this thread (and copied Xpert) because I read some posts to dri-devel that implied Michel's fixes weren't enough to restore driver compatability (old drivers, new XFree86 core and modules). If I'm mistaken, please let us know. -- /\ Jens Owen/ \/\ _ [EMAIL PROTECTED] /\ \ \ Steamboat Springs, Colorado ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Thinkpad T30 ATI Radeon Mobility 7500 @ 1050X1400 small font
> From: [EMAIL PROTECTED] > Sender: [EMAIL PROTECTED] > Date: Sun, 20 Oct 2002 01:11:34 EDT > > Is anyone able to help with me with the issue of a 14.1" monitor at > 1050X1400 resolution causing the font way too small. The option is > to set the resolution lower, IE 768X1024 which causes the screen > font to be very hazy and out of focus... Is there such a thing as > operating the screen clearly at anything but the max 1050X1400 > resolution? Thanks. I also have a T30 with the hi-res display. I think it's great! But I can believe that the fonts may be kinda small at that resolution. I like them for most things, but I often increase my XEmacs font size to 14 to make it easier to read. I think that's the only solution, really. Most X apps allow you to choose fonts, including the gnome terminal. select a font you like. The one place you might be struck is the web browser. Some pages built with FrontPage have a problem with the fonts displayed by any browser other than Explorer. This is actually a Microsoft bug in FP that is fixed by a deliberate "fix" in Explorer. But other browsers follow proper HTML and display itsy-bitsy fonts. There is no fix for this. One work-around would be to define several display modes in your XF86Config file. I define 1400x1050, 1280x1024, 1024x768, and 800x600. You can switch "on the fly" by typing or . This is complicated a bit on a laptop in that you don't have a keypad. You need to enable NumLock to place the on the '?' key and the is on the ';' key. NumLock is usually activated on the T30 with , but I found my default X keymap did not allow this, so I had to enter the command: xmodmap -e "keycode 78 = Scroll_Lock NumLock" to set it up to match the markings. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: [EMAIL PROTECTED] Phone: +1 510 486-8634 ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]X-Programming
Quoting Chris Humphries <[EMAIL PROTECTED]>: > never coded xlib stuff with xt and xaw or even looked at > any code snippits of it, that was interesting. > > who uses xlib and xt nowadays with gtk or qt? (survey?) > heh Xt isn't a "real" toolkit, it is an abstraction layer, somewhat like GDK is to GTK. It does all the primitives tasks for the toolkit, things like event handling/filtering, timeouts, input/signal/resource management, basic window geometry handling, etc. Unfortunately there aren't too many toolkits based on Xt, basically Motif and Xaw. I use Xaw, and have been mantaining the version distributed with XFree86 for some years. Since I am working alone on it (mostly in my free time), there aren't too many improvements because I am only working in the Text widget and xedit. But anybody is free to help. There is a really large amount of things to be done, from simple tasks like optimization and bug hunting, to some complex tasks like making Xaw multi-thread safe or fully internationalized. There are some relatively complex things that I would like to see, including support to render (transparent widgets and antialised text support wouldn't be a bad idea), xcursor, etc. > thank, > chris > > Bharathi S writes: > > Today at 4:47pm, Yo mailed to Me too : > > > > > Hello, I am a now Spanish :) member of the list and i wanted info > about > > > programming in x11: if in archives list there are some tutorials or > some > > > web. > > > > http://www.kerguelen.org/x/index.html > > http://www.rahul.net/kenton/ > > http://www.tronche.com/gui/x/xlib-tutorial/ > > > > HTH, Enjoy :) > > -- > > Bharathi S, IndLinuX Team, (__) > > DONLab, TeNeT Group, oo / > > IIT-Madras, Chennai-INDIA. (_/\ Paulo ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Overriding a graphics card
On Sun, 20 Oct 2002, John Tapsell wrote: > > The card needs an interrupt for graphics mode. Does one show up in > /proc/pci? > > If it doesn't have one, that would be a motherboard bios bug. Perhaps > > there's a newer bios available for it? Which motherboard was this? > > I will check in a minute.. > > It's a PC-Chips motherboard with sis chips. There are bios updates, but > I > don't have a dos boot disk to boot into to flash the bios heh. > > Can I flash an ami bios from linux? :) Unfortunately, the very unreal-time behavior of Linux is unsuited to bios flashing. You could write a flasher, but it would probably ruin them much of the time. If this is a common problem, I'd expect google to have some answers. In particular a search for the mother board model, TNT2 and "interrupt" or something like that. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Re: [Dri-devel] r200 and libxaa
On 21 Oct 2002, Michel Dänzer wrote: > On Mon, 2002-10-21 at 02:05, Jens Owen wrote: > > José Fonseca wrote: > > > On Wed, Oct 16, 2002 at 04:52:59PM +1000, Simon Bland wrote: > > > > > >> I've seen ppl mention the libxaa.a from Fonseca seems to fix the problem > > >> with the screen blanking. Thing is I can't seem to find this libxaa.. > > >> Can anyone point me in the right direction for this? And can anyone > > >> confirm that this does seem to fix the screen blanking problem with the > > >> Radeon 8500. > > >> > > > > > > Initially I hosted on my website because there was no certain that it > > > would help. But now that I know it does I've moved it to > > > http://dri.sf.net/snapshots/extras/libxaa.a.bz2 and wrote a README.Sig11 > > > on http://dri.sf.net/snapshots/ . > > > > Can anyone on Xpert comment on XAA binary incompatability? Does this > > just affect Forward compatability, i.e. older X environments with newer > > binary drivers? > > The problem appeared when I merged radeon driver fixes by Kevin E. > Martin from XFree86 CVS to DRI CVS. They involved adding new fields to > the XaaInfoRec struct; the fact that they were added in the middle of > that struct caused the DRI binary snapshots, which were built against > the new version of that struct but ran with an XAA module built against > the old version, to crash and burn. I moved the new fields to the end of > the struct, bumped the minor XAA version and added code to the radeon > driver to only access the new fields if it's dealing with the new XAA. > That worked as expected when I tested it here by copying libxaa.a from > my Debian 4.2 installation into my DRI tree, which makes me suspect that > the remaining problem with the snapshots is due to toolchain > incompatibilities or something along those lines. > I don't know why people do this. This change just broke NVIDIA's and ATI's binary drivers too. Any changes to structures that are referenced by drivers need to go at the end of the structures. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Re: [Dri-devel] r200 and libxaa
On Sun, 20 Oct 2002, Jens Owen wrote: > José Fonseca wrote: > > On Wed, Oct 16, 2002 at 04:52:59PM +1000, Simon Bland wrote: > > > >> I've seen ppl mention the libxaa.a from Fonseca seems to fix the problem > >> with the screen blanking. Thing is I can't seem to find this libxaa.. > >> Can anyone point me in the right direction for this? And can anyone > >> confirm that this does seem to fix the screen blanking problem with the > >> Radeon 8500. > >> > > > > Initially I hosted on my website because there was no certain that it > > would help. But now that I know it does I've moved it to > > http://dri.sf.net/snapshots/extras/libxaa.a.bz2 and wrote a README.Sig11 > > on http://dri.sf.net/snapshots/ . > > Can anyone on Xpert comment on XAA binary incompatability? Does this > just affect Forward compatability, i.e. older X environments with newer > binary drivers? I don't know why you'd be using a different XAA module in the first place. There haven't been any known bugs in XAA in a long time. I'm not sure we have any compatibility rules for anything other than driver interfaces. XAA interacts with more than the driver, it interacts with other modules and the core server. There may be some explicit assumptions that you are not mixing core modules. Precautions have not been made to allow mixing of an XAA module with a server of a different vintage. As for drivers, you can use a driver older than the server and it will generally work. You can use a driver newer than the server only if the driver doesn't use any entry points or exports newer than the server, and even if that part is safe you usually need to pass the -ignoreABI flag. But I don't think we have any goals of binary compability between core modules. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Overriding a graphics card
> The card needs an interrupt for graphics mode. Does one show up in /proc/pci? > If it doesn't have one, that would be a motherboard bios bug. Perhaps > there's a newer bios available for it? Which motherboard was this? I will check in a minute.. It's a PC-Chips motherboard with sis chips. There are bios updates, but I don't have a dos boot disk to boot into to flash the bios heh. Can I flash an ami bios from linux? :) > > > > > How do I assign an interrupt to the nvidia card? > > > > My bios has no options for this. The option for "plug and play OS" is > > set > > to "N", and "reserver IRQ for PCI card" is set to "Y". > >That's about how I'd expect you to go about doing it. > Have you tried changing which PCI slot it's in? That helps get a > different interrupt sometimes. Yeah I've tried moving it around. I've also kept it away from the top slot (Since that is near the AGP slot, and probably shares an IRQ with it) -- msg09955/pgp0.pgp Description: PGP signature
Re: [Xpert]Overriding a graphics card
On Sun, Oct 20, 2002 at 09:11:23PM -0400, Yiqun Wang wrote: > In my BIOS, there is an option to choose "first boot video" (or similar). > I choose "PCI" instead of "AGP" to post on my pci video card. As a matter > of fact, most of the time it takes a few reboot before it posts on PCI. I also have this question, and choose "PCI". However this doesn't disable the second card or anything, just prioritises the PCI card. > Yiqun Wang > > > On Sun, Oct 20, 2002 at 02:56:00PM -0700, Mark Vojkovich wrote: > >> On Sun, 20 Oct 2002, John Tapsell wrote: > >> > >> > On Sun, Oct 20, 2002 at 02:33:05PM -0700, Mark Vojkovich wrote: > >> > >Are you able to disable the SiS card from the bios? You > >> > > should try that if you haven't already. > >> > > >> > Being crappy SiS - you can't. And no, there's no jumpers on the > >> mobo. > >> > >>I assume you got it to post to the nvidia card at least (console > >> comes up on the nvidia card)? You could try moving the slot that the > >> nvidia card is in, or maybe just reserve the interrupt that it is > >> using. I'm assuming you have a shared interrupt or something that is > >> making things unhappy. > > > > The bios comes up on the nvidia card. Linux boots on the nvidia card. > > The framebuffer works on the nvidia card. But X doesn't. (I haven't > > tried a framebuffered X) > > > > When I cat /proc/interrupts, I see the SiS is sharing an interrupt with > > the usb and ethernet card - 11. But I see no mention of the nvidia > > card. > > > > How do I assign an interrupt to the nvidia card? > > > > My bios has no options for this. The option for "plug and play OS" is > > set to "N", and "reserver IRQ for PCI card" is set to "Y". > > > > Thanks > > > > > >> > >> > >>Mark. > >> ___ > >> Xpert mailing list > >> [EMAIL PROTECTED] > >> http://XFree86.Org/mailman/listinfo/xpert > > > > -- > > > > ___ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert -- msg09954/pgp0.pgp Description: PGP signature
Re: [Xpert]Overriding a graphics card
On Sun, 20 Oct 2002, John Tapsell wrote: > On Sun, Oct 20, 2002 at 02:56:00PM -0700, Mark Vojkovich wrote: > > On Sun, 20 Oct 2002, John Tapsell wrote: > > > > > On Sun, Oct 20, 2002 at 02:33:05PM -0700, Mark Vojkovich wrote: > > > >Are you able to disable the SiS card from the bios? You > > > > should try that if you haven't already. > > > > > > Being crappy SiS - you can't. And no, there's no jumpers on the > mobo. > > > >I assume you got it to post to the nvidia card at least (console > > comes up on the nvidia card)? You could try moving the slot that > > the nvidia card is in, or maybe just reserve the interrupt that it > > is using. I'm assuming you have a shared interrupt or something > > that is making things unhappy. > > The bios comes up on the nvidia card. Linux boots on the nvidia card. > The framebuffer works on the nvidia card. But X doesn't. (I haven't > tried > a framebuffered X) > > When I cat /proc/interrupts, I see the SiS is sharing an interrupt with > the > usb and ethernet card - 11. But I see no mention of the nvidia card. The card needs an interrupt for graphics mode. Does one show up in /proc/pci? If it doesn't have one, that would be a motherboard bios bug. Perhaps there's a newer bios available for it? Which motherboard was this? > > How do I assign an interrupt to the nvidia card? > > My bios has no options for this. The option for "plug and play OS" is > set > to "N", and "reserver IRQ for PCI card" is set to "Y". That's about how I'd expect you to go about doing it. Have you tried changing which PCI slot it's in? That helps get a different interrupt sometimes. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Overriding a graphics card
In my BIOS, there is an option to choose "first boot video" (or similar). I choose "PCI" instead of "AGP" to post on my pci video card. As a matter of fact, most of the time it takes a few reboot before it posts on PCI. Yiqun Wang > On Sun, Oct 20, 2002 at 02:56:00PM -0700, Mark Vojkovich wrote: >> On Sun, 20 Oct 2002, John Tapsell wrote: >> >> > On Sun, Oct 20, 2002 at 02:33:05PM -0700, Mark Vojkovich wrote: >> > >Are you able to disable the SiS card from the bios? You >> > > should try that if you haven't already. >> > >> > Being crappy SiS - you can't. And no, there's no jumpers on the >> mobo. >> >>I assume you got it to post to the nvidia card at least (console >> comes up on the nvidia card)? You could try moving the slot that the >> nvidia card is in, or maybe just reserve the interrupt that it is >> using. I'm assuming you have a shared interrupt or something that is >> making things unhappy. > > The bios comes up on the nvidia card. Linux boots on the nvidia card. > The framebuffer works on the nvidia card. But X doesn't. (I haven't > tried a framebuffered X) > > When I cat /proc/interrupts, I see the SiS is sharing an interrupt with > the usb and ethernet card - 11. But I see no mention of the nvidia > card. > > How do I assign an interrupt to the nvidia card? > > My bios has no options for this. The option for "plug and play OS" is > set to "N", and "reserver IRQ for PCI card" is set to "Y". > > Thanks > > >> >> >> Mark. >> ___ >> Xpert mailing list >> [EMAIL PROTECTED] >> http://XFree86.Org/mailman/listinfo/xpert > > -- ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Re: [Dri-devel] r200 and libxaa
On Mon, 2002-10-21 at 02:05, Jens Owen wrote: > José Fonseca wrote: > > On Wed, Oct 16, 2002 at 04:52:59PM +1000, Simon Bland wrote: > > > >> I've seen ppl mention the libxaa.a from Fonseca seems to fix the problem > >> with the screen blanking. Thing is I can't seem to find this libxaa.. > >> Can anyone point me in the right direction for this? And can anyone > >> confirm that this does seem to fix the screen blanking problem with the > >> Radeon 8500. > >> > > > > Initially I hosted on my website because there was no certain that it > > would help. But now that I know it does I've moved it to > > http://dri.sf.net/snapshots/extras/libxaa.a.bz2 and wrote a README.Sig11 > > on http://dri.sf.net/snapshots/ . > > Can anyone on Xpert comment on XAA binary incompatability? Does this > just affect Forward compatability, i.e. older X environments with newer > binary drivers? The problem appeared when I merged radeon driver fixes by Kevin E. Martin from XFree86 CVS to DRI CVS. They involved adding new fields to the XaaInfoRec struct; the fact that they were added in the middle of that struct caused the DRI binary snapshots, which were built against the new version of that struct but ran with an XAA module built against the old version, to crash and burn. I moved the new fields to the end of the struct, bumped the minor XAA version and added code to the radeon driver to only access the new fields if it's dealing with the new XAA. That worked as expected when I tested it here by copying libxaa.a from my Debian 4.2 installation into my DRI tree, which makes me suspect that the remaining problem with the snapshots is due to toolchain incompatibilities or something along those lines. Hope this clarifies. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]Synchronization with Vertical Retrace
Kral Stefan wrote: Hi! I want to do a fast, fluent animation with XFree86. To avoid tearing effects, I need to do two things: 1) Use some sort of double-buffering technique DONE (I use Xdbe or a pixmap+XCopyArea for that) 2) Synchronize the swapping of the buffers with TBD the vertical retrace of the screen. Only a few drivers actually wait for vertical retrace before swapping buffers that I know of, and they are all OpenGL drivers. -- /\ Jens Owen/ \/\ _ [EMAIL PROTECTED] /\ \ \ Steamboat Springs, Colorado ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]Re: [Dri-devel] r200 and libxaa
José Fonseca wrote: On Wed, Oct 16, 2002 at 04:52:59PM +1000, Simon Bland wrote: I've seen ppl mention the libxaa.a from Fonseca seems to fix the problem with the screen blanking. Thing is I can't seem to find this libxaa.. Can anyone point me in the right direction for this? And can anyone confirm that this does seem to fix the screen blanking problem with the Radeon 8500. Initially I hosted on my website because there was no certain that it would help. But now that I know it does I've moved it to http://dri.sf.net/snapshots/extras/libxaa.a.bz2 and wrote a README.Sig11 on http://dri.sf.net/snapshots/ . Can anyone on Xpert comment on XAA binary incompatability? Does this just affect Forward compatability, i.e. older X environments with newer binary drivers? -- /\ Jens Owen/ \/\ _ [EMAIL PROTECTED] /\ \ \ Steamboat Springs, Colorado ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]X-Programming
On Sun, Oct 20, 2002 at 08:29:38PM +0530, Bharathi S wrote: > Today at 4:47pm, Yo mailed to Me too : > > > Hello, I am a now Spanish :) member of the list and i wanted info about > > programming in x11: if in archives list there are some tutorials or some > > web. > > http://www.kerguelen.org/x/index.html > http://www.rahul.net/kenton/ > http://www.tronche.com/gui/x/xlib-tutorial/ Just wanted to point out that there are toolkits such as the gnome and kde toolkits if thats what you actually want. > HTH, Enjoy :) > -- > Bharathi S, IndLinuX Team, (__) > DONLab, TeNeT Group, oo / > IIT-Madras, Chennai-INDIA. (_/\ > > ___ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert -- msg09950/pgp0.pgp Description: PGP signature
Re: [Xpert]X-Programming
Today at 4:47pm, Yo mailed to Me too : > Hello, I am a now Spanish :) member of the list and i wanted info about > programming in x11: if in archives list there are some tutorials or some > web. http://www.kerguelen.org/x/index.html http://www.rahul.net/kenton/ http://www.tronche.com/gui/x/xlib-tutorial/ HTH, Enjoy :) -- Bharathi S, IndLinuX Team, (__) DONLab, TeNeT Group, oo / IIT-Madras, Chennai-INDIA. (_/\ ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
[Xpert]X-Programming
Hello, I am a now Spanish :) member of the list and i wanted info about programming in x11: if in archives list there are some tutorials or some web, please. Thank you very much Best regards ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert