[Bug 2711] New: Via driver freezes console when compiled without XV extension

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 12 12:38:24 PST 2005


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=2711          
     
           Summary: Via driver freezes console when compiled without XV
                    extension
           Product: xorg
           Version: 6.8.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Driver/Via
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: bineteri at gmail.com


On a VIA Epia CL-6000 running Gentoo Linux, I compiled X.org v 6.8.0 without the
XV extension. Then, the console froze when exiting X. I traced the cause of the
proglem to the file named via_video.c in the VIA driver directory.

On line 83, there if a #ifndef XvExtension ... then, 2 lines down, there is a
#else preprocessor directive. If XvExtension is not defined, then 3 functions
are missing from the driver :
1) viaRestoreVideo
2) viaSaveVideo
3) viaExitVideo

This _might_ be the cause of the console freeze.

Compiling with XV enabled removes the issue. I suggest that X should not start
when this problem occurs and should display a friendly error message. The
message could read : "Cannot run X using the via driver without XV enabled. You
must recompile X.org with XV enabled to use this driver. You can use the vesa or
vga driver in the meantime."          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-bugzilla-noise mailing list