Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRI on alpha and G450.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Sat Sep 10, 2005 6:36 pm    Post subject: DRI on alpha and G450. Reply with quote

Is it possible to get DRI working on an alpha PWS500a and a Matrox G450 videocard. I used the Hardware 3D acceleration guide at: http://www.gentoo.org/doc/en/dri-howto.xml.
Back to top
View user's profile Send private message
griffypoo
n00b
n00b


Joined: 28 Jan 2005
Posts: 16

PostPosted: Sun Sep 11, 2005 5:54 am    Post subject: DRI MGA Support Reply with quote

Until recently, no. However, recent work by the DRI developers has allowed PCI cards now to operate using the DRI. I suspect you'll need to download the CVS version of the DRI and perhaps even the CVS version of Xorg. Good chance you'll be the first Alpha user testing it though. Good luck! :)

http://dri.freedesktop.org/wiki/Matrox?action=highlight&value=CategoryHardware
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Mon Sep 12, 2005 11:41 am    Post subject: Reply with quote

Ok, I'm trying to get this to work :) One question, is using "5. Using the CVS sources" possible as described in http://www.gentoo.org/doc/en/dri-howto.xml? Because the drm package only works with kernel 2.4, I'm running 2.6... Also, did none of the alpha developers tried to get this to work? :)
Back to top
View user's profile Send private message
griffypoo
n00b
n00b


Joined: 28 Jan 2005
Posts: 16

PostPosted: Tue Sep 13, 2005 2:09 am    Post subject: DRI Sources Reply with quote

Good bet that the gentoo package is out of date and not maintained.

You can get the package from the web at: http://dri.freedesktop.org/wiki/Download and compile it yourself
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Thu Sep 15, 2005 4:50 am    Post subject: Reply with quote

Ok, I followed the following guide http://dri.freedesktop.org/wiki/Building and everything compiled and installed fine. However, when I restarted Xorg, still no drm, but maybe following log snippets might help:

Xorg.0.log file:
Code:

(II) MGA(0): [drm] bpp: 32 depth: 24
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "mga"
(II) MGA(0): [drm] drmOpen failed
(EE) MGA(0): [drm] DRIScreenInit failed.  Disabling DRI.
(II) MGA(0): Using 2776 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        Solid filled trapezoids
        8x8 mono pattern filled rectangles
        8x8 mono pattern filled trapezoids
        Indirect CPU to Screen color expansion
        Screen to Screen color expansion
        Solid Lines
        Dashed Lines
        Scanline Image Writes
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                32 128x128 slots
                19 256x256 slots
                5 512x512 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
(WW) MGA(0): Direct rendering disabled
(WW) MGA(0): Option "ForcePCIMode" is not used


While in /var/log/messages I get:
Code:

Sep 14 15:18:45 loek drm: Unknown symbol pci_find_class
Sep 14 15:18:45 loek mga: Unknown symbol drm_open
Sep 14 15:18:45 loek mga: Unknown symbol drm_fasync
Sep 14 15:18:45 loek mga: Unknown symbol drm_addbufs_agp
Sep 14 15:18:45 loek mga: Unknown symbol drm_poll
Sep 14 15:18:45 loek mga: Unknown symbol drm_bind_agp
Sep 14 15:18:45 loek mga: Unknown symbol drm_get_resource_len
Sep 14 15:18:45 loek mga: Unknown symbol drm_core_get_reg_ofs
Sep 14 15:18:45 loek mga: Unknown symbol drm_agp_info
Sep 14 15:18:45 loek mga: Unknown symbol drm_agp_enable
Sep 14 15:18:45 loek mga: Unknown symbol drm_irq_uninstall
Sep 14 15:18:45 loek mga: Unknown symbol drm_unbind_agp
Sep 14 15:18:45 loek mga: Unknown symbol drm_get_dev
Sep 14 15:18:45 loek mga: Unknown symbol drm_ioctl
Sep 14 15:18:45 loek mga: Unknown symbol drm_exit
Sep 14 15:18:45 loek mga: Unknown symbol drm_debug
Sep 14 15:18:45 loek mga: Unknown symbol drm_core_get_map_ofs
Sep 14 15:18:45 loek mga: Unknown symbol drm_init
Sep 14 15:18:45 loek mga: Unknown symbol drm_addmap
Sep 14 15:18:45 loek mga: Unknown symbol drm_free_agp
Sep 14 15:18:45 loek mga: Unknown symbol drm_get_resource_start
Sep 14 15:18:45 loek mga: Unknown symbol drm_vbl_send_signals
Sep 14 15:18:45 loek mga: Unknown symbol drm_cleanup_pci
Sep 14 15:18:45 loek mga: Unknown symbol drm_addbufs_pci
Sep 14 15:18:45 loek mga: Unknown symbol drm_mmap
Sep 14 15:18:45 loek mga: Unknown symbol drm_core_reclaim_buffers
Sep 14 15:18:45 loek mga: Unknown symbol drm_release
Sep 14 15:18:45 loek mga: Unknown symbol drm_alloc_agp
Sep 14 15:18:45 loek mga: Unknown symbol drm_agp_acquire
Sep 14 15:18:45 loek mga: Unknown symbol drm_agp_release
Sep 14 15:21:10 loek drm: Unknown symbol pci_find_class


