[Nouveau] [PATCH] drm/nouveau: Fix pre-nv50 pageflip events

poma pomidorabelisima at gmail.com
Wed Dec 2 08:03:42 PST 2015


On 02.12.2015 09:55, Daniel Vetter wrote:
> On Wed, Dec 02, 2015 at 06:40:32AM +0100, poma wrote:
>> On Tue, Dec 1, 2015 at 6:30 PM, Mario Kleiner
>> <mario.kleiner.de at gmail.com> wrote:
>>> When we are at it, the one with the title "[PATCH] drm/nouveau: Use
>>> drm_vblank_on/off consistently" from Daniel, which has a reviewed and tested
>>> by me also never made it into nouveau.
>>>
>>> Maybe pick that up as well?
>>>
>>> -mario
>>>
>>
>> If you refer to
>> "[1/3] drm/nouveau: Use drm_vblank_on/off consistently"
>> https://patchwork.freedesktop.org/patch/50771
>>
>> this is the result:
>> patched 4.4.0-0.rc3.git0.1.fc24.x86_64 with it,
>> i.e. 1-3-drm-nouveau-Use-drm_vblank_on-off-consistently.patch
>>
>> # cat /var/log/Xorg.0.log
>> [   126.360]
>> X.Org X Server 1.18.0
>> ...
>> [   126.909] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
>> [   126.909] (EE) No devices detected.
>> [   126.909] (EE)
>> Fatal server error:
>> [   126.909] (EE) no screens found(EE)
>> [   126.909] (EE)
>> Please consult ....
> 
> Kernel log needed if the drm device isn't there. And this is pretty much
> impossible, worst case modesetting is functionally busted.
> -Daniel
> 


Pardon me,
I missed 0 in EXTRAVERSION, therefore version magic not so pretty.

$ sed -i 's/-rc3/\-0.rc3/' Makefile

[ 1771.699138] checking generic (f7000000 e00000) vs hw (d0000000 10000000)
[ 1771.699143] checking generic (f7000000 e00000) vs hw (f6000000 2000000)
[ 1771.699144] fb: switching to nouveaufb from VESA VGA
[ 1771.699271] Console: switching to colour dummy device 80x25
[ 1771.699450] nouveau 0000:02:00.0: NVIDIA G98 (098200a2)
[ 1771.813968] nouveau 0000:02:00.0: bios: version 62.98.2c.00.00
[ 1771.834802] nouveau 0000:02:00.0: bios: M0203T not found
[ 1771.834819] nouveau 0000:02:00.0: bios: M0203E not matched!
[ 1771.834830] nouveau 0000:02:00.0: fb: 512 MiB DDR2
[ 1774.593921] [TTM] Zone  kernel: Available graphics memory: 1891762 kiB
[ 1774.593926] [TTM] Initializing pool allocator
[ 1774.593932] [TTM] Initializing DMA pool allocator
[ 1774.593948] nouveau 0000:02:00.0: DRM: VRAM: 512 MiB
[ 1774.593950] nouveau 0000:02:00.0: DRM: GART: 1048576 MiB
[ 1774.593954] nouveau 0000:02:00.0: DRM: TMDS table version 2.0
[ 1774.593956] nouveau 0000:02:00.0: DRM: DCB version 4.0
[ 1774.593959] nouveau 0000:02:00.0: DRM: DCB outp 00: 02000300 00000028
[ 1774.593962] nouveau 0000:02:00.0: DRM: DCB outp 01: 01000302 00020030
[ 1774.593964] nouveau 0000:02:00.0: DRM: DCB outp 02: 04011310 00000028
[ 1774.593966] nouveau 0000:02:00.0: DRM: DCB outp 03: 010223f1 00c0c080
[ 1774.593969] nouveau 0000:02:00.0: DRM: DCB conn 00: 00001030
[ 1774.593971] nouveau 0000:02:00.0: DRM: DCB conn 01: 00000100
[ 1774.593973] nouveau 0000:02:00.0: DRM: DCB conn 02: 00000210
[ 1774.593975] nouveau 0000:02:00.0: DRM: DCB conn 03: 00000211
[ 1774.593977] nouveau 0000:02:00.0: DRM: DCB conn 04: 00000213
[ 1774.595827] nouveau 0000:02:00.0: DRM: failed to create encoder 0/1/0: -19
[ 1774.595832] nouveau 0000:02:00.0: DRM: TV-1 has no encoders, removing
[ 1774.595867] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1774.595870] [drm] Driver supports precise vblank timestamp query.
[ 1774.600023] CE: hpet increased min_delta_ns to 11521 nsec
[ 1774.605699] nouveau 0000:02:00.0: DRM: MM: using M2MF for buffer copies
[ 1774.690808] nouveau 0000:02:00.0: DRM: allocated 1024x768 fb: 0x50000, bo ffff8800c9a46000
[ 1774.690960] fbcon: nouveaufb (fb0) is primary device
[ 1774.746581] Console: switching to colour frame buffer device 128x48
[ 1774.747411] nouveau 0000:02:00.0: fb0: nouveaufb frame buffer device
[ 1774.750093] [drm] Initialized nouveau 1.3.1 20120801 for 0000:02:00.0 on minor 0


Tested-by: poma <pomidorabelisima at gmail.com>




More information about the Nouveau mailing list