Ilia Mirkin <imirkin at alum.mit.edu> writes:> It would be useful to know how the screen is connected. Also please > grab the monitor's EDID from /sys/class/drm/cardN-connector/edid and > attach it here. It would also be interesting to get a boot with > "drm.debug=0x1e nouveau.debug=disp=trace" which has the modeswitch in > question.The screen is connected using the MDP port. I don't find any cardN-connector directory, the closest match is: /sys/class/drm/card0-DP-1/edid which contains: -------------- next part -------------- A non-text attachment was scrubbed... Name: edid-nv Type: application/octet-stream Size: 256 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20190206/65421330/attachment-0001.obj> -------------- next part -------------- Here is the content of ~/.local//share/xorg/Xorg.0.log -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Xorg.0.log URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20190206/65421330/attachment-0001.ksh> -------------- next part -------------- Toward the end I did: xrandr -s 640x480 xrandr -s 3820x2160> The thing about 640x480 is that it's not a lot of pixels, too few for > some modern monitors. I believe some games need to be played in order > to increase the pixel clock, and I suspect nouveau doesn't play them > correctly. > > Cheers, > > -ilia > > On Wed, Feb 6, 2019 at 11:31 AM Dan Espen <dan1espen at gmail.com> wrote: >> >> >> I've been using the NVidia drivers and recently managed to >> get Nouveau working. Well almost working. >> >> Running the command: >> >> xrandr -s 640x480 >> >> results in a desktop that spans the monitor but leaves black bands of >> about a third of the screen on the top and bottom. >> This results in an unreadable display playing games like Lbrickbuster2. >> I'd like the display to fill the screen. >> >> To confirm that this is a Nouveau issue, I switched back to NVidia >> where 640x480 looks fine. >> >> I'm using Fedora 29 (xorg-x11-drv-nouveau.x86_64 1:1.0.15-6.fc29), >> NVidia-390 drivers, GeForce GTX 1050 Ti, and a DELL S2817Q. >> >> -- >> Dan Espen >> _______________________________________________ >> Nouveau mailing list >> Nouveau at lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/nouveau-- Dan Espen
On Wed, Feb 6, 2019 at 3:28 PM Dan Espen <dan1espen at gmail.com> wrote:> > Ilia Mirkin <imirkin at alum.mit.edu> writes: > > > It would be useful to know how the screen is connected. Also please > > grab the monitor's EDID from /sys/class/drm/cardN-connector/edid and > > attach it here. It would also be interesting to get a boot with > > "drm.debug=0x1e nouveau.debug=disp=trace" which has the modeswitch in > > question. > > The screen is connected using the MDP port. > I don't find any cardN-connector directory, > the closest match is: > > /sys/class/drm/card0-DP-1/edidN = 0 connector = DP-1 so looks like you found it. I was actually looking for dmesg with those boot parameters, not the Xorg log. Something to randomly try -- xrandr -s 640x480 -r 75 -- perhaps it'll like that mode better. Also does 720x480 work better? Looking at your EDID, you have: Established timings supported: 720x400 at 70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz 640x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz 640x480 at 75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz 800x600 at 60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz 800x600 at 75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz 1024x768 at 60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz 1024x768 at 75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz 1280x1024 at 75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz Standard timings supported: 1920x1080 at 60Hz 16:9 1600x1200 at 60Hz 4:3 HorFreq: 75000 Hz Clock: 162.000 MHz 1280x1024 at 60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz 1280x800 at 60Hz 16:10 1152x864 at 75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz CTA extension block Extension version: 3 25 bytes of CTA data Video data block ... VIC 3 720x480 at 60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz VIC 2 720x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz VIC 1 640x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz
Ilia Mirkin <imirkin at alum.mit.edu> writes:> On Wed, Feb 6, 2019 at 3:28 PM Dan Espen <dan1espen at gmail.com> wrote: >> >> Ilia Mirkin <imirkin at alum.mit.edu> writes: >> >> > It would be useful to know how the screen is connected. Also please >> > grab the monitor's EDID from /sys/class/drm/cardN-connector/edid and >> > attach it here. It would also be interesting to get a boot with >> > "drm.debug=0x1e nouveau.debug=disp=trace" which has the modeswitch in >> > question. >> >> The screen is connected using the MDP port. >> I don't find any cardN-connector directory, >> the closest match is: >> >> /sys/class/drm/card0-DP-1/edid > > N = 0 > connector = DP-1 > > so looks like you found it. > > I was actually looking for dmesg with those boot parameters, not the Xorg log. > > Something to randomly try -- xrandr -s 640x480 -r 75 -- perhaps it'll > like that mode better.Using "-r 75" fixes the problem.> Also does 720x480 work better?Yes, 720x480 works without the -r parameter.> Looking at your EDID, you have: > > Established timings supported: > 720x400 at 70Hz 9:5 HorFreq: 31469 Hz Clock: 28.320 MHz > 640x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHz > 640x480 at 75Hz 4:3 HorFreq: 37500 Hz Clock: 31.500 MHz > 800x600 at 60Hz 4:3 HorFreq: 37900 Hz Clock: 40.000 MHz > 800x600 at 75Hz 4:3 HorFreq: 46900 Hz Clock: 49.500 MHz > 1024x768 at 60Hz 4:3 HorFreq: 48400 Hz Clock: 65.000 MHz > 1024x768 at 75Hz 4:3 HorFreq: 60000 Hz Clock: 78.750 MHz > 1280x1024 at 75Hz 5:4 HorFreq: 80000 Hz Clock: 135.000 MHz > Standard timings supported: > 1920x1080 at 60Hz 16:9 > 1600x1200 at 60Hz 4:3 HorFreq: 75000 Hz Clock: 162.000 MHz > 1280x1024 at 60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz > 1280x800 at 60Hz 16:10 > 1152x864 at 75Hz 4:3 HorFreq: 67500 Hz Clock: 108.000 MHz > > CTA extension block > Extension version: 3 > 25 bytes of CTA data > Video data block > ... > VIC 3 720x480 at 60Hz 16:9 HorFreq: 31469 Hz Clock: 27.000 MHz > VIC 2 720x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 27.000 MHz > VIC 1 640x480 at 60Hz 4:3 HorFreq: 31469 Hz Clock: 25.175 MHzOkay, if I read all that right the EDID supports 640x480 at 60 and 75hz. The monitor acts strangely at 60hz but is okay at 75hz. Is this something I should configure or can nouveau figure out the best mode? -- Dan Espen