Date: Sat, 29 Mar 2014 10:02:17 -0700 From: Justin Hibbits <chmeeedalf@gmail.com> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: Chris Bigguy <bigguy_40@yahoo.com>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: PowerMac G4 graphics issue Message-ID: <20140329100217.505671e8@zhabar.att.net> In-Reply-To: <20140329164046.GA7227@FreeBSD.org> References: <20081108120019.440D2106570D@hub.freebsd.org> <762295.44650.qm@web33105.mail.mud.yahoo.com> <20140329105152.GA73812@FreeBSD.org> <20140329124227.GA22005@FreeBSD.org> <CAHSQbTAy89HtJHfq1CmDGyygNwOVSh_19NnESgjvX1WhpdMDDQ@mail.gmail.com> <20140329164046.GA7227@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Mar 2014 16:40:46 +0000 Alexey Dokuchaev <danfe@FreeBSD.org> wrote: > On Sat, Mar 29, 2014 at 09:10:59AM -0700, Justin Hibbits wrote: > > On Mar 29, 2014 5:42 AM, "Alexey Dokuchaev" <danfe@freebsd.org> > > wrote: > > > Looks like `relax_mmap' is defined in powerpc/ofw/ofw_syscons.c, > > > but I've removed "device sc" from kernel config in favor of > > > "device vt". Does it mean that X11 + ATI card + Newcons is not > > > supported yet? Can it be easily fixed, or I have to go back to > > > syscons(4) for now? > > > > Correct. Newcons+ofwfb+ATI in X11 doesn't work. You can try > > xf86-video-scfb in ports to get X working with newcons for you, but > > you lose any hardware acceleration that the ATI driver gives. > > It's OK, as long as I can have hardware acceleration I can stay with > syscons for a while. I've backed out vt(4) support from kernel > config and rebuilt; startx(1) now gets me to graphics mode with > xterm(1) and window manager just fine (FWIW, hw.ofwfb.relax_mmap is 1 > by default now; I'm too lazy to dig out which particular commit made > it so, but thanks for that). > > HW accel seems to work: X11 overall feels quite fast; glxinfo reports: > > direct rendering: Yes > server glx vendor string: SGI > server glx version string: 1.4 > ... [but] > OpenGL vendor string: Mesa Project > OpenGL renderer string: Software Rasterizer > OpenGL version string: 2.1 Mesa 9.1.7 > OpenGL shading language version string: 1.20 > > glxgears spin at ~53 FPS. I haven't benchmarked Quake yet. ;-) Awesome! I've never had success with DRI on PowerPC. > However, screen resolution is 1024x768 for some reason; xrandr(1) > yields: > > Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024 > DVI-1 disconnected 1024x768+0+0 (normal left inverted right x axis y > axis) 0mm x 0mm DVI-0 disconnected (normal left inverted right x axis > y axis) S-video disconnected (normal left inverted right x axis y > axis) 1024x768 (0x55) 65.0MHz > h: width 1024 start 1048 end 1184 total 1344 skew 0 clock > 48.4KHz v: height 768 start 771 end 777 total 806 clock > 60.0Hz > > That's not native resolution of my LCD monitor; any ideas how to get > one? Why X reports "maximum 1024 x 1024"; nothing like that is set in > xorg.conf. > > ./danfe I think X is just setting it to a square that's big enough to hold the current screen. That's not always the case, though, as on my G5 I see: Screen 0: minimum 640 x 400, current 1920 x 1080, maximum 1920 x 1080 Hope that helps. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140329100217.505671e8>