tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: amdgpu driver



MLH wrote:
> I decided it is time to update the gfx and found a new Radeon R7
> 350 2G that the amdgpu docs and wikipedia indicate is amdgpu-supported
> so just ordered that.  Hopefully it will work properly.

I installed the new card listed as a Radeon R7 350 HDMI (shows to be a 250):

[     1.036698] radeon0 at pci11 dev 0 function 0: ATI Technologies Radeon HD 7750/8740 / R7 250E (rev. 0x00)
[     1.036698] hdaudio0 at pci11 dev 0 function 1: HD Audio Controller
[     1.036698] hdaudio0: interrupting at msi4 vec 0
[     1.036698] hdaudio0: HDA ver. 1.0, OSS 6, ISS 0, BSS 0, SDO 2, 64-bit
[     1.036698] hdafg0 at hdaudio0: ATI R6xx HDMI
[     1.036698] hdafg0: HDMI00 2ch: Digital Out [Jack]
[     1.036698] hdafg0: HDMI01 2ch: Digital Out [Jack]
[     1.036698] hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
[     1.036698] audio0 at hdafg0: playback
[     1.036698] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback


X -configure:

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "DRI"                       # <i>
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "VariableRefresh"           # [<bool>]
        #Option     "AsyncFlipSecondaries"      # [<bool>]
        Identifier  "Card0"
        Driver      "amdgpu"
        BusID       "PCI:11:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "DRI"                       # <i>
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "VariableRefresh"           # [<bool>]
        #Option     "AsyncFlipSecondaries"      # [<bool>]
        Identifier  "Card1"
        Driver      "amdgpu"
        BusID       "PCI:11:0:1"
EndSection

Just as with my old card, if I specify the driver, xdm won't start.

Unfortunately this new card is a little worse than the old.

1) Has some background screen trash. Old one didn't. New one has the same
issues with freecad, kicad, qcad, mpv all having window trash. (openscad doesn't)

2) The HDMI ports show up as DisplayPorts and don't have sound. (xrandr) 

DisplayPort-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
DisplayPort-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm

dmesg shows that they are HDMI ports and have audio (see above).
How do you get DisplayPort devices to play audio in NetBSD?



Home | Main Index | Thread Index | Old Index