Date: Wed, 11 Mar 2015 15:23:34 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Message-ID: <bug-198459-7141-81QyoJMT4i@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-198459-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-198459-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #4 from gmbroome@vcu.edu --- (In reply to Jean-Sebastien Pedron from comment #3) `pciconf -lvb` entry for the Sun XVR-100: ----------------------------------------- vgapci0@pci0:0:2:0: class=0x030000 card=0x09081002 chip=0x51591002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'RV100 QY [Radeon 7000/VE]' class = display subclass = VGA bar [10] = type Prefetchable Memory, range 32, base 0x8000000, size 134217728, enabled bar [14] = type I/O Port, range 32, base 0x700, size 256, enabled bar [18] = type Memory, range 32, base 0x160000, size 65536, enabled ----------------------------------------- and `pciconf -lvb` for the Sun PGX64: ------------------------------------- machfb0@pci1:0:1:0: class=0x030000 card=0x00000000 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Rage XL' class = display subclass = VGA bar [10] = type Memory, range 32, base 0x1000000, size 16777216, enabled bar [14] = type I/O Port, range 32, base 0x400, size 256, enabled bar [18] = type Memory, range 32, base 0x102000, size 4096, enabled ------------------------------------- and PCI probe lines from Xorg.0.log: ------------------------------------ [ 494.844] (--) PCI: (0:0:2:0) 1002:5159:1002:0908 rev 0, Mem @ 0x08000000/134217728, 0x00160000/65536, I/O @ 0x00000700/256, BIOS @ 0x????????/65536 [ 494.849] (--) PCI: (1:0:1:0) 1002:4752:0000:0000 rev 39, Mem @ 0x01000000/16777216, 0x00102000/4096, I/O @ 0x00000400/256, BIOS @ 0x????????/65536 ------------------------------------ After some investigation with truss, I found that specifying the BusID in Xorg.conf for both cards allowed me to get a bit farther. In that case, I was able to get a working display with the PGX64 only when using syscons. The XVR-100 is, of course, not supported with syscons on sparc64 as there's no framebuffer available for it. When using vt as the console, attempts by X.org to mmap either device returned errno 22 (EINVAL). So, I've got a working display at the moment, but there are some take-away items here: 1 - It appears that the X.org mach64 and ati drivers do not work with vt on sparc64, at least when not accelerated. My guess (just speculation here) is that vt isn't allow mmap'ing /dev/ttyv0. Not sure if this is a platform-specific bug / todo or intentional design. 1a - If it's a platform-specific bug or to-do, then we can close this bug out and I'll open a new one to get it fixed, and start coding away at that. 1b - If it's intentional design, we need to document it somewhere that sparc64 users can easily get to it, like release notes or hardware notes. 2 - I'd like to solicit the input and assistance of the FreeBSD DRI1 / DRI2 folks to determine a best path forward for supporting a wider variety of X.org graphics options on sparc64. Having just a single model of graphics card with a paltry 8MB of RAM, unaccelerated, isn't going to cut it. I'm more than willing to code for this, but want to make sure it's done in a way that has some longevity. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198459-7141-81QyoJMT4i>