[Bug 4714] OpenGL applications and some X-windows functions cause machine to be unresponsive.

2005-06-07 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=4714 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional C

Re: DRM IRQ handling

2005-06-07 Thread Jon Smirl
On 6/7/05, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Tue, 2005-06-07 at 15:48 -0400, Jon Smirl wrote: > > Am I right in this interpretation? First I need to get the > > bus/device/func of the card, then I need to tell this to the driver > > (which must already know this info). I then g

Re: DRM IRQ handling

2005-06-07 Thread Benjamin Herrenschmidt
On Tue, 2005-06-07 at 15:48 -0400, Jon Smirl wrote: > Am I right in this interpretation? First I need to get the > bus/device/func of the card, then I need to tell this to the driver > (which must already know this info). I then get back the IRQ number, > which I then pass back to the driver (which

Re: agp mode and egl

2005-06-07 Thread Jon Smirl
On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > > you would just let it boot with default. Then in a script: > > echo mode >/sys/class/drm/card0/agpmode This would just change the default value stored in the driver. When X initializes with AGP_DEFAULT it would pick up this new default. >

Re: radeon DRM PCI/AGP detection

2005-06-07 Thread Jon Smirl
On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > > > > No, you can quite validly do a sg alloc on an AGP card, you can also > > > legally run an AGP card in PCI-only mode something the current code allows > > > (as userspace sets it) but the new code actually stops as it detects it.. > > > >

Re: radeon DRM PCI/AGP detection

2005-06-07 Thread Dave Airlie
> > > > No, you can quite validly do a sg alloc on an AGP card, you can also > > legally run an AGP card in PCI-only mode something the current code allows > > (as userspace sets it) but the new code actually stops as it detects it.. > > So how can I tell AGP from PCI in user space so I know whethe

Re: agp mode and egl

2005-06-07 Thread Dave Airlie
> > you would just let it boot with default. Then in a script: > echo mode >/sys/class/drm/card0/agpmode Can we change the AGP mode dynamically at the moment, i.e. if I set it to 1 for default (because anything higher might not work) can I change it later if I've already initialised the AGP layer.

Re: Poking radeon registers from user space

2005-06-07 Thread Dave Airlie
> > > > > >/* Workaround for some hardware bugs */ > > >if (info->ChipFamily < CHIP_FAMILY_R200) > > > OUTREG(RADEON_AGP_CNTL, INREG(RADEON_AGP_CNTL) | 0x000e); > > > > should be in drm IMHO... > > Do you want to add it and send it off to the kernel? or do you want me > to fix it

Re: Poking radeon registers from user space

2005-06-07 Thread Jon Smirl
On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > > > > This looks like it is missing from the driver: > > > >/* Workaround for some hardware bugs */ > >if (info->ChipFamily < CHIP_FAMILY_R200) > > OUTREG(RADEON_AGP_CNTL, INREG(RADEON_AGP_CNTL) | 0x000e); > > should be in drm

Re: agp mode and egl

2005-06-07 Thread Jon Smirl
On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > An issue with doing all this on bootup is I can see very long kernel > command lines appearing, which is something I don't really want to have to > tell ppl, editing /etc/display.conf is a lot easier than say add > "radeon:agp_mode=4" to everyones

Re: radeon DRM PCI/AGP detection

2005-06-07 Thread Jon Smirl
On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote: > > I'm also assuming the drmScatterGatherAlloc() will fail on an AGP and > > drmAgpAlloc() will fail on a PCI one, right? > > No, you can quite validly do a sg alloc on an AGP card, you can also > legally run an AGP card in PCI-only mode something

Re: Poking radeon registers from user space

2005-06-07 Thread Dave Airlie
> This looks like it is missing from the driver: > >/* Workaround for some hardware bugs */ >if (info->ChipFamily < CHIP_FAMILY_R200) > OUTREG(RADEON_AGP_CNTL, INREG(RADEON_AGP_CNTL) | 0x000e); should be in drm IMHO... > > Second one: > >/* Initialize Radeon's AGP register

Re: agp mode and egl

2005-06-07 Thread Dave Airlie
> I'm trying to make the Xegl server not need root to run and I am > trying to make it work without config files. So when something like > AGP mode comes up I try to decide what module best has the information > needed to set the parameter correctly. > > In this case it's clearly the DRM module -

Re: radeon DRM PCI/AGP detection

2005-06-07 Thread Dave Airlie
> In CVS the radeon DRM driver is doing the PCI/AGP detection. In the > current kernel user space is still telling the card if it is PCI or > AGP. Has this been pushed out of CVS and onto it's way into the kernel > yet? I'd rather not add the user space code to the EGL server. It'll be in 2.6.13

radeon DRM PCI/AGP detection

2005-06-07 Thread Jon Smirl
In CVS the radeon DRM driver is doing the PCI/AGP detection. In the current kernel user space is still telling the card if it is PCI or AGP. Has this been pushed out of CVS and onto it's way into the kernel yet? I'd rather not add the user space code to the EGL server. I'm also assuming the drmSca

[Bug 2418] Lockup using linux-core on radeon

2005-06-07 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=2418 --- Additional Comments From [EMAIL PROTECTED] 2005-06-07 14:32 --- Ok, t

Re: DRM IRQ handling

2005-06-07 Thread Ian Romanick
Jon Smirl wrote: > Am I right in this interpretation? First I need to get the > bus/device/func of the card, then I need to tell this to the driver > (which must already know this info). I then get back the IRQ number, > which I then pass back to the driver (which already know this) and > tell it t

DRM IRQ handling

2005-06-07 Thread Jon Smirl
Am I right in this interpretation? First I need to get the bus/device/func of the card, then I need to tell this to the driver (which must already know this info). I then get back the IRQ number, which I then pass back to the driver (which already know this) and tell it to turn interrupts on. Is t

Re: agp mode and egl

2005-06-07 Thread Jon Smirl
On 6/7/05, Alex Deucher <[EMAIL PROTECTED]> wrote: > probably, but all the other drivers handle it in userspace, so > consistency was the idea I guess. That doesn't mean we can't change > things... I'm trying to make the Xegl server not need root to run and I am trying to make it work without con

Re: agp mode and egl

2005-06-07 Thread Alex Deucher
probably, but all the other drivers handle it in userspace, so consistency was the idea I guess. That doesn't mean we can't change things... Alex On 6/7/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > AGP mode is getting set form user space. Shouldn't this be a sysfs > attribute for the DRM driver? T

agp mode and egl

2005-06-07 Thread Jon Smirl
AGP mode is getting set form user space. Shouldn't this be a sysfs attribute for the DRM driver? The driver could then default to highest mode it thinks will work and a script can be used to override it if needed. -- Jon Smirl [EMAIL PROTECTED] --

Poking radeon registers from user space

2005-06-07 Thread Jon Smirl
The server is doing these two pokes from user space. Since I want EGL to run without root priv I need to move these into the radeon DRM driver. This looks like it is missing from the driver: /* Workaround for some hardware bugs */ if (info->ChipFamily < CHIP_FAMILY_R200) OUTREG(RADEON

[Bug 3488] New: wine lightwave savage IX Unhandled exception: page fault on read access

2005-06-07 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to the URL shown below and enter yourcomments there. https://bugs.freedesktop.org/show_bug.cgi?id=3488 Summary: wine lightwave savage IX Unhandled exception: page fault