{"action":"created","issue":{"url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/134","repository_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics","labels_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/134/comments","events_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/134/events","html_url":"https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/134","id":218421468,"number":134,"title":"[amdgpu] where is \"amdgpu_dri.so\"?","user":{"login":"nbe-renzel-net","id":19733844,"avatar_url":"https://avatars3.githubusercontent.com/u/19733844?v=3","gravatar_id":"","url":"https://api.github.com/users/nbe-renzel-net","html_url":"https://github.com/nbe-renzel-net","followers_url":"https://api.github.com/users/nbe-renzel-net/followers","following_url":"https://api.github.com/users/nbe-renzel-net/following{/other_user}","gists_url":"https://api.github.com/users/nbe-renzel-net/gists{/gist_id}","starred_url":"https://api.github.com/users/nbe-renzel-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbe-renzel-net/subscriptions","organizations_url":"https://api.github.com/users/nbe-renzel-net/orgs","repos_url":"https://api.github.com/users/nbe-renzel-net/repos","events_url":"https://api.github.com/users/nbe-renzel-net/events{/privacy}","received_events_url":"https://api.github.com/users/nbe-renzel-net/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-31T07:37:54Z","updated_at":"2017-03-31T14:22:56Z","closed_at":null,"body":"Hi,\r\n\r\nplaying around with \"drm-next\" and the \"amdgpu\" kernel module; it loads and runs after several tries:\r\n```\r\nX.Org X Server 1.18.4\r\nRelease Date: 2016-07-19\r\n[   447.150] X Protocol Version 11, Revision 0\r\n[   447.150] Build Operating System: FreeBSD 12.0-CURRENT amd64\r\n[   447.150] Current Operating System: FreeBSD asbach.renzel.net 12.0-CURRENT FreeBSD 12.0-CURRENT #0 334829e6c(drm-next)-dirty: Tue Mar 28 15:20:53 CEST 2017     root@asbach.renzel.net:/usr/obj/root/work/src/freebsd-base-graphics/sys/GENERIC amd64\r\n[   447.150] Build Date: 25 March 2017  01:14:55PM\r\n[   447.150]  \r\n[   447.150] Current version of pixman: 0.34.0\r\n[   447.150]    Before reporting problems, check http://wiki.x.org\r\n        to make sure that you have the latest version.\r\n[   447.150] Markers: (--) probed, (**) from config file, (==) default setting,\r\n        (++) from command line, (!!) notice, (II) informational,\r\n        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.\r\n[   447.150] (==) Log file: \"/var/log/Xorg.0.log\", Time: Thu Mar 30 16:33:56 2017\r\n[   447.150] (==) Using config directory: \"/usr/local/etc/X11/xorg.conf.d\"\r\n[   447.150] (==) Using system config directory \"/usr/local/share/X11/xorg.conf.d\"\r\n[   447.150] (==) ServerLayout \"X.org Configured\"\r\n[   447.150] (**) |-->Screen \"Screen0\" (0)\r\n[   447.150] (**) |   |-->Monitor \"Monitor0\"\r\n[   447.150] (**) |   |-->Device \"Card0\"\r\n[   447.150] (**) |-->Input Device \"Mouse0\"\r\n[   447.150] (**) |-->Input Device \"Keyboard0\"\r\n[   447.150] (==) Automatically adding devices\r\n[   447.150] (==) Automatically enabling devices\r\n[   447.150] (==) Not automatically adding GPU devices\r\n[   447.150] (==) Max clients allowed: 256, resource mask: 0x1fffff\r\n[   447.151] (**) FontPath set to:\r\n        /usr/local/share/fonts/misc/,\r\n        /usr/local/share/fonts/TTF/,\r\n        /usr/local/share/fonts/OTF/,\r\n        /usr/local/share/fonts/Type1/,\r\n        /usr/local/share/fonts/100dpi/,\r\n        /usr/local/share/fonts/75dpi/,\r\n        /usr/local/share/fonts/misc/,\r\n        /usr/local/share/fonts/TTF/,\r\n        /usr/local/share/fonts/OTF/,\r\n        /usr/local/share/fonts/Type1/,\r\n        /usr/local/share/fonts/100dpi/,\r\n        /usr/local/share/fonts/75dpi/\r\n[   447.151] (**) ModulePath set to \"/usr/local/lib/xorg/modules\"\r\n[   447.151] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.\r\n[   447.151] (WW) Disabling Mouse0\r\n[   447.151] (WW) Disabling Keyboard0\r\n[   447.151] (II) Loader magic: 0x80cc00\r\n[   447.151] (II) Module ABI versions:\r\n[   447.151]    X.Org ANSI C Emulation: 0.4\r\n[   447.151]    X.Org Video Driver: 20.0\r\n[   447.151]    X.Org XInput driver : 22.1\r\n[   447.151]    X.Org Server Extension : 9.0\r\n[   447.151] (--) PCI:*(0:36:0:0) 1002:67ef:1682:9460 rev 207, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xfe900000/262144, I/O @ 0x0000e000/256, BIOS @ 0x????????/65536\r\n[   447.151] (II) \"glx\" will be loaded. This was enabled by default and also specified in the config file.\r\n[   447.151] (II) LoadModule: \"vnc\"\r\n[   447.151] (II) Loading /usr/local/lib/xorg/modules/extensions/libvnc.so\r\n[   447.155] (II) Module vnc: vendor=\"TigerVNC Project\"\r\n[   447.155]    compiled for 1.18.4, module version = 1.0.0\r\n[   447.155]    Module class: X.Org Server Extension\r\n[   447.155]    ABI class: X.Org Server Extension, version 9.0\r\n[   447.155] (II) LoadModule: \"glx\"\r\n[   447.155] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so\r\n[   447.156] (II) Module glx: vendor=\"X.Org Foundation\"\r\n[   447.156]    compiled for 1.18.4, module version = 1.0.0\r\n[   447.156]    ABI class: X.Org Server Extension, version 9.0\r\n[   447.156] (==) AIGLX enabled\r\n[   447.156] (II) LoadModule: \"amdgpu\"\r\n[   447.156] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so\r\n[   447.157] (II) Module amdgpu: vendor=\"X.Org Foundation\"\r\n[   447.157]    compiled for 1.18.4, module version = 1.3.0\r\n[   447.157]    Module class: X.Org Video Driver\r\n[   447.157]    ABI class: X.Org Video Driver, version 20.0\r\n[   447.157] (II) AMDGPU: Driver for AMD Radeon:\r\n        All GPUs supported by the amdgpu kernel driver\r\n[   447.157] (--) Using syscons driver with X support (version 2.0)\r\n[   447.157] (--) using VT number 9\r\n\r\n[   447.157] (II) [KMS] Kernel modesetting enabled.\r\n[   447.188] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support\r\n[   447.188] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32\r\n[   447.188] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)\r\n[   447.188] (==) AMDGPU(0): Default visual is TrueColor\r\n[   447.188] (**) AMDGPU(0): Option \"DRI\" \"2\"\r\n[   447.188] (**) AMDGPU(0): Option \"TearFree\" \"true\"\r\n[   447.189] (==) AMDGPU(0): RGB weight 888\r\n[   447.189] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)\r\n[   447.189] (--) AMDGPU(0): Chipset: \"AMD Radeon RX 460 Graphics\" (ChipID = 0x67ef)\r\n[   447.189] (II) Loading sub module \"fb\"\r\n[   447.189] (II) LoadModule: \"fb\"\r\n[   447.189] (II) Loading /usr/local/lib/xorg/modules/libfb.so\r\n[   447.189] (II) Module fb: vendor=\"X.Org Foundation\"\r\n[   447.189]    compiled for 1.18.4, module version = 1.0.0\r\n[   447.189]    ABI class: X.Org ANSI C Emulation, version 0.4\r\n[   447.189] (II) Loading sub module \"dri2\"\r\n[   447.189] (II) LoadModule: \"dri2\"\r\n[   447.189] (II) Module \"dri2\" already built-in\r\n[   447.367] (II) Loading sub module \"glamoregl\"\r\n[   447.367] (II) LoadModule: \"glamoregl\"\r\n[   447.367] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so\r\n[   447.377] (II) Module glamoregl: vendor=\"X.Org Foundation\"\r\n[   447.377]    compiled for 1.18.4, module version = 1.0.0\r\n[   447.377]    ABI class: X.Org ANSI C Emulation, version 0.4\r\n[   447.377] (II) glamor: OpenGL accelerated X.org driver based.\r\n[   447.380] (II) glamor: EGL version 1.4 (DRI2):\r\n[   447.380] EGL_MESA_drm_image required.\r\n[   447.381] (EE) AMDGPU(0): glamor detected, failed to initialize EGL.\r\n[   447.381] (II) AMDGPU(0): KMS Pageflipping: enabled\r\n[   447.402] (II) AMDGPU(0): Output DisplayPort-0 using monitor section Monitor0\r\n[   447.402] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section\r\n[   447.434] (II) AMDGPU(0): Output DVI-D-0 has no monitor section\r\n[   447.456] (II) AMDGPU(0): EDID for output DisplayPort-0\r\n[   447.456] (II) AMDGPU(0): EDID for output HDMI-A-0\r\n[   447.488] (II) AMDGPU(0): EDID for output DVI-D-0\r\n[   447.488] (II) AMDGPU(0): Manufacturer: STN  Model: 28  Serial#: 1196634425\r\n[   447.488] (II) AMDGPU(0): Year: 2006  Week: 2\r\n[   447.488] (II) AMDGPU(0): EDID Version: 1.3\r\n[   447.488] (II) AMDGPU(0): Digital Display Input\r\n[   447.488] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 38  vert.: 30\r\n[   447.488] (II) AMDGPU(0): Gamma: 2.20\r\n[   447.488] (II) AMDGPU(0): DPMS capabilities: Off\r\n[   447.488] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 \r\n[   447.488] (II) AMDGPU(0): First detailed timing is preferred mode\r\n[   447.488] (II) AMDGPU(0): redX: 0.634 redY: 0.354   greenX: 0.304 greenY: 0.581\r\n[   447.488] (II) AMDGPU(0): blueX: 0.143 blueY: 0.102   whiteX: 0.310 whiteY: 0.330\r\n[   447.488] (II) AMDGPU(0): Supported established timings:\r\n[   447.488] (II) AMDGPU(0): 720x400@70Hz\r\n[   447.488] (II) AMDGPU(0): 640x480@60Hz\r\n[   447.488] (II) AMDGPU(0): 640x480@67Hz\r\n[   447.488] (II) AMDGPU(0): 640x480@72Hz\r\n[   447.488] (II) AMDGPU(0): 640x480@75Hz\r\n[   447.488] (II) AMDGPU(0): 800x600@56Hz\r\n[   447.488] (II) AMDGPU(0): 800x600@60Hz\r\n[   447.488] (II) AMDGPU(0): 800x600@72Hz\r\n[   447.488] (II) AMDGPU(0): 800x600@75Hz\r\n[   447.488] (II) AMDGPU(0): 832x624@75Hz\r\n[   447.488] (II) AMDGPU(0): 1024x768@60Hz\r\n[   447.488] (II) AMDGPU(0): 1024x768@70Hz\r\n[   447.488] (II) AMDGPU(0): 1024x768@75Hz\r\n[   447.488] (II) AMDGPU(0): 1280x1024@75Hz\r\n[   447.488] (II) AMDGPU(0): 1152x864@75Hz\r\n[   447.488] (II) AMDGPU(0): Manufacturer's mask: 0\r\n[   447.488] (II) AMDGPU(0): Supported standard timings:\r\n[   447.488] (II) AMDGPU(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897\r\n[   447.488] (II) AMDGPU(0): #1: hsize: 1152  vsize 864  refresh: 75  vid: 20337\r\n[   447.488] (II) AMDGPU(0): Supported detailed timing:\r\n[   447.488] (II) AMDGPU(0): clock: 108.0 MHz   Image Size:  376 x 301 mm\r\n[   447.488] (II) AMDGPU(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0\r\n[   447.488] (II) AMDGPU(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0\r\n[   447.488] (II) AMDGPU(0): Ranges: V min: 56 V max: 75 Hz, H min: 30 H max: 81 kHz, PixClock max 145 MHz\r\n[   447.488] (II) AMDGPU(0): Monitor name: SAMTRON\r\n[   447.488] (II) AMDGPU(0): Serial No: H9NA115163\r\n[   447.488] (II) AMDGPU(0): EDID (in hex):\r\n[   447.488] (II) AMDGPU(0):    00ffffffffffff004e8e280039315347\r\n[   447.488] (II) AMDGPU(0):    0210010380261e782a6f86a25a4d9424\r\n[   447.488] (II) AMDGPU(0):    1a4f54bfef808180714f010101010101\r\n[   447.488] (II) AMDGPU(0):    010101010101302a009851002a403070\r\n[   447.488] (II) AMDGPU(0):    1300782d1100001e000000fd00384b1e\r\n[   447.488] (II) AMDGPU(0):    510e000a202020202020000000fc0053\r\n[   447.488] (II) AMDGPU(0):    414d54524f4e0a2020202020000000ff\r\n[   447.488] (II) AMDGPU(0):    0048394e413131353136330a20200085\r\n[   447.488] (II) AMDGPU(0): Printing probed modes for output DVI-D-0\r\n[   447.488] (II) AMDGPU(0): Modeline \"1280x1024\"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)\r\n[   447.488] (II) AMDGPU(0): Modeline \"1280x1024\"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"1152x864\"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"1024x768\"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"1024x768\"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"1024x768\"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"832x624\"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"800x600\"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"800x600\"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)\r\n[   447.488] (II) AMDGPU(0): Modeline \"800x600\"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"800x600\"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"640x480\"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"640x480\"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"640x480\"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"640x480\"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)\r\n[   447.489] (II) AMDGPU(0): Modeline \"720x400\"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)\r\n[   447.489] (II) AMDGPU(0): Output DisplayPort-0 disconnected\r\n[   447.489] (II) AMDGPU(0): Output HDMI-A-0 disconnected\r\n[   447.489] (II) AMDGPU(0): Output DVI-D-0 connected\r\n[   447.489] (II) AMDGPU(0): Using exact sizes for initial modes\r\n[   447.489] (II) AMDGPU(0): Output DVI-D-0 using initial mode 1280x1024 +0+0\r\n[   447.489] (II) AMDGPU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.\r\n[   447.489] (II) AMDGPU(0): mem size init: gart size :3fd3cc000 vram size: s:7d86e000 visible:d86e000\r\n[   447.489] (==) AMDGPU(0): DPI set to (96, 96)\r\n[   447.489] (II) Loading sub module \"ramdac\"\r\n[   447.489] (II) LoadModule: \"ramdac\"\r\n[   447.489] (II) Module \"ramdac\" already built-in\r\n[   447.489] (--) Depth 24 pixmap format is 32 bpp\r\n[   447.489] (II) AMDGPU(0): [DRI2] Setup complete\r\n[   447.489] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi\r\n[   447.489] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi\r\n[   447.493] (II) AMDGPU(0): Front buffer pitch: 5120 bytes\r\n[   447.493] (II) AMDGPU(0): SYNC extension fences enabled\r\n[   447.493] (II) AMDGPU(0): Present extension enabled\r\n[   447.493] (==) AMDGPU(0): DRI3 enabled\r\n[   447.493] (==) AMDGPU(0): Backing store enabled\r\n[   447.493] (II) AMDGPU(0): Direct rendering enabled\r\n[   447.493] (II) AMDGPU(0): 2D acceleration disabled\r\n[   447.493] (==) AMDGPU(0): DPMS enabled\r\n[   447.493] (==) AMDGPU(0): Silken mouse enabled\r\n[   447.493] (II) AMDGPU(0): RandR 1.2 enabled, ignore the following RandR disabled message.\r\n[   447.493] (--) RandR disabled\r\n[   447.495] (EE) AIGLX error: Calling driver entry point failed\r\n[   447.495] (EE) AIGLX: reverting to software rendering\r\n[   447.496] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer\r\n[   447.496] (II) AIGLX: Loaded and initialized swrast\r\n[   447.496] (II) GLX: Initialized DRISWRAST GL provider for screen 0\r\n[   447.496] (II) AMDGPU(0): Setting screen physical size to 338 x 270\r\n[   447.613] (II) config/devd: probing input devices...\r\n[   447.613] (II) config/devd: adding input device (null) (/dev/kbdmux)\r\n[   447.613] (II) LoadModule: \"kbd\"\r\n[   447.613] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so\r\n[   447.613] (II) Module kbd: vendor=\"X.Org Foundation\"\r\n[   447.613]    compiled for 1.18.4, module version = 1.9.0\r\n[   447.613]    Module class: X.Org XInput Driver\r\n[   447.613]    ABI class: X.Org XInput driver, version 22.1\r\n[   447.613] (II) Using input driver 'kbd' for 'kbdmux'\r\n[   447.613] (**) kbdmux: always reports core events\r\n[   447.613] (**) kbdmux: always reports core events\r\n[   447.613] (**) Option \"Protocol\" \"standard\"\r\n[   447.613] (**) Option \"XkbRules\" \"base\"\r\n[   447.613] (**) Option \"XkbModel\" \"pc105\"\r\n[   447.613] (**) Option \"XkbLayout\" \"us\"\r\n[   447.613] (**) Option \"config_info\" \"devd:kbdmux\"\r\n[   447.613] (II) XINPUT: Adding extended input device \"kbdmux\" (type: KEYBOARD, id 6)\r\n[   447.613] (II) config/devd: kbdmux is enabled, ignoring device ukbd0\r\n[   447.613] (II) config/devd: kbdmux is enabled, ignoring device atkbd0\r\n[   447.613] (II) config/devd: adding input device (null) (/dev/sysmouse)\r\n[   447.613] (II) LoadModule: \"mouse\"\r\n[   447.613] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so\r\n[   447.614] (II) Module mouse: vendor=\"X.Org Foundation\"\r\n[   447.614]    compiled for 1.18.4, module version = 1.9.2\r\n[   447.614]    Module class: X.Org XInput Driver\r\n[   447.614]    ABI class: X.Org XInput driver, version 22.1\r\n[   447.614] (II) Using input driver 'mouse' for 'sysmouse'\r\n[   447.614] (**) sysmouse: always reports core events\r\n[   447.614] (**) Option \"Device\" \"/dev/sysmouse\"\r\n[   447.614] (==) sysmouse: Protocol: \"Auto\"\r\n[   447.614] (**) sysmouse: always reports core events\r\n[   447.614] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50\r\n[   447.614] (**) sysmouse: ZAxisMapping: buttons 4 and 5\r\n[   447.614] (**) sysmouse: Buttons: 5\r\n[   447.614] (**) Option \"config_info\" \"devd:sysmouse\"\r\n[   447.614] (II) XINPUT: Adding extended input device \"sysmouse\" (type: MOUSE, id 7)\r\n[   447.614] (**) sysmouse: (accel) keeping acceleration scheme 1\r\n[   447.614] (**) sysmouse: (accel) acceleration profile 0\r\n[   447.614] (**) sysmouse: (accel) acceleration factor: 2.000\r\n[   447.614] (**) sysmouse: (accel) acceleration threshold: 4\r\n[   447.614] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0\r\n[   447.614] (II) sysmouse: SetupAuto: protocol is SysMouse\r\n[   447.614] (II) config/devd: device /dev/ums0 already opened\r\n[   504.429] (II) AMDGPU(0): EDID vendor \"STN\", prod id 40\r\n[   504.430] (II) AMDGPU(0): Using EDID range info for horizontal sync\r\n[   504.430] (II) AMDGPU(0): Using EDID range info for vertical refresh\r\n[   504.430] (II) AMDGPU(0): Printing DDC gathered Modelines:\r\n[   504.430] (II) AMDGPU(0): Modeline \"1280x1024\"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)\r\n[   504.430] (II) AMDGPU(0): Modeline \"800x600\"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"800x600\"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"640x480\"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"640x480\"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"640x480\"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"640x480\"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"720x400\"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"1280x1024\"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"1024x768\"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"1024x768\"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"1024x768\"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"832x624\"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"800x600\"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"800x600\"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)\r\n[   504.430] (II) AMDGPU(0): Modeline \"1152x864\"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)\r\n```\r\n\r\n3D support is my next test - unfortunately, with the original \"libdrm\" and \"libdevq\"-combo, it doesn't\r\ndetect the PCI busses correctly:\r\n```\r\n#env LIBGL_DEBUG=verbose glxinfo\r\nname of display: :0\r\nlibGL: Can't open configuration file /root/.drirc: No such file or directory.\r\nlibGL error: pci id for fd 4: 0000:0000, driver (null)\r\nlibGL error: No driver found\r\nlibGL error: failed to load driver: (null)\r\nlibGL error: pci id for fd 4: 0000:0000, driver (null)\r\nlibGL: OpenDriver: trying /usr/local/lib/dri/radeonsi_dri.so\r\npci id for fd 5: 0000:0000, driver (null)\r\nlibGL error: failed to create dri screen\r\nlibGL error: failed to load driver: radeonsi\r\nlibGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so\r\n```\r\n\r\nSo I've tried the not-yet-committed patch to \"libdrm\" as shown here [https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217886](url)\r\n\r\nNow it wants to load \"amdgpu_dri.so\":\r\n```\r\n#env LIBGL_DEBUG=verbose glxinfo\r\nname of display: :0\r\nlibGL: Can't open configuration file /home/nbe/.drirc: No such file or directory.\r\nlibGL error: MESA-LOADER: failed to retrieve device information\r\nlibGL: using driver amdgpu for 4\r\nlibGL: OpenDriver: trying /usr/local/lib/dri/amdgpu_dri.so\r\nlibGL: dlopen /usr/local/lib/dri/amdgpu_dri.so failed (Cannot open \"/usr/local/lib/dri/amdgpu_dri.so\")\r\nlibGL error: unable to load driver: amdgpu_dri.so\r\nlibGL error: driver pointer missing\r\nlibGL error: failed to load driver: amdgpu\r\nlibGL error: MESA-LOADER: failed to retrieve device information\r\nlibGL: using driver amdgpu for 4\r\nlibGL: OpenDriver: trying /usr/local/lib/dri/amdgpu_dri.so\r\nlibGL: dlopen /usr/local/lib/dri/amdgpu_dri.so failed (Cannot open \"/usr/local/lib/dri/amdgpu_dri.so\")\r\nlibGL error: unable to load driver: amdgpu_dri.so\r\nlibGL error: driver pointer missing\r\nlibGL error: failed to load driver: amdgpu\r\nlibGL: OpenDriver: trying /usr/local/lib/dri/swrast_dri.so\r\nlibGL: Can't open configuration file /home/nbe/.drirc: No such file or directory.\r\nlibGL: Can't open configuration file /home/nbe/.drirc: No such file or directory.\r\n```\r\n\r\nA little search for \"amdgpu_dri.so\" seems to reveal that this is the closed-source AMDGPU-Pro\r\ndriver from AMD itself. Checking the sysctl:\r\n```\r\n#sysctl hw.dri\r\nhw.dri.timestamp_precision: 20\r\nhw.dri.vblank_offdelay: 5000\r\nhw.dri.debug: 0\r\nhw.dri.0.modesetting: 1\r\nhw.dri.0.busid: pci:0000:24:00.0\r\nhw.dri.0.vblank: \r\ncrtc ref count    last     enabled inmodeset\r\n  00  00 02806189 00000001 00      00\r\n  01  01 00000000 00000000 00      01\r\n  02  01 00000000 00000000 00      01\r\n  03  01 00000000 00000000 00      01\r\n  04  01 00000000 00000000 00      01\r\nhw.dri.0.bufs: \r\nhw.dri.0.clients: \r\na dev            pid   uid      magic     ioctls\r\ny drm/0        101792     0          0          0\r\n\r\nhw.dri.0.vm: \r\nslot offset             size       type flags address            mtrr\r\n\r\nhw.dri.0.name: amdgpu 0x199 pci:0000:24:00.0\r\n```\r\n\r\nIs that intended that it wants the closed-source variant of the mesa driver or is there a mapping\r\nmissing somewhere in the loader logic?\r\n\r\n\r\n\r\nTIA and regards,\r\nNils"},"comment":{"url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/comments/290725881","html_url":"https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/134#issuecomment-290725881","issue_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/134","id":290725881,"user":{"login":"iotamudelta","id":12565466,"avatar_url":"https://avatars1.githubusercontent.com/u/12565466?v=3","gravatar_id":"","url":"https://api.github.com/users/iotamudelta","html_url":"https://github.com/iotamudelta","followers_url":"https://api.github.com/users/iotamudelta/followers","following_url":"https://api.github.com/users/iotamudelta/following{/other_user}","gists_url":"https://api.github.com/users/iotamudelta/gists{/gist_id}","starred_url":"https://api.github.com/users/iotamudelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iotamudelta/subscriptions","organizations_url":"https://api.github.com/users/iotamudelta/orgs","repos_url":"https://api.github.com/users/iotamudelta/repos","events_url":"https://api.github.com/users/iotamudelta/events{/privacy}","received_events_url":"https://api.github.com/users/iotamudelta/received_events","type":"User","site_admin":false},"created_at":"2017-03-31T14:22:56Z","updated_at":"2017-03-31T14:22:56Z","body":"True, sorry for that. I'll update that patch one of these days.\r\n\r\nNevertheless, your observations are very interesting. I haven't tried loading 3D (b/c of the the aforementioned issues) lately, so I wonder if it broke. I'll check and update this issue in a few days."}}
{"actor":{"display_login":"iotamudelta"}}