Skip to contentSkip to conversation

Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no graphics

Bug 112265 [email protected] 1 participant 5 messages Nov 13, 2019 – Nov 14, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=112265

Bug ID: 112265
Summary: Drm: mgag200. Video adapter issue with 5.4.0-rc3 ; no
graphics
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: not set
Component: DRM/other
Assignee: [email protected]
Reporter: [email protected]

bisect took to me to this change that certainly reflects the behavior I am seeing :

5.1.0-rc5

commit 81da87f63a1edebcf8cbb811d387e353d9f89c7a (refs/bisect/bad)

Author: Thomas Zimmermann <[email protected]>
Date:   Tue May 21 13:08:29 2019 +0200

drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin

The push-to-system function forces a buffer out of video RAM. This decision should rather be made by the memory manager. By replacing the function with calls to the kunmap and unpin functions, the buffer's memory becomes
available,
but the buffer remains in VRAM until it's evicted by a pin operation.

This patch replaces the remaining instances of drm_gem_vram_push_to_system() in ast and mgag200, and removes the function from DRM.

My 1st impression is we need a method that restores the previous behavior that pushes the content to the device .

I found this issue using

gnome-desktop3-3.28.2-1.el8.x86_64

If there is a more specific. RPM I can look at for guidance I will .

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=112265

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from [email protected] ---
Created attachment 145949
--> https://bugs.freedesktop.org/attachment.cgi?id=145949&action=edit
dmesg and message file on bi-sected kernel

Starting gnome

See messages for

" starting gnome "

and

" Stopping gnome "

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=112265

--- Comment #2 from [email protected] --- debugfs content :

With gnome running

 # for f in `find . -type f ` ; do 
Quoted 2 lines

echo "$f : cat $f "
done

./VGA-1/edid_override :
./VGA-1/force : unspecified
./internal_clients :
./framebuffer : framebuffer[35]:

        allocated by = Xorg
        refcount=2
        format=XR24 little-endian (0x34325258)
        modifier=0x0
        size=1024x768
        layers:
                size[0]=1024x768
                pitch[0]=4096
                offset[0]=0
                obj[0]:(null)
framebuffer[34]:
        allocated by = [fbcon]
        refcount=1
        format=XR24 little-endian (0x34325258)
        modifier=0xb7e2c74500000010
        size=1024x768
        layers:
                size[0]=1024x768
                pitch[0]=4096
                offset[0]=4294967295
                obj[0]:(null) 

./gem_names : name size handles refcount
./clients : command pid dev master a uid magic
systemd-logind 1563 0 y y 0 0
./name : mgag200 dev=0000:3d:00.0 unique=0000:3d:00.0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=112265

--- Comment #3 from [email protected] ---
Created attachment 145950
--> https://bugs.freedesktop.org/attachment.cgi?id=145950&action=edit
Running startx on the console

This likely doesn't help much
On a 4.18 kernel ; when I do "startx" on the console ; it eventually runs
gnone.

On the bad kernel ; I just see x11 noise ; then nothing .

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=112265

Thomas Zimmermann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected]
                   |.org                        |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel