2013-07-14 47 views
1

我在Linux上运行AMD Radeon GPU,并安装了用于OpenCL(最新版本)的AMD SDK。AMD GPU仅在登录时可用

现在,当我没有通过GDM登录时(当主X服务器没有运行时),没有AMD GPU可用,所有的计算都将由CPU完成。 当我通过GDM(主运行X服务器)登录,当我列出了他们使用蟒蛇以下程序的GPU显示(仅核心部分显示):

for platform in cl.get_platforms(): 
    for device in platform.get_devices(): 
     print("===============================================================") 
     print("Platform name:", platform.name) 
     print("Platform profile:", platform.profile) 
     print("Platform vendor:", platform.vendor) 
     print("Platform version:", platform.version) 
     print("---------------------------------------------------------------") 
     print("Device name:", device.name) 
     print("Device type:", cl.device_type.to_string(device.type)) 
     print("Device memory: ", device.global_mem_size//1024//1024, 'MB') 
     print("Device max clock speed:", device.max_clock_frequency, 'MHz') 
     print("Device compute units:", device.max_compute_units) 

我的问题IST,无论是是否有可能在没有运行X服务器(fglrx)的情况下使用AMD GPU?有没有办法做到这一点?

约翰

回答

1

参见如何访问到远程登录,即使X服务器this tutorial

相关问题