If I do a 'modprobe drm', I get the following error in /var/log/messages:
Code:
Sep 14 15:31:12 loek drm: Unknown symbol pci_find_class


What do these "Unknown symbol" messages mean? Did I compile everything wrong?

So, Xorg, drm and Mesa compile and install, but don't work (yet :))

Any ideas?

Thanks in advance!
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Fri Sep 16, 2005 9:36 am    Post subject: Reply with quote

Ok, I don't know whether this is related, but during compilation of my kernel, I got the following messages:
Code:

  CC [M]  drivers/char/drm/drm_auth.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_bufs.o
{standard input}: Assembler messages:
{standard input}:78: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_context.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_dma.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_drawable.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_drv.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_fops.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_init.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_ioctl.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_irq.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_lock.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_memory.o
{standard input}: Assembler messages:
{standard input}:93: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_proc.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_stub.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_vm.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_agpsupport.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_scatter.o
{standard input}: Assembler messages:
{standard input}:78: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/ati_pcigart.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_pci.o
{standard input}: Assembler messages:
{standard input}:79: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/drm_sysfs.o
{standard input}: Assembler messages:
{standard input}:78: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/mga_drv.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/mga_dma.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/mga_state.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/mga_warp.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  CC [M]  drivers/char/drm/mga_irq.o
{standard input}: Assembler messages:
{standard input}:77: Warning: setting incorrect section attributes for .got
  LD [M]  drivers/char/drm/drm.o
  LD [M]  drivers/char/drm/mga.o
  LD      drivers/char/built-in.o


Might this be related? Does anybody actually has an idea?
Back to top
View user's profile Send private message
Ferdy
Retired Dev
Retired Dev


Joined: 04 May 2002
Posts: 483
Location: España

PostPosted: Fri Sep 16, 2005 11:08 pm    Post subject: Reply with quote

I've seen a kernel patch in 2.6.14 ChangeLog about something related to those warnings... might worth the try.

Cheers,
Ferdy
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Sat Sep 17, 2005 8:30 am    Post subject: Reply with quote

Installed 2.6.14-rc1, same thing :/
Back to top
View user's profile Send private message
griffypoo
n00b
n00b


Joined: 28 Jan 2005
Posts: 16

PostPosted: Sat Sep 17, 2005 4:56 pm    Post subject: DRI on PCI MGA Alpha Reply with quote

It might be worth your time to post what you have done on the DRI mailing list and file a bug at their bugsillz located here: https://bugs.freedesktop.org/. This seems like a bug to me as there are lots of Alpha users out there with the PCI Matrox video adapters, but I would imagine this functionality just hasn't been tested on the alpha yet.

These messages..

{standard input}:77: Warning: setting incorrect section attributes for .got

..are pretty standard for the Alpha kernel compile. I get them and am able to use a Radeon PCI to do accelerated 3D with no (serious) problems.
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Sun Sep 18, 2005 4:59 am    Post subject: Reply with quote

https://bugs.freedesktop.org/show_bug.cgi?id=4493 :)
Back to top
View user's profile Send private message
Lupin_the_3rd
Apprentice
Apprentice


Joined: 03 Apr 2005
Posts: 168

PostPosted: Mon Sep 19, 2005 2:23 am    Post subject: Reply with quote

Be sure to keep us posted if you get it to work!!

I've got a PC164, 500Mhz, 512MB, that currently has a Matrox Mil2 card. I've got a G450 card lying around that I tried a few months back but I couldn't get it to work except using the frame-buffer X server. Can you say Slloooooooowwwwwww????

Man how I'd like to have DRI working on that box... :)
_________________
Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors)
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Mon Sep 19, 2005 8:57 am    Post subject: Reply with quote

Ok, I'll keep you posted :)
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Wed Nov 02, 2005 11:07 am    Post subject: Reply with quote

Small update. It seems that something broke the mga drm on August 4th... Of course, this holds back the whole drm on alpha with the G4xx cards :) (Relevant bugs at freedesktop.org are 4508 and 4797).
Back to top
View user's profile Send private message
tunkaflux
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 76

PostPosted: Tue Nov 08, 2005 6:06 pm    Post subject: Reply with quote

More updates. Drm with mga and a g450 should be fixed when you have a g450 AGP version. There is a new bug report for the PCI version. Hopefully we'll have DRI son :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum