<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [915gm 3.8 regression] fullscreen games only occupy top-left quarter of screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=62944#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [915gm 3.8 regression] fullscreen games only occupy top-left quarter of screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=62944">bug 62944</a>
              from <span class="vcard"><a class="email" href="mailto:AndrzejL.PCLinuxOS@gmx.com" title="AndrzejL <AndrzejL.PCLinuxOS@gmx.com>"> <span class="fn">AndrzejL</span></a>
</span></b>
        <pre>Hi Daniel.

About the 3.9 RC kernels - I will be able to test it when it hits the ArchLinux
testing repository. Never compiled kernel from the source in my life and I know
it would take a long time on this single core celeron CPU and it would render
it useless / unusable during the process. Also my connection has a 20 gigs per
month download limit and downloading kernel source from git repository would
take a nice bite out of it. I hope it's ok.

Installed the intel-gpu-tools as asked and downgraded kernel to the working
3.7.9-2 one and rebooted:

[root@wishmacer ~]# pacman -Ss intel-gpu-tools
community/intel-gpu-tools 1.3-2
    Tools for development and testing of the Intel DRM driver
[root@wishmacer ~]# pacman -S intel-gpu-tools
resolving dependencies...
looking for inter-conflicts...

Targets (1): intel-gpu-tools-1.3-2

Total Download Size:    0.09 MiB
Total Installed Size:   0.70 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from community...
 intel-gpu-tools-1.3-2-i686                       96.6 KiB  91.1K/s 00:01
[##########################################] 100%
(1/1) checking package integrity                                         
[##########################################] 100%
(1/1) loading package files                                              
[##########################################] 100%
(1/1) checking for file conflicts                                        
[##########################################] 100%
(1/1) checking available disk space                                      
[##########################################] 100%
(1/1) installing intel-gpu-tools                                         
[##########################################] 100%
[root@wishmacer ~]# pacman -U
/media/PKG_BackUp/pkg/linux-3.7.9-2-i686.pkg.tar.xz 
loading packages...
warning: downgrading package linux (3.8.4-1 => 3.7.9-2)
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-3.7.9-2

Total Installed Size:   61.20 MiB
Net Upgrade Size:       -0.93 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                                         
[##########################################] 100%
(1/1) loading package files                                              
[##########################################] 100%
(1/1) checking for file conflicts                                        
[##########################################] 100%
(1/1) checking available disk space                                      
[##########################################] 100%
(1/1) upgrading linux                                                    
[##########################################] 100%
<span class="quote">>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...</span >
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g
/boot/initramfs-linux.img
==> Starting build: 3.7.9-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [block]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g
/boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.7.9-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [block]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
[root@wishmacer ~]# reboot

Now about the command that You asked me to test... There is a problem I
think...  Dump file comes up empty? Am I doing it wrong?

WORKING KERNEL

[andrzejl@wishmacer ~]$ uname -a
Linux wishmacer.loc 3.7.9-2-ARCH #1 SMP PREEMPT Mon Feb 25 12:29:24 CET 2013
i686 GNU/Linux
[andrzejl@wishmacer ~]$ su
Password: 
[root@wishmacer andrzejl]# sleep 30; intel_reg_dumper > dump
Gen2/3 Ranges are not supported. Please use unsafe access.Aborted (core dumped)
[root@wishmacer andrzejl]# ls --full ./dump
-rw-r--r-- 1 andrzejl users 0 2013-04-02 13:17:36.629652278 +0100 ./dump
[root@wishmacer andrzejl]# du -h ./dump
0       ./dump
[root@wishmacer andrzejl]# 

I went to the #intel-gfx channel and was told:

14:16 < AndrzejL> I was told to provide intel_req_dumper dump
14:17 < AndrzejL> but it says I need to enable the unsafe access but there is
no "--unsafe-access" like switch
14:17 < danvet> AndrzejL, have you tried the latest version from git?
14:17 < danvet> iirc we've broken a few things ...
14:24 < AndrzejL> would I compile git stuff or is there another option?
14:28 < danvet> AndrzejL, compiling from git is the preferred option

So... now I am running this version:

[andrzejl@wishmacer ~]$ su
Password: 
[root@wishmacer andrzejl]# pacman -U
/home/andrzejl/.makepkgs/intel-gpu-tools-git/intel-gpu-tools-git-20130402-1-i686.pkg.tar.xz 
loading packages...
resolving dependencies...
looking for inter-conflicts...
:: intel-gpu-tools-git and intel-gpu-tools are in conflict. Remove
intel-gpu-tools? [y/N] y

Targets (2): intel-gpu-tools-1.3-2 [removal]  intel-gpu-tools-git-20130402-1

Total Installed Size:   0.98 MiB
Net Upgrade Size:       0.28 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                                         
[##########################################] 100%
(1/1) loading package files                                              
[##########################################] 100%
(1/1) checking for file conflicts                                        
[##########################################] 100%
(2/2) checking available disk space                                      
[##########################################] 100%
(1/1) removing intel-gpu-tools                                           
[##########################################] 100%
(1/1) installing intel-gpu-tools-git                                     
[##########################################] 100%
[root@wishmacer andrzejl]# 

Which has replaced the previous version from stable repo.

It gives me the same error message:

[root@wishmacer andrzejl]# intel_reg_dumper > dump 
Gen2/3 Ranges are not supported. Please use unsafe access.Aborted (core dumped)
[root@wishmacer andrzejl]# du -h ./dump0       ./dump
[root@wishmacer andrzejl]# 

and again a 0 bytes sized dump file.

I had to modify the source code...

debug-rdata.c
intel_reg_dumper.c


- intel_register_access_init(pci_dev, 1);
+ intel_register_access_init(pci_dev, 0); 

as I read here: 

<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [i945GM regression] kernel 3.7-rc1 onwards. backlight on, screen dark after KMS kicks in during boot"
   href="show_bug.cgi?id=57365#c8">https://bugs.freedesktop.org/show_bug.cgi?id=57365#c8</a>

AND... after reinstalling the package:

[root@wishmacer andrzejl]# pacman -U
/home/andrzejl/.makepkgs/intel-gpu-tools-git/intel-gpu-tools-git-20130402-1-i686.pkg.tar.xz 
loading packages...
warning: intel-gpu-tools-git-20130402-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): intel-gpu-tools-git-20130402-1

Total Installed Size:   1.02 MiB
Net Upgrade Size:       0.04 MiB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                                         
[##########################################] 100%
(1/1) loading package files                                              
[##########################################] 100%
(1/1) checking for file conflicts                                        
[##########################################] 100%
(1/1) checking available disk space                                      
[##########################################] 100%
(1/1) upgrading intel-gpu-tools-git                                      
[##########################################] 100%

I get the exact same error...

[root@wishmacer andrzejl]# intel_reg_dumper > dump 
Gen2/3 Ranges are not supported. Please use unsafe access.Aborted (core dumped)
[root@wishmacer andrzejl]# 

I am getting frustrated... Kernel modesetting seems broken. I cannot debug it
for you coz debug tool seems broken...

Must be my lucky day...

Cheers.

Andrzej</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